GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(server): MCP clients see the descriptions on title and clientRequestId by juliusmarminge · Pull Request #35079 · pingdotgg/t3code

fix(server): MCP clients see the descriptions on title and clientRequestId #35079

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Sign up for GitHub

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
juliusmarminge wants to merge 4 commits into main
base: main
Loading
Loading
from factory/issue-35015
+65 −33
Open

fix(server): MCP clients see the descriptions on title and clientRequestId #35079

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit Hold shift + click to select a range
f651e58
test(contracts): MCP tool schemas advertise parameter descriptions
juliusmarminge Nov 12, 2026
c81f6dc
fix(server): MCP clients see the descriptions on title and clientRequ…
juliusmarminge Nov 12, 2026
53e58ec
Merge remote-tracking branch 'origin/main' into factory/issue-35015
juliusmarminge Nov 12, 2026
a4325f2
Merge remote-tracking branch 'origin/main' into factory/issue-35015
juliusmarminge Nov 12, 2026
File filter
Filter by extension

Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view
Next Next commit
test(contracts): MCP tool schemas advertise parameter descriptions
Failing tests for #35015: descriptions annotated on trimmed string
parameters are missing from the encoded JSON schema.

AI-assisted; verified with the tests and tools listed above.
  • Loading branch information

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge
juliusmarminge committed Nov 12, 2026
commit f651e5822fb5772ffd1c26ecc4e31b603892725e

There are no files selected for viewing

13 changes: 13 additions & 0 deletions 13 packages/contracts/src/orchestratorMcp.test.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import * as Schema from "effect/Schema";
import {
OrchestratorMcpDelegateTaskInput,
OrchestratorMcpDelegateTaskResult,
OrchestratorMcpThreadSendInput,
} from "./orchestratorMcp.ts";

const decodeDelegateTaskInput = Schema.decodeUnknownSync(OrchestratorMcpDelegateTaskInput);
Expand Down Expand Up @@ -66,4 +67,16 @@ describe("orchestrator MCP contracts", () => {
}),
).toThrow();
});

it.each([OrchestratorMcpDelegateTaskInput, OrchestratorMcpThreadSendInput])(
"advertises the clientRequestId description in the encoded JSON schema",
(input) => {
const { properties } = Schema.toJsonSchemaDocument(input).schema as {
properties: Record<string, { description?: string }>;
};
expect(properties.clientRequestId?.description).toBe(
"Reuse it to retry the same call. A new call gets a new key.",
);
},
);
});
14 changes: 14 additions & 0 deletions 14 packages/contracts/src/threadMetadataMcp.test.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,18 @@ describe("ThreadMetadataMcpUpdateInput", () => {
decodeUpdate({ action: "regenerate_title", clientRequestId: "metadata-\udc00" }),
);
});

it("advertises its parameter descriptions in the encoded JSON schema", () => {
const { properties } = Schema.toJsonSchemaDocument(ThreadMetadataMcpUpdateInput).schema as {
properties: Record<string, { description?: string }>;
};
assert.equal(
properties.title?.description,
"New concise display title. Required only when action is rename.",
);
assert.equal(
properties.clientRequestId?.description,
"Stable idempotency key to reuse when retrying this mutation.",
);
});
});
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.