From 28982cb142cd5dc25641fc8c8e193bda8825efe7 Mon Sep 17 00:00:00 2001 From: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com> Date: Fri, 20 Nov 2026 14:34:30 -0800 Subject: [PATCH] chore(server): PR tool descriptions stop steering away from gh and cafe Co-Authored-By: Claude Opus 5.5 --- apps/server/src/mcp/toolkits/pullRequests/tools.ts | 5 ++--- apps/server/src/provider/agentContextBudget.json | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/server/src/mcp/toolkits/pullRequests/tools.ts b/apps/server/src/mcp/toolkits/pullRequests/tools.ts index 0b5dad39da07a..7fd39b1cb3b8f 100644 --- a/apps/server/src/mcp/toolkits/pullRequests/tools.ts +++ b/apps/server/src/mcp/toolkits/pullRequests/tools.ts @@ -609,7 +609,7 @@ export const MergePullRequestResult = Schema.Struct({ export type MergePullRequestResult = typeof MergePullRequestResult.Type; const ReadPullRequestTool = Tool.make("pull_request_read", { - description: "Read a PR's state, checks, review comments, or diff. Use instead of gh or cafe.", + description: "Read a PR's state, checks, review comments, or diff.", parameters: Schema.Struct({ ...ThreadPullRequestInput.fields, sections: Schema.optional( @@ -811,8 +811,7 @@ export const RerunChecksResult = Schema.Struct({ export type RerunChecksResult = typeof RerunChecksResult.Type; const CheckLogsTool = Tool.make("ci_logs", { - description: - "Read the tail of a PR's failing check logs, or one named check's. Use instead of gh run view.", + description: "Read the tail of a PR's failing check logs, or one named check's.", parameters: Schema.Struct({ ...ThreadPullRequestInput.fields, check: Schema.optional(TrimmedNonEmptyString), diff --git a/apps/server/src/provider/agentContextBudget.json b/apps/server/src/provider/agentContextBudget.json index 028cd6cdf1fdf..badd1ced35824 100644 --- a/apps/server/src/provider/agentContextBudget.json +++ b/apps/server/src/provider/agentContextBudget.json @@ -1,5 +1,5 @@ { "claudeSystemAppendBytes": 6245, "codexAdditionalContextBytes": 7639, - "mcpToolListJsonBytes": 57751 + "mcpToolListJsonBytes": 57696 }