@cyanheads/mcp-ts-core 0.13.13 → 0.13.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/AGENTS.md +4 -4
  2. package/CLAUDE.md +4 -4
  3. package/README.md +1 -1
  4. package/changelog/0.13.x/0.13.14.md +68 -0
  5. package/dist/core/app.d.ts +4 -3
  6. package/dist/core/app.d.ts.map +1 -1
  7. package/dist/core/app.js.map +1 -1
  8. package/dist/mcp-server/prompts/prompt-registration.d.ts.map +1 -1
  9. package/dist/mcp-server/prompts/prompt-registration.js +12 -5
  10. package/dist/mcp-server/prompts/prompt-registration.js.map +1 -1
  11. package/dist/mcp-server/prompts/utils/promptDefinition.d.ts +4 -1
  12. package/dist/mcp-server/prompts/utils/promptDefinition.d.ts.map +1 -1
  13. package/dist/mcp-server/prompts/utils/promptDefinition.js.map +1 -1
  14. package/dist/mcp-server/tools/utils/inputPrevalidation.d.ts +309 -26
  15. package/dist/mcp-server/tools/utils/inputPrevalidation.d.ts.map +1 -1
  16. package/dist/mcp-server/tools/utils/inputPrevalidation.js +870 -106
  17. package/dist/mcp-server/tools/utils/inputPrevalidation.js.map +1 -1
  18. package/dist/mcp-server/tools/utils/schemaShape.d.ts +127 -5
  19. package/dist/mcp-server/tools/utils/schemaShape.d.ts.map +1 -1
  20. package/dist/mcp-server/tools/utils/schemaShape.js +432 -4
  21. package/dist/mcp-server/tools/utils/schemaShape.js.map +1 -1
  22. package/dist/mcp-server/tools/utils/toolDefinition.d.ts +7 -3
  23. package/dist/mcp-server/tools/utils/toolDefinition.d.ts.map +1 -1
  24. package/dist/mcp-server/tools/utils/toolDefinition.js.map +1 -1
  25. package/dist/mcp-server/tools/utils/toolHandlerFactory.d.ts +47 -23
  26. package/dist/mcp-server/tools/utils/toolHandlerFactory.d.ts.map +1 -1
  27. package/dist/mcp-server/tools/utils/toolHandlerFactory.js +777 -236
  28. package/dist/mcp-server/tools/utils/toolHandlerFactory.js.map +1 -1
  29. package/dist/utils/telemetry/attributes.d.ts +3 -2
  30. package/dist/utils/telemetry/attributes.d.ts.map +1 -1
  31. package/dist/utils/telemetry/attributes.js +3 -2
  32. package/dist/utils/telemetry/attributes.js.map +1 -1
  33. package/framework-skills/add-tool/SKILL.md +15 -7
  34. package/framework-skills/api-errors/SKILL.md +8 -8
  35. package/framework-skills/api-telemetry/SKILL.md +4 -4
  36. package/framework-skills/api-testing/SKILL.md +2 -2
  37. package/framework-skills/design-mcp-server/SKILL.md +3 -2
  38. package/framework-skills/field-test/SKILL.md +3 -2
  39. package/package.json +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"toolHandlerFactory.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/utils/toolHandlerFactory.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AASH,OAAO,EAAiE,CAAC,EAAE,MAAM,KAAK,CAAC;AAEvF,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAClG,OAAO,EACL,mBAAmB,EAEnB,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,gCAAgC,EAEhC,qBAAqB,EACrB,UAAU,GACX,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AACnG,OAAO,EAGL,aAAa,EACb,gBAAgB,EAChB,QAAQ,GACT,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,gDAAgD,CAAC;AAClG,OAAO,EACL,UAAU,EACV,aAAa,EACb,iBAAiB,GAClB,MAAM,2CA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gBAClC,iBAAiB,CAAC,QAAQ,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;YACpF,CAAC;YACD,OAAO,MAAM,CAAC;QAChB,CAAC;IACH,CAAC,CAAC;AACJ,CAAC;AAED;;;;;;;;;;GAUG;AACH,SAAS,iBAAiB,CACxB,GAA8B,EAC9B,QAAgB,EAChB,OAAuB,EACvB,KAAc,EACd,MAAsB,EACtB,QAA2C;IAE3C,MAAM,EAAE,IAAI,EAAE,GAAI,MAAM,CAAC,iBAA2D,CAAC,KAAK,CAAC;IAC3F,IAAI,IAAI,KAAK,gBAAgB,CAAC,gBAAgB;QAAE,OAAO;IAEvD,MAAM,QAAQ,GAAG,MAAM,CAAC,6BAA6B,CAAC;IACtD,MAAM,SAAS,GAAG,YAAY,CAAC,mBAAmB,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;IACpE,MAAM,UAAU,GAAG,YAAY,CAAC,mBAAmB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IACtE,GAAG,CAAC,QAAQ,IAAI,OAAO,CAAC,CACtB,yBAAyB,QAAQ,EAAE,EACnC,SAAS,CAAC,OAAO,EAAE;QACjB,SAAS,EAAE,SAAS,CAAC,IAAI;QACzB,kBAAkB,EAAE,SAAS,CAAC,SAAS;QACvC,UAAU,EAAE,UAAU,CAAC,IAAI;QAC3B,mBAAmB,EAAE,UAAU,CAAC,SAAS;KAC1C,CAAC,CACH,CAAC;AACJ,CAAC"}
@@ -68,8 +68,9 @@ export declare const ATTR_MCP_INPUT_TARGET = "mcp.input.target";
68
68
  export declare const ATTR_MCP_INPUT_ALIAS_KIND = "mcp.input.alias_kind";
69
69
  /**
70
70
  * Which representation repair earned validity: `stringified_array`,
71
- * `stringified_object`, or `integer_as_string`. A call that needed several
72
- * kinds counts once under each.
71
+ * `stringified_object`, `integer_as_string`, `string_as_number`,
72
+ * `string_as_boolean`, `string_as_array`, or `null_as_absent`. A call that
73
+ * needed several kinds counts once under each.
73
74
  */
74
75
  export declare const ATTR_MCP_INPUT_COERCION = "mcp.input.coercion";
75
76
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"attributes.d.ts","sourceRoot":"","sources":["../../../src/utils/telemetry/attributes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,uBAAuB,CAAC;AAE5D,iGAAiG;AACjG,eAAO,MAAM,mBAAmB,mBAAmB,CAAC;AAMpD;;GAEG;AACH,eAAO,MAAM,kBAAkB,kBAAkB,CAAC;AAElD,0DAA0D;AAC1D,eAAO,MAAM,yBAAyB,yBAAyB,CAAC;AAEhE,wDAAwD;AACxD,eAAO,MAAM,0BAA0B,0BAA0B,CAAC;AAElE,yEAAyE;AACzE,eAAO,MAAM,yBAAyB,yBAAyB,CAAC;AAEhE;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,qBAAqB,CAAC;AAExD;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,4BAA4B,CAAC;AAEtE;;;GAGG;AACH,eAAO,MAAM,wBAAwB,wBAAwB,CAAC;AAE9D,yGAAyG;AACzG,eAAO,MAAM,4BAA4B,4BAA4B,CAAC;AAEtE;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,qBAAqB,CAAC;AAExD,iGAAiG;AACjG,eAAO,MAAM,6BAA6B,6BAA6B,CAAC;AAExE,sFAAsF;AACtF,eAAO,MAAM,sBAAsB,sBAAsB,CAAC;AAE1D,uEAAuE;AACvE,eAAO,MAAM,6BAA6B,mCAAmC,CAAC;AAE9E,oEAAoE;AACpE,eAAO,MAAM,0BAA0B,gCAAgC,CAAC;AAYxE;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,0BAA0B,CAAC;AAElE,uFAAuF;AACvF,eAAO,MAAM,qBAAqB,qBAAqB,CAAC;AAExD,uEAAuE;AACvE,eAAO,MAAM,yBAAyB,yBAAyB,CAAC;AAE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;AAE5D;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,uBAAuB,CAAC"}
@@ -82,8 +82,9 @@ export const ATTR_MCP_INPUT_TARGET = 'mcp.input.target';
82
82
  export const ATTR_MCP_INPUT_ALIAS_KIND = 'mcp.input.alias_kind';
83
83
  /**
84
84
  * Which representation repair earned validity: `stringified_array`,
85
- * `stringified_object`, or `integer_as_string`. A call that needed several
86
- * kinds counts once under each.
85
+ * `stringified_object`, `integer_as_string`, `string_as_number`,
86
+ * `string_as_boolean`, `string_as_array`, or `null_as_absent`. A call that
87
+ * needed several kinds counts once under each.
87
88
  */
88
89
  export const ATTR_MCP_INPUT_COERCION = 'mcp.input.coercion';
89
90
  // ============================================================================
@@ -1 +1 @@
1
- {"version":3,"file":"attributes.js","sourceRoot":"","sources":["../../../src/utils/telemetry/attributes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,+EAA+E;AAC/E,yDAAyD;AACzD,+EAA+E;AAE/E;;;;GAIG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,oBAAoB,CAAC;AAE5D,iGAAiG;AACjG,MAAM,CAAC,MAAM,mBAAmB,GAAG,gBAAgB,CAAC;AAEpD,+EAA+E;AAC/E,gCAAgC;AAChC,+EAA+E;AAE/E;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,eAAe,CAAC;AAElD,0DAA0D;AAC1D,MAAM,CAAC,MAAM,yBAAyB,GAAG,sBAAsB,CAAC;AAEhE,wDAAwD;AACxD,MAAM,CAAC,MAAM,0BAA0B,GAAG,uBAAuB,CAAC;AAElE,yEAAyE;AACzE,MAAM,CAAC,MAAM,yBAAyB,GAAG,sBAAsB,CAAC;AAEhE;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,kBAAkB,CAAC;AAExD;;;;GAIG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,yBAAyB,CAAC;AAEtE;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,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CAAC"}
@@ -4,7 +4,7 @@ description: >
4
4
  Scaffold a new MCP tool definition. Use when the user asks to add a tool, create a new tool, or implement a new capability for the server.
5
5
  metadata:
6
6
  author: cyanheads
7
- version: "2.33"
7
+ version: "2.34"
8
8
  audience: external
9
9
  type: reference
10
10
  ---
@@ -278,7 +278,7 @@ Two limits worth knowing when you write a schema:
278
278
 
279
279
  ### Three things the framework fixes before the schema sees the arguments
280
280
 
281
- Strict input is right for a misspelling the caller can fix, and wrong when the arguments the model wrote were correct and something between the model and the schema was not. An ordered step inside `parseToolArguments` covers those cases: **drop client-added keys → key aliases → parse → on failure, repair and one re-parse**, plus one alias-first retry when that still fails and the drop discarded a key (below). All three stages are on by default and none changes what `tools/list` advertises. A call they rescue carries nothing about them in its response — each change in the attempt your handler receives emits a debug log and a counter (`mcp.input.ignored_key`, `mcp.input.aliased`, `mcp.input.coerced`) instead, so a new client artifact surfaces in telemetry rather than as a failed call. A call they cannot rescue is rejected with the first order's rewrites and underscore-rule drops reported, as `data.input` and as closing hint sentences (`Validated query as targetQuery.`, `Dropped undeclared key _max.`), because the issues name only the keys that were validated and the caller could not otherwise tell a bad value from a moved or discarded key.
281
+ Strict input is right for a misspelling the caller can fix, and wrong when the arguments the model wrote were correct and something between the model and the schema was not. An ordered step inside `parseToolArguments` covers those cases: **drop client-added keys → key aliases → parse → on failure, repair and one re-parse**, plus one alias-first retry when that still fails and the drop discarded a key (below). All three stages are on by default and none changes what `tools/list` advertises. A call they rescue carries nothing about them in its response — each change in the attempt your handler receives emits a debug log and a counter (`mcp.input.ignored_key`, `mcp.input.aliased`, `mcp.input.coerced`) instead, so a new client artifact surfaces in telemetry rather than as a failed call. A call they cannot rescue is rejected with the rewrites and underscore-rule drops of the order whose rejection it carries reported, as `data.input` and as closing hint sentences (`Validated query as targetQuery.`, `Dropped undeclared key _max.`), because the issues name only the keys that were validated and the caller could not otherwise tell a bad value from a moved or discarded key. Its issues name only what still fails once the repairs that held are applied (point 3).
282
282
 
283
283
  **1. Client-added root keys are dropped.** Some clients put their own keys inside `arguments`: a placeholder when the model sends none, a call description, a call id, or a `_meta` block that belongs on `params`. The model never wrote them and cannot remove them, so the retry fails identically. An undeclared root key is dropped when it is underscore-prefixed or on the built-in list (`_meta`, `tool_call_description`, `toolCallId`). Three boundaries: a declared key is never dropped (on a union root, that means every variant's keys); an author-opened root is left alone; and a tool declaring any underscore-prefixed key of its own switches the underscore rule off — otherwise a misspelled `_cursor` would vanish silently, which is the failure strict input exists to prevent.
284
284
 
@@ -294,11 +294,19 @@ export const drugProfile = tool('drug_profile', {
294
294
 
295
295
  Alongside those, an undeclared key whose case-folded form (`-`/`_` stripped, lowercased) names exactly one declared key is rewritten too — `max_results`, `Max-Results`, and `MAXRESULTS` all reach a declared `maxResults`, with nothing declared. Neither half advertises anything: `inputSchema` is byte-identical with or without `inputAliases`, so the canonical key keeps its place in `required` and the model is still told to use it.
296
296
 
297
- Declare an alias where the meaning is certain and the mapping is one-to-one — a sibling tool's spelling for the same concept, the upstream API's own name, a shorthand weaker models reach for. It is not fuzzy matching: a key matching no alias and no declared key is still rejected by name, with the accepted-key hint. Four boundaries: a rewrite applies only when the target key is absent (alias *and* target present fails exactly as it does today); an author-opened root is never rewritten; a union root resolves against the variant the discriminator selects, and rewrites nothing when the discriminator is absent or unrecognized; and a `headerParam`-designated target is never rewritten *to* — the SDK cross-checks the `Mcp-Param-<Name>` header against the raw body before dispatch, so a later rewrite would hand your handler a value no intermediary attested. `lint:mcp` rejects an alias that shadows a declared key, names a target that does not exist or is `headerParam`-designated, or is ambiguous against another alias or key (`input-alias-conflict`).
297
+ Declare an alias where the meaning is certain and the mapping is one-to-one — a sibling tool's spelling for the same concept, the upstream API's own name, a shorthand weaker models reach for. It is not fuzzy matching: a key matching no alias and no declared key is still rejected by name, with the accepted-key hint. Four boundaries: a rewrite applies only when the target key is absent (alias *and* target present is rejected, and the hint names the alias as one rather than as an unknown key: `drug_name is an alias of drug; send one of them, not both.`, or `send only one of them.` when three or more keys for one target arrive; an `_`-prefixed alias the drop discards is the exception, below); an author-opened root is never rewritten; a union root resolves against the variant the discriminator selects, and rewrites nothing when the discriminator is absent or unrecognized; and a `headerParam`-designated target is never rewritten *to* — the SDK cross-checks the `Mcp-Param-<Name>` header against the raw body before dispatch, so a later rewrite would hand your handler a value no intermediary attested. `lint:mcp` rejects an alias that shadows a declared key, names a target that does not exist or is `headerParam`-designated, or is ambiguous against another alias or key (`input-alias-conflict`).
298
298
 
299
- **3. A stringified array or object, or an integer sent for a string, is repaired after the parse fails.** `statusFilter: "[\"RECRUITING\"]"` against `z.array(z.string())`, or `target: "{\"type\":\"path\",\"path\":\"a.md\"}"` against an object or discriminated-union field, is a serialization slip the server can undo with certainty — `JSON.parse` is the exact inverse of the `JSON.stringify` that produced it. So is `station_id: 8654467` against `z.string()`: `String(n)` of a safe integer is the digits the caller sent. That certainty is what separates a repair from the nearest-key guessing strict input refuses. The repair runs *only* on the failure branch, *only* at the paths the rejection's own issues name, once — a value one repair produced is never repaired again, and a number inside one branch of a union field stays as sent — and is kept only if the repaired arguments then pass your schema. So it cannot touch a value that was already valid: a free-text field legitimately holding `"[1,2,3]"` or `"{…}"` is not in the issue list, so it survives untouched even when the same call carries a genuine stringified value in another field. The integer repair is gated further, to issues that say the value failed for being a number (a wrong type, a string-only enum, a union every branch of which refused the type): `-1` against `z.union([z.number().int().positive(), z.string()])` keeps its rejection instead of slipping past your constraint through the string branch, and `-0`, a fraction, or an integer past `Number.MAX_SAFE_INTEGER` is never repaired. Your schema still decides the repaired string — `20260922` against `z.iso.date()` stays rejected. It walks values only: no key is added, dropped, or renamed. When nothing validates, the original rejection is thrown — exactly what the same call gets under `coerce: false`.
299
+ **3. A representation slip in a value is repaired after the parse fails.** Each repair undoes a slip the server can reverse with certainty, which is what separates a repair from the nearest-key guessing strict input refuses:
300
300
 
301
- **When the drop took a key the alias stage wanted.** The drop runs first, so it also discards an underscore spelling of a declared key (`_query` for `query`), a declared `inputAliases: { _q: 'query' }`, and an ignore-listed key a declared alias names. If the call then fails, repair included, the step reruns both stages with the alias stage first, where those keys are rewritten instead, and keeps that retry only if it validates, again with its own repair. The retry never case-folds an ignore-listed key onto a declared one (`_meta` stays the client's even beside a declared `meta`), and still drops an underscore key it cannot resolve. It never changes which calls validate: `{ query: 'abc', _max_results: '12345' }` against an optional `maxResults: z.number()` validates with `_max_results` dropped, so the retry never runs. A call neither order validates gets the retry's rejection, which describes the arguments as the caller meant them: `{ _q: 'ab' }` against `query: z.string().min(3)` reports the too-short `query` and closes `Validated _q as query.`, not a missing `query` beside a dropped `_q`.
301
+ - **A JSON-stringified array or object** — `statusFilter: "[\"RECRUITING\"]"` against `z.array(z.string())`, `target: "{\"type\":\"path\",\"path\":\"a.md\"}"` against an object or discriminated-union field — is parsed back: `JSON.parse` is the exact inverse of the `JSON.stringify` that produced it. A string whose trimmed form opens `[` or `{` is only ever read this way, even when it does not parse.
302
+ - **A safe integer sent for a string** — `station_id: 8654467` against `z.string()` — becomes `"8654467"`: `String(n)` of a safe integer is the digits the caller sent.
303
+ - **A string spelling a number or boolean where only those are accepted** — `maxResults: "15"` against `z.number()`, `includeMesh: "true"` against `z.boolean()` — becomes the one it spells. A number only when `String(n)` gives the trimmed string back (`"15"`, `"2.5"`, `"-3"`, `" 15 "`; never `"01"`, `"1e3"`, `"1.50"`, `"0x10"`, or a blank), a boolean only from `"true"` or `"false"`.
304
+ - **A lone string sent for an array** — `parkCode: "yell"` against `z.array(z.string())` — becomes its only element, as sent. Never a blank string, and never one holding a comma or a line break: that may be a joined list, and splitting it is yours (below).
305
+ - **`null` at an optional key** — `sort: null` against `z.enum([…]).optional()` — is deleted, so the field reads as unset and a `.default()` applies. Only at a key its enclosing `z.object()` declares, whose field refuses `null` and accepts `undefined`: a required field's `null`, a `z.record()` entry, a key under a catchall, and an array element keep their rejection, and a `.nullable()` field receives its `null`.
306
+
307
+ The repair runs *only* on the failure branch, *only* at the paths the rejection's own issues name, once — a value one repair produced is never repaired again (`"2024"` against `z.array(z.number())` would need the wrap and then the number repair, so it stays rejected) — and is kept only if the repaired arguments then pass your schema. A stringified value or an integer at a path Zod's own issues name is tried first, written where the caller sent it, so `codes: "[\"USD\"]"` against a union of a code list and a string your transform splits on commas reaches your handler as `["USD"]` — beside a `count: "3"` sent for a number too, since that repair stays in place beside the ones that follow. Beyond that, the paths are the ones the rejection renders, so they reach inside a union field's one surviving branch exactly as the hint does: `ids: [123, "a"]` against `z.union([z.string(), z.array(z.string())])` reaches your handler as `["123", "a"]`, and a literal-tagged branch is repaired where its tag matches, as long as every other branch fails on its tag alone — one that also lacks a required field of its own leaves the union as sent. A tag no variant accepts is read as a field holding every variant's tag: `{ kind: "1" }` against variants tagged `z.literal(1)` and `z.literal(2)`, in a `z.discriminatedUnion()` or a plain union of tagged objects, reaches your handler as `{ kind: 1 }`, as does any field every branch of a plain union lists the values of. The gates below apply there as at any field, so `"01"`, `"3"`, or `"1"` beside a string-tagged variant keeps its rejection, and since the repaired tag selects a variant your schema never parsed, a second slip inside that variant is reported, not repaired with it. They also reach inside what a `z.preprocess()` made of a value: `items: { name: "abc", year: 2020 }` against a preprocess that wraps a lone object as a list reaches your handler as `[{ name: "abc", year: "2020" }]`. The repair is first written in place, at the issue path in the arguments as sent, and kept when your schema then accepts the call, so `[1, 2]` against a preprocess that reverses a list reaches your handler as `["2", "1"]`. Otherwise it is written into the preprocess's output, and that output replaces the argument only when your preprocess, applied to it, returns it unchanged — an equal copy counts; one that reorders it or rewrites a value in it keeps the call's rejection. When two branches fail inside the value (`[123]` against `z.union([z.array(z.string()), z.array(z.boolean())])`), neither is read, and a branch that takes a number at that path is reported as its own check, which no repair takes. So it cannot touch a value that was already valid: a free-text field legitimately holding `"[1,2,3]"` or `"{…}"` is not in the issue list, so it survives untouched even when the same call carries a genuine stringified value in another field. The scalar repairs are gated further, to issues that say the value failed for its type where the other reading is the only one. An integer becomes a string only where the issue refuses a number (a wrong type, a string-only enum, a union every branch of which refused the type): `-1` against `z.union([z.number().int().positive(), z.string()])` keeps its rejection instead of slipping past your constraint through the string branch, and `-0`, a fraction, or an integer past `Number.MAX_SAFE_INTEGER` is never repaired. A string becomes a number or boolean only where the field takes no string and no array: `"15"` against `z.union([z.number(), z.literal('auto')])` is a wrong string, not a number, and stays rejected. Neither that nor the list wrap applies at a field you route through `.transform()`, `.pipe()`, or `z.preprocess()`, nor at a key that another reading of the path routes that way — an option of a plain union, either side of an intersection, or a branch whose own tag the caller sent wrong: its rejection can describe your transform's output, so a name your lookup lacks stays rejected instead of becoming ID 15. Inside a union branch the gates read a value as a plain union of the branches would: `{ v: 6 }` against `z.union([z.object({ v: z.literal(5) }), z.object({ v: z.string() })])` stays rejected, as `6` against `z.union([z.literal(5), z.string()])` does. Your schema still decides the repaired value — `20260922` against `z.iso.date()` and `"0"` against `z.number().int().min(1)` stay rejected. Apart from a deleted `null`, no key is added, dropped, or renamed. When nothing validates, the rejection is a parse of the arguments with only the repairs that held applied — those no remaining issue sits at or below. A value your schema accepted once repaired is not reported: fourteen integer PMIDs against `z.array(z.string().regex(/^\d+$/)).max(10)` report only `pmids: Too big: expected array to have <=10 items`, not fourteen `Send pmids.N as a string` sentences ahead of it. The exception is a value that held only written in place under a preprocess that reorders or rewrites it: `[1, 2]` under the reversing one, beside a field that still fails, is reported as sent, since the issues name positions in the preprocess's output. A value whose repair your schema refused is reported as sent, so a call no repair helped gets exactly what it gets under `coerce: false` — as does one the held repairs alone would validate (only a union or a cross-field refinement allows that), held values included — and the rejection never mentions a repair.
308
+
309
+ **When the drop took a key the alias stage wanted.** The drop runs first, so it also discards an underscore spelling of a declared key (`_query` for `query`), a declared `inputAliases: { _q: 'query' }`, and an ignore-listed key a declared alias names. If the call then fails, repair included, the step reruns both stages with the alias stage first, where those keys are rewritten instead, and keeps that retry only if it validates, again with its own repair. The retry never case-folds an ignore-listed key onto a declared one (`_meta` stays the client's even beside a declared `meta`), and still drops an underscore key it cannot resolve. It never changes which calls validate: `{ query: 'abc', _max_results: '12345' }` against an optional `maxResults: z.number()` validates with `_max_results` dropped, so the retry never runs. A call neither order validates gets the retry's rejection, which describes the arguments as the caller meant them: `{ _q: 'ab' }` against `query: z.string().min(3)` reports the too-short `query` and closes `Validated _q as query.`, not a missing `query` beside a dropped `_q`. A `_q` sent beside `query` is still dropped, and when the call fails on something else the hint names it as `_q is an alias of query; send one of them, not both.`, not as a dropped key.
302
310
 
303
311
  Turn any stage off per server — there is no per-tool switch:
304
312
 
@@ -313,7 +321,7 @@ await createApp({
313
321
  });
314
322
  ```
315
323
 
316
- Those three stages are the whole of the framework's input edge: argument **key** names, and three **value** shapes — a JSON-stringified array or object, which `JSON.parse` inverts with certainty, and a safe integer sent for a string, whose digits `String(n)` restores. Every other value normalization is domain knowledge and belongs to the tool: the case or bare-leaf form of a code, a unit or vocabulary alias, a composite identifier assembled from two arguments, a delimiter-joined list, a spelled-out name. Which variants a given input accepts is decided per input at design time (`design-mcp-server` § *Parameter descriptions*) and applied at the head of the handler, on the unambiguous mappings only.
324
+ Those three stages are the whole of the framework's input edge: argument **key** names, and the **value** shapes above — a JSON-stringified array or object, which `JSON.parse` inverts with certainty; a safe integer sent for a string, whose digits `String(n)` restores; a number or boolean sent as the string `String(n)` or `"true"`/`"false"` writes; a lone string sent for a list; and `null` sent for an optional field. Every other value normalization is domain knowledge and belongs to the tool: the case or bare-leaf form of a code, a unit or vocabulary alias, a composite identifier assembled from two arguments, a delimiter-joined list, a spelled-out name. Which variants a given input accepts is decided per input at design time (`design-mcp-server` § *Parameter descriptions*) and applied at the head of the handler, on the unambiguous mappings only.
317
325
 
318
326
  ### Multi-mode tools take a discriminated-union input
319
327
 
@@ -822,7 +830,7 @@ input: z.object({
822
830
  }),
823
831
  ```
824
832
 
825
- `toJSONSchema` emits only the inner schema for a preprocess pipe in both `io` modes, so the advertised `pattern` is unchanged; `''` parses to `undefined`, a real value still hits the validator, and a handler that tests the value (`input.d1 ?? default`, `if (input.d1)`) needs no extra guard. The key itself stays present (`'d1' in input` is `true`), so never test for the key or spread `input` into an upstream query. Because the advertised pattern still rejects `''`, keep the blank out of the `.describe()` text: "an empty string means unset" contradicts the schema a validating client reads. The blank is tolerated for form clients, not offered as input.
833
+ `toJSONSchema` emits only the inner schema for a preprocess pipe in both `io` modes, so the advertised `pattern` is unchanged; `''` parses to `undefined`, a real value still hits the validator, and a handler that tests the value (`input.d1 ?? default`, `if (input.d1)`) needs no extra guard. The key itself stays present (`'d1' in input` is `true`), so never test for the key or spread `input` into an upstream query. Because the advertised pattern still rejects `''`, keep the blank out of the `.describe()` text: "an empty string means unset" contradicts the schema a validating client reads. The blank is tolerated for form clients, not offered as input. The same holds for any spelling a preprocess normalizes — a `recid:` prefix, a case variant, a URL form: the advertised check states the canonical form, so the description offers only that form, or the check is widened to match what the description offers.
826
834
 
827
835
  **Required fields are different.** If a string field is required and must be non-empty to be meaningful, `.min(1)` is correct — the client shouldn't have submitted the form without filling it in.
828
836
 
@@ -4,7 +4,7 @@ description: >
4
4
  McpError constructor, JsonRpcErrorCode reference, and error handling patterns for `@cyanheads/mcp-ts-core`. Use when looking up error codes, understanding where errors should be thrown vs. caught, or using ErrorHandler.tryCatch in services.
5
5
  metadata:
6
6
  author: cyanheads
7
- version: "1.21"
7
+ version: "1.22"
8
8
  audience: external
9
9
  type: reference
10
10
  ---
@@ -141,7 +141,7 @@ Values are the logger's own level names below `error` — `debug`, `info`, `noti
141
141
 
142
142
  **Tools only.** Resolution happens in the tool handler factory, against the thrown error's `data.reason` — the same reason-to-entry lookup that fills `data.recovery`. Resources declare `errors[]` but write no failure record, so the field is accepted there and inert. A reason thrown below the handler that the contract never declared, an entry with no `severity`, and a non-`McpError` throw all keep `error`. A cancelled request keeps its own `info`, stack-free path regardless.
143
143
 
144
- **The framework's own refusals log at `notice`.** An argument rejection (`invalid_arguments`, raised only by the schema gate before the handler runs), a `ctx.requestInput` the connection cannot serve (`client_capability_missing`), and a missing-scope refusal (the `Forbidden` the inline `auth` check or `checkScopes` throws) are routine caller or connection traffic, not server faults, so their `Error in tool:<name>` record — and the failure-payload record when `LOG_TOOL_FAILURE_PAYLOADS=true` — is emitted at `notice`, and `mcp.errors.classified` counts them with `mcp.error.severity: "notice"`. Nothing to declare; an `errors[]` entry naming `invalid_arguments` or `client_capability_missing` with its own `severity` still wins, while a missing-scope refusal carries no `data.reason`, so its level is fixed. That refusal is recognized by where it was raised, never by its code: a handler's own `forbidden()`, an upstream 403 mapped by `httpErrorFromResponse`, and a missing auth context (`Unauthorized`) keep `error` and the stack. All three records log no stack, whatever level an entry declares, and an argument rejection's record is bounded whatever the caller sends: the message, `recovery.hint`, each issue's `message`, each `data.input` key, and every other string keep at most their first 1,024 characters and every array its first 10 entries, with the uncut length or count beside each cut (`originalMessageLength`, `<field>Length`, `<field>Count`, `<field>Lengths`). The wire envelope and `mcp.tool.rejections` are unchanged — the `-32602` result still carries every key and issue whole — and a schema that wrongly rejects valid calls still shows per tool on `mcp.tool.rejections`.
144
+ **The framework's own refusals log at `notice`.** An argument rejection (`invalid_arguments`, raised only by the schema gate before the handler runs), a `ctx.requestInput` the connection cannot serve (`client_capability_missing`), and a missing-scope refusal (the `Forbidden` the inline `auth` check or `checkScopes` throws) are routine caller or connection traffic, not server faults, so their `Error in tool:<name>` record — and the failure-payload record when `LOG_TOOL_FAILURE_PAYLOADS=true` — is emitted at `notice`, and `mcp.errors.classified` counts them with `mcp.error.severity: "notice"`. Nothing to declare; an `errors[]` entry naming `invalid_arguments` or `client_capability_missing` with its own `severity` still wins, while a missing-scope refusal carries no `data.reason`, so its level is fixed. That refusal is recognized by where it was raised, never by its code: a handler's own `forbidden()`, an upstream 403 mapped by `httpErrorFromResponse`, and a missing auth context (`Unauthorized`) keep `error` and the stack. All three records log no stack, whatever level an entry declares, and an argument rejection's record is bounded whatever the caller sends: the message, `recovery.hint`, each issue's `message`, each `data.input` key, and every other string and key keep at most their first 1,024 characters, every array its first 10 entries, and every object its first 10 keys, with the uncut length or count beside each cut (`originalMessageLength`, `<field>Length`, `<field>KeyLength`, `<field>Count`, `<field>Lengths`). The `-32602` result is bounded the same way (see `invalid_arguments` below), so the record cuts only its message and hint further. `mcp.tool.rejections` is unchanged, and a schema that wrongly rejects valid calls still shows per tool on it.
145
145
 
146
146
  **Skip the contract** for one-off internal tools or quick prototypes — `ctx` is plain `Context` (no `fail`) and you throw via [factories](#error-factories-fallback) directly. Behavior is identical at the wire; the contract just adds compile-time safety.
147
147
 
@@ -409,15 +409,15 @@ Important properties:
409
409
  - **`data` propagation is restricted** to explicitly-thrown `McpError.data`, `ZodError.issues`, and the request id. Auto-classified plain errors (`TypeError`, network errors, etc.) emit `code`, `message`, and `data: { requestId }` only, so internal classification context never leaks to clients.
410
410
  - **`data.requestId` names the request.** The framework sets it on every error envelope it builds — a tool result (handler throws, argument rejections, auth refusals, output-contract failures), a failed resource read, a failed prompt, and the JSON-RPC errors `httpErrorHandler` returns — to the `requestId` that call's log records carry. It is always a generated `XXXXX-XXXXX` token, one per call — never the client's JSON-RPC id, which the call's records carry as `jsonRpcId` and the response keeps as its `id`. `httpErrorHandler`'s is the token on its `Client error:` record. A failure reported from the client resolves to its `Error in tool:<name>` record by that value. A resource read refused before it is measured (an auth refusal, or URI variables that fail `params`) carries an id no log record shares, since resources write no failure record of their own. It is added where the envelope is built, never to the thrown `McpError.data`, so `ErrorHandler.handleError` / `tryCatch` results and the log record's `errorData` stay context-free; it replaces a thrown `data.requestId`, the way canonical fields win in log records. Two envelopes go without it: a resource `-32602` whose `data` is exactly `{ uri }` (the resource-not-found shape clients match exactly), and `runToolContract` results, which have no real request. It closes the `content[]` terms line, alone as `(request <id>)` when there is no `reason` or `retryable` — so a test pinning `content[0].text` exactly sees it.
411
411
  - **Recovery hint mirroring is automatic, unless the hint repeats the message.** When the thrown `McpError` carries `data.recovery.hint`, the handler factory appends it to the `content[]` text so the markdown surface matches the JSON surface. Authors don't need to format the hint manually. The one exception is a hint the trimmed message already contains verbatim (case-sensitively) — an argument rejection whose every hint sentence restates an issue, where the hint is the message's issue text verbatim, and an author hint that restates its own message. There the line adds no next step, so it is dropped from the text; `structuredContent.error.data.recovery.hint` stays populated either way.
412
- - **`reason`, `retryable`, and `requestId` render as a trailing term line.** `(reason malformed_id · not retryable · request UTFAC-QE0MB)` closes the text whenever `data.reason` is a non-empty string, `data.retryable` is a boolean, or `data.requestId` is a non-empty string — `retryable` for `true`, `not retryable` for `false`, in that order. None present (an `McpError` with no `data` built outside a request, as `runToolContract` does) appends nothing at all. The numeric `code` and `data.issues` stay JSON-only on purpose: the code is the one envelope field a model cannot act on, and the message already renders each issue as a sentence. A consumer test pinning `content[0].text` exactly, rather than asserting it contains the diagnostic, therefore moves for any error carrying a reason.
412
+ - **`reason`, `retryable`, and `requestId` render as a trailing term line.** `(reason malformed_id · not retryable · request UTFAC-QE0MB)` closes the text whenever `data.reason` is a non-empty string, `data.retryable` is a boolean, or `data.requestId` is a non-empty string — `retryable` for `true`, `not retryable` for `false`, in that order. None present (an `McpError` with no `data` built outside a request, as `runToolContract` does) appends nothing at all. The numeric `code` and `data.issues` stay JSON-only on purpose: the code is the one envelope field a model cannot act on, and the message already renders the issues as sentences. A consumer test pinning `content[0].text` exactly, rather than asserting it contains the diagnostic, therefore moves for any error carrying a reason.
413
413
  - **Argument-schema rejection is a tool error with the same envelope.** An unknown root key, a wrong type, a missing required field, or a failed constraint returns `isError: true` with `structuredContent.error.code = -32602` (`InvalidParams`) and the readable `Invalid arguments for tool <name>: …` diagnostic in `content[]`. The handler never runs. Two neighbouring failures keep the protocol error path instead, arriving as a JSON-RPC error rather than a tool result: an unknown or disabled tool name, and a malformed request envelope.
414
- - **`invalid_arguments` is the framework-owned reason on every argument rejection.** The rejection carries `data.reason: "invalid_arguments"` and a `data.recovery.hint` the framework synthesizes from the Zod issues, the arguments as sent, and the root schema — an unknown root key names the root properties the tool does accept, an unknown key inside a nested strict object names its full path and that object's own keys (`Unknown key opts.b. opts accepts: a.`, `Unknown key items.1.b. items.1 accepts: name.`), a wrong type names the type to send instead (a fractional number on an integer field reads `Send rows as an integer, not a fractional number.`), missing fields collapse into one `Provide …` sentence, and anything else restates its diagnostic line, field path included (`start: Must be a parseable ISO 8601 date`), so identical constraints on different fields stay distinguishable. When every sentence restates an issue, the hint is the message's issue text verbatim, and its `Recovery:` line is dropped from `content[]`. Beside a framework sentence each restatement is terminated and a repeated sentence appears once: `start: Must be a parseable ISO 8601 date. Send n as a number, not a string.` When pre-validation rewrote or dropped a key the caller wrote, the rejection says so, since its issues name only the keys that were validated: `data.input` carries `{ aliased: [{ alias, target }], ignored: [...] }` — keys only, in argument order, `ignored` holding the undeclared underscore-prefixed keys the drop discarded — and the hint closes with `Validated query as targetQuery.` / `Dropped undeclared key _max.`, framework sentences that keep the `Recovery:` line. An ignore-list drop (`_meta`, `toolCallId`, a server's `input.ignoreKeys`) is a client artifact and is never reported, and a rejection the step changed nothing on carries no `data.input`. The reason renders on the closing `(reason invalid_arguments · request <id>)`; this path sets no `retryable`. Its `Error in tool:<name>` record logs at `notice`, not `error`, with no stack and its caller-sized strings and arrays capped (see `severity` above). Authors declare nothing for this: the rejection happens before the handler and the hint is derived from the schema.
414
+ - **`invalid_arguments` is the framework-owned reason on every argument rejection.** The rejection carries `data.reason: "invalid_arguments"` and a `data.recovery.hint` the framework synthesizes from the Zod issues, the arguments as sent (with any pre-validation repair that held), and the root schema — an unknown root key names the root properties the tool does accept, an unknown key inside a nested strict object names its full path and that object's own keys (`Unknown key opts.b. opts accepts: a.`, `Unknown key items.1.b. items.1 accepts: name.`), a wrong type names the type to send instead (a fractional number on an integer field reads `Send rows as an integer, not a fractional number.`), missing fields collapse into one `Provide …` sentence, and anything else restates its diagnostic line, field path included (`start: Must be a parseable ISO 8601 date`), so identical constraints on different fields stay distinguishable. When every sentence restates an issue, the hint is the message's issue text verbatim, and its `Recovery:` line is dropped from `content[]`. Beside a framework sentence each restatement is terminated and a repeated sentence appears once: `start: Must be a parseable ISO 8601 date. Send n as a number, not a string.` When pre-validation rewrote or dropped a key the caller wrote, the rejection says so, since its issues name only the keys that were validated: `data.input` carries `{ aliased: [{ alias, target }], ignored: [...] }` — keys only, in argument order, `ignored` holding the undeclared underscore-prefixed keys the drop discarded — and the hint closes with `Validated query as targetQuery.` / `Dropped undeclared key _max.`, framework sentences that keep the `Recovery:` line. An ignore-list drop (`_meta`, `toolCallId`, a server's `input.ignoreKeys`) is a client artifact and is never reported, and a rejection the step changed nothing on carries no `data.input`. An alias sent beside its target is never rewritten, and the hint names it as one where it would otherwise read as an unknown or dropped key, with every key the caller sent for that target in argument order: `maxResults is an alias of pageSize; send one of them, not both.`, `maxResults and limit are aliases of pageSize; send one of them, not both. Validated maxResults as pageSize.`, or `send only one of them.` when three or more arrived. A key that is neither a field nor an alias keeps its unknown-key sentence after it, and `data.input` and the message are unchanged. The rejection is bounded whatever the caller sends: the message and the hint render the first 10 issue lines — an unknown-key issue counts once, however many keys and alias collisions it names — each line and hint sentence cut to its first 1,024 characters and ending `…` when cut, then ` (+N more)` for the lines left out (in the hint, before `Validated …` / `Dropped …`), so a cut restatement still equals its message line and the `Recovery:` line still drops. `data.issues` and `data.input` keep the first 10 entries of every array and the first 10 keys of every object, the first 1,024 characters of every string and every key, and two levels of lists and objects below each issue and each object a list holds — a list or object deeper keeps none of its entries — with the uncut count or length beside each cut: `keysCount`, `ignoredCount`, `pathCount`, `messageLength`, `keysLengths`, `paramsCount` beside an object cut to its first keys, `<key>KeyLength` beside a cut key, and an object entry's key count in `<field>Lengths`. A record never takes a kept key's name: a key that a record's name takes, or that a cut makes equal to an earlier key, is left out and counted. Caller data a custom issue carries in its `params` is cut the same way. `data.issues` also keeps at most 30 issues in all, read in document order — each issue, then the issues of its union branches. `issuesCount`, how many issues Zod raised at the top level, sits beside `data.issues` whenever it keeps fewer of them — past the first 10, or sooner when the 30-issue budget runs out — as `errorsCount`, the uncut branch count, sits beside a union's cut branch list and `errorsLengths` beside a cut branch. The message and the hint render each distinct issue once and stop at the 1,024-character cut. A rejection within those caps carries exactly what it always did. The reason renders on the closing `(reason invalid_arguments · request <id>)`; this path sets no `retryable`. Its `Error in tool:<name>` record logs at `notice`, not `error`, with no stack and its caller-sized strings and arrays capped (see `severity` above). Authors declare nothing for this: the rejection happens before the handler and the hint is derived from the schema.
415
415
  - **`client_capability_missing` is the other framework-owned reason.** When a handler returns `ctx.requestInput({ inputRequests: … })` on a 2025-era connection whose client declared no matching capability, `ctx.requestInput` throws this failure in place of the input-required signal, before anything reaches the wire. It is an ordinary handler throw from there on, logged at `notice` with no stack: measured as the failed call it is, and shaped by the family's usual error path — a tool gets `structuredContent.error.code = -32600` (`InvalidRequest`), `data.reason: "client_capability_missing"`, and a `data.recovery.hint` naming the capability; a resource read gets the same code, reason, and hint through the JSON-RPC error envelope. The hint ends at reconnecting with a client that declares the capability, since a consent gate has no argument that could stand in for its answer; a handler whose arguments can appends its own sentence per call with `ctx.requestInput(spec, { fallbackHint })`. Like `invalid_arguments`, a definition cannot declare it in `errors[]`: it names a property of the connection, not a domain outcome. See `api-context`'s `ctx.requestInput`.
416
416
  - **A schema constraint cannot carry a *declared* reason.** Because the handler never runs, a rejection by `.max()`, `.regex()`, `.min()`, or any other Zod refinement bypasses `errors[]` entirely: it arrives as `InvalidParams` with `data.issues` under the framework's `invalid_arguments`, never the `reason` and authored `recovery` of a contract entry — so a caller has nothing tool-specific to branch on and gets only the schema-derived hint. Decide per constraint which surface it belongs on. A bound that is purely structural — the input is the wrong shape and no guidance beyond the diagnostic would help — belongs on the schema, where it also advertises itself in `inputSchema`. A bound a caller is expected to recover from belongs in the handler as `ctx.fail('reason', message)` against a declared `errors[]` entry, whose `recovery` the framework puts on the wire, with the limit restated in the field's `.describe()` so it is still visible before the call. Enforcing the same bound in both places is the trap: the schema wins, and the contract entry becomes unreachable while still reading as covered.
417
- - **A rejected value never reaches the client.** The rendered sentence distinguishes an omitted field from a wrong one (`what: Missing required field. Expected one of "os"|"cpu"` rather than the invalid-option text), and a union renders the branch that says what would have been accepted instead of Zod's `Invalid input` placeholder. Both read the arguments in-process for the absent/present bit and the arriving type only — `data.issues` ships the Zod issues as-is, and no value the caller sent is copied onto them.
418
- - **A union branch names its own field.** Each branch issue is prefixed with the path it names relative to that branch, so two alternatives differing only in which field they require stay distinguishable: `spec: kind: Invalid option: expected one of "x"|"y"; n: Invalid input: expected number, received undefined or other: Invalid input: expected string, received undefined`. Issues *within* one branch join on `; `, across branches on ` or `, and top-level issues on `, ` — three nestings, three separators. A scalar branch carries no path and renders as before. `data.issues` still ships the raw nested Zod issues, and `data.recovery.hint` restates the same line, field path included.
419
- - **A one-or-many union renders like the field it wraps.** Once a union branch fails below its root, every branch whose only issue is a root type mismatch is dropped — for `z.union([z.array(Item), Item])` given a list, that is the object branch saying only that the value is an array. If one branch remains, its issues render and hint under the field's path exactly as they would on a non-union field: `items.1.name: Invalid input: expected string, received boolean`, hinted `Send items.1.name as a string, not a boolean.` A missing element field is hinted `Provide items.1.name.`, and the rule applies again at every nested level. When every branch fails at its root (`items: "x"`), all of them render, joined by ` or `. `data.issues` keeps Zod's single `invalid_union` issue.
420
- - **Some rejections never happen at all.** An ordered pre-validation step wraps the parse: a client-added root key is dropped, a declared or case-style key alias is rewritten to its canonical name, and — only after a failed parse — a JSON-stringified array or object, or a safe integer sent for a string, is repaired and the arguments parsed once more. When that still fails and the drop discarded a key, the step retries alias-first. A call the step rescues succeeds outright and produces no error envelope; a call it cannot rescue throws the rejection above exactly as it would under `input: { coerce: false }` — same code, message, `data.issues`, `data.input`, and `data.recovery.hint` — so a discarded repair leaves no trace. An integer sent to a string field, or a stringified object to an object field, is therefore a success, not a wrong-type case — a test that needs a wrong-type rejection sends a boolean. See the `add-tool` skill for the boundaries and the per-server switches.
417
+ - **A rejected value never reaches the client.** The rendered sentence distinguishes an omitted field from a wrong one (`what: Missing required field. Expected one of "os"|"cpu"` rather than the invalid-option text), and a union renders the branch that says what would have been accepted instead of Zod's `Invalid input` placeholder. Both read the arguments in-process for the absent/present bit and the arriving type only — `data.issues` carries the Zod issues as Zod wrote them, bounded as above, and no value the caller sent is copied onto them. That read follows each issue path to the value the failing schema received: below a `z.preprocess()` or a `.transform().pipe()`, the path names the transform's output, so the transform is re-applied in-process. A lone object a preprocess wraps as a list renders exactly as its list form (`items.0.name: …`, never `Provide items.0.name.`), a comma-split item outside its enum reads `Invalid option` — beside a list option of the same union too, which never parsed below the string — and a blank the preprocess maps to `undefined` is hinted `Provide d1.` — as is `null` or a whitespace-only string a transform maps there. Any other value a transform makes `undefined` of, such as `"15"` against an ID-or-name lookup that does not know the name, restates its line (`station: Invalid input: expected number, received undefined`), since the caller sent a value. A wrong type the transform's output schema reports at the transform's own path restates its line instead of `Send … as …`, since the raw type says nothing about which forms the transform accepts. A wrong type below the transform, or one the input side of a `.transform().pipe()` reports about the value as sent, keeps its sentence.
418
+ - **A union branch names its own field.** Each branch issue is prefixed with the path it names relative to that branch, so two alternatives differing only in which field they require stay distinguishable: `spec: kind: Invalid option: expected one of "x"|"y"; n: Invalid input: expected number, received undefined or other: Invalid input: expected string, received undefined`. Issues *within* one branch join on `; `, across branches on ` or `, and top-level issues on `, ` — three nestings, three separators. A scalar branch carries no path and renders as before. When every branch fails on one literal at the same path — literal-tagged branches given an unknown or omitted tag — that literal renders once, at its full path, naming every branch's value: `target.kind: Invalid option: expected one of "a"|"b"`, hinted `Provide target.kind.` when the tag was left out. A branch whose one failure is a single-value field the caller left out is never dropped for branches that only say the value is another shape: `{ target: { q: 5 } }` against an object requiring `format: z.enum(["json"])` or a list renders `target.format: Missing required field. Expected "json"`, hinted `Provide target.format.`, not `target: Invalid input: expected array, received object`. `data.issues` still carries the raw nested Zod issues, bounded at every level, and `data.recovery.hint` restates the same line, field path included.
419
+ - **A one-or-many union renders like the field it wraps.** Once a union branch fails below its root, every branch whose only issue is a root type mismatch is dropped — for `z.union([z.array(Item), Item])` given a list, that is the object branch saying only that the value is an array. If one branch remains, its issues render and hint under the field's path exactly as they would on a non-union field: `items.1.name: Invalid input: expected string, received boolean`, hinted `Send items.1.name as a string, not a boolean.` A missing element field is hinted `Provide items.1.name.`, and the rule applies again at every nested level. When every branch fails at its root (`items: "x"`), all of them render, joined by ` or `. `data.issues` keeps Zod's single `invalid_union` issue. Pre-validation's repair reads the same list, so it reaches a value inside the surviving branch at the path the hint would name, before any rejection: `ids: [123, "a"]` against `z.union([z.string(), z.array(z.string())])` reaches the handler as `["123", "a"]`.
420
+ - **Some rejections never happen at all.** An ordered pre-validation step wraps the parse: a client-added root key is dropped, a declared or case-style key alias is rewritten to its canonical name, and — only after a failed parse — a JSON-stringified array or object, a safe integer sent for a string, a string spelling a number or boolean where only those are accepted, or a lone string sent for an array is repaired, `null` sent for an optional field is deleted, and the arguments are parsed once more. When that still fails and the drop discarded a key, the step retries alias-first. A call the step rescues succeeds outright and produces no error envelope. A call it cannot rescue throws the rejection above, parsed with only the repairs that held applied: a value the schema accepted once repaired appears nowhere in `data.issues`, the message, or the hint — fourteen integer PMIDs against `.max(10)` report only the `too_big` — and a value whose repair the schema refused is reported as sent. The exception is a value that held only written in place under a `z.preprocess()` that reorders or rewrites it: `items: [1, 2]` under one that reverses a list, beside a field that still fails, reports `items.0` and `items.1` as sent, since the issues name positions in the preprocess's output. A call no repair helped therefore gets exactly its `input: { coerce: false }` rejection — same code, message, `data.issues`, `data.input`, and `data.recovery.hint` — and so does one the held repairs alone would validate (only a union or a cross-field refinement allows that), held values included. No rejection says a repair happened. An integer sent to a string field, a `"15"` to a number field, a lone string to a list field, a `null` to an optional field, or a stringified object to an object field is therefore a success, not a wrong-type case — a test that needs a wrong-type rejection sends a boolean to a string, number, or list field, or a non-numeric string to a number field. See the `add-tool` skill for the boundaries and the per-server switches.
421
421
 
422
422
  **Handler — throw freely, no try/catch:**
423
423
 
@@ -4,7 +4,7 @@ description: >
4
4
  Catalog of OpenTelemetry instrumentation built into framework `@cyanheads/mcp-ts-core` — spans, metrics, completion logs, env config, runtime caveats, custom instrumentation patterns, and cardinality rules. Use when enabling OTel export, adding custom spans or metrics in services, debugging missing telemetry, looking up attribute names, or deciding what's safe to put on a metric attribute vs. a span.
5
5
  metadata:
6
6
  author: cyanheads
7
- version: "1.19"
7
+ version: "1.20"
8
8
  audience: external
9
9
  type: reference
10
10
  ---
@@ -138,7 +138,7 @@ All custom metrics are namespaced `mcp.*` (or `process.*` / `http.client.*` wher
138
138
  | `mcp.tool.param.usage` | counter | `{uses}` | `mcp.tool.name`, `mcp.tool.param` (top-level keys supplied by caller) |
139
139
  | `mcp.input.ignored_key` | counter | `{keys}` | `mcp.tool.name`, `mcp.input.ignore_rule` (the ignore-list entry that matched, or `underscore_prefix`) |
140
140
  | `mcp.input.aliased` | counter | `{keys}` | `mcp.tool.name`, `mcp.input.target` (the declared key), `mcp.input.alias_kind` (`declared`/`case_style`) |
141
- | `mcp.input.coerced` | counter | `{calls}` | `mcp.tool.name`, `mcp.input.coercion` (`stringified_array`/`stringified_object`/`integer_as_string`) |
141
+ | `mcp.input.coerced` | counter | `{calls}` | `mcp.tool.name`, `mcp.input.coercion` (`stringified_array`/`stringified_object`/`integer_as_string`/`string_as_number`/`string_as_boolean`/`string_as_array`/`null_as_absent`) |
142
142
  | `mcp.resource.reads` | counter | `{reads}` | `mcp.resource.name`, `mcp.resource.success` |
143
143
  | `mcp.resource.duration` | histogram | `ms` | `mcp.resource.name`, `mcp.resource.success` |
144
144
  | `mcp.resource.errors` | counter | `{errors}` | `mcp.resource.name` |
@@ -153,7 +153,7 @@ All custom metrics are namespaced `mcp.*` (or `process.*` / `http.client.*` wher
153
153
 
154
154
  **Rejections and cancellations.** A call refused before the handler runs — argument validation (`-32602`) or the inline `auth` check (`-32005` missing scope, `-32006` no auth context) — never reaches the measured region, so it is absent from `mcp.tool.calls`, `mcp.tool.duration`, and `mcp.tool.errors` and counts once on `mcp.tool.rejections` instead, labelled with the code and category the caller received. `mcp.tool.outcome` separates a caller hang-up from a failure: `cancelled` for a `RequestCancelled` (`-32011`, always paired with `error_category="client"`), `error` for any other failure, `ok` for a success or an `input_required` round. `mcp.tool.success` and `error_category` keep their meaning, so existing `sum()` queries are unchanged. An error rate that excludes hang-ups filters on `mcp.tool.outcome!="cancelled"`; the failure rate a caller sees is `(errors + rejections) / (calls + rejections)`. Resources and prompts carry neither split.
155
155
 
156
- The three `mcp.input.*` counters are the pre-validation step's metrics. Each marks a call the strict `input` schema would otherwise have rejected: a key rewritten to its canonical spelling, a client-added root key dropped, or a value repaired after the parse failed — a stringified array or object, or an integer sent for a string. `mcp.input.coerced` adds one per repaired call per kind, not per repaired value: a call repairing an array and an object adds one to each `mcp.input.coercion` series, and a call repairing three arrays adds one. A call the step rescues carries nothing about it in its response, so a client artifact spreading across a fleet shows up here first. The counters describe the arguments the handler receives: when a call is retried with the alias stage first (see `add-tool`), the key the retry rewrote counts on `mcp.input.aliased` and never also on `mcp.input.ignored_key`, and a rejected call counts the attempt its rejection reports — the retry's when it ran. The counters are not the only record: every stage writes a debug log naming the key or the repair kinds, the opt-in failure-payload record ([below](#failed-call-payloads)) keeps a failed call's arguments as the caller sent them, and a rejected call reports its rewrites and underscore-rule drops to the caller as `data.input` (see `api-errors`). All three are lazy: a server whose callers never trip a stage emits no series at all.
156
+ The three `mcp.input.*` counters are the pre-validation step's metrics. Each marks a call the strict `input` schema would otherwise have rejected: a key rewritten to its canonical spelling, a client-added root key dropped, or a value repaired after the parse failed — a stringified array or object, an integer sent for a string, a number or boolean sent as a string, a lone string sent for an array, or `null` sent for an optional field, deleted. `mcp.input.coerced` adds one per repaired call per kind, not per repaired value: a call repairing an array and an object adds one to each `mcp.input.coercion` series, and a call repairing three arrays adds one. A call the step rescues carries nothing about it in its response, so a client artifact spreading across a fleet shows up here first. The counters describe the arguments the handler receives: when a call is retried with the alias stage first (see `add-tool`), the key the retry rewrote counts on `mcp.input.aliased` and never also on `mcp.input.ignored_key`, and a rejected call counts the attempt its rejection reports — the retry's when it ran. The counters are not the only record: every stage writes a debug log naming the key or the repair kinds, the opt-in failure-payload record ([below](#failed-call-payloads)) keeps a failed call's arguments as the caller sent them, and a rejected call reports its rewrites and underscore-rule drops to the caller as `data.input` (see `api-errors`). All three are lazy: a server whose callers never trip a stage emits no series at all.
157
157
 
158
158
  **Every label is author- or framework-defined — the caller's own key text is never one.** `mcp.input.ignore_rule` is the ignore-list entry that matched or the fixed `underscore_prefix`, bounded by the list's length plus one. `mcp.input.aliased` is labelled by the canonical `mcp.input.target` (a declared property of the tool) and `mcp.input.alias_kind`, not by the alias the caller sent — the case-style half accepts every `-`/`_`/case permutation of a declared key, so labelling the alias would put a caller-controlled set on a permanent series. That is the unbounded-label leak removed from the rate-limiter counter in 0.9.0: a metric attribute set lives until process restart, so anything the caller names belongs on a span or in a log, never on a counter.
159
159
 
@@ -263,7 +263,7 @@ Every record of a tool call, resource read, or `prompts/get` carries the client'
263
263
 
264
264
  A failed tool call or prompt adds exactly one `Error in tool:<name>` / `Error in prompt:<name>` record. Each call — prompts included — logs under its own generated `requestId`, and the client receives that value as `data.requestId` on the call's error envelope, so a reported failure resolves to its records.
265
265
 
266
- An argument rejection's `Error in tool:<name>` record is bounded whatever the caller sends: every string it takes from the rejection — the message (so `msg` and `errorData.originalMessage`), `recovery.hint`, each issue's `message`, each `input` key — keeps at most its first 1,024 characters, and every array its first 10 entries. Each cut records the uncut length or count beside it: `originalMessageLength` for the message, `<field>Length` beside a cut string, `<field>Count` beside a cut array, and `<field>Lengths` — the uncut length of each entry kept — beside an array one of whose entries was cut. A rejection within the caps carries no such field. The `-32602` result the caller receives is built from the uncut rejection.
266
+ An argument rejection's `Error in tool:<name>` record is bounded whatever the caller sends: every string it takes from the rejection — the message (so `msg` and `errorData.originalMessage`), `recovery.hint`, each issue's `message`, each `input` key — keeps at most its first 1,024 characters, as does every key, with every array kept to its first 10 entries, every object to its first 10 keys, and nesting to two levels of lists and objects below each issue. Each cut records the uncut length or count beside it: `originalMessageLength` for the message, `<field>Length` beside a cut string, `<field>KeyLength` beside a cut key, `<field>Count` beside a cut array or object, and `<field>Lengths` — the uncut length of each entry kept, an object's key count — beside an array one of whose entries was cut. A rejection within the caps carries no such field. The `-32602` result the caller receives is bounded before the record is written: its `data.issues` and `data.input` are the same projection, `data.issues` keeping at most 30 issues in all through every union's branches, and its message and hint render at most the first 10 issue lines of up to 1,025 characters each, so the record cuts only the message and the hint further.
267
267
 
268
268
  ### Failed-call payloads
269
269
 
@@ -4,7 +4,7 @@ description: >
4
4
  Testing patterns for MCP tool/resource handlers using `createMockContext` and Vitest. Covers mock context options, handler testing, McpError assertions, format testing, Vitest config setup, and test isolation conventions.
5
5
  metadata:
6
6
  author: cyanheads
7
- version: "1.14"
7
+ version: "1.15"
8
8
  audience: external
9
9
  type: reference
10
10
  ---
@@ -137,7 +137,7 @@ Use `runToolContract(definition, input, { context })` from `/testing` when a cus
137
137
 
138
138
  A declared reason thrown without a hint — a bare `ctx.fail('reason')` or a service throw carrying `{ reason }` — comes back with the entry's `recovery` as `data.recovery.hint` and a `Recovery:` line in `content[]`, as in production. The one production field it leaves out is `data.requestId` (and the `request <id>` term closing `content[]`), since there is no real request; a test asserting the factory's envelope instead expects both. Calling `definition.handler(...)` directly returns the `McpError` exactly as the throw site built it — no fill, no request id.
139
139
 
140
- Arguments that fail the `input` schema are rejected the way the production handler factory rejects them: `InvalidParams` (`-32602`), with a message naming the tool and every failing field. That is the code a client sees on the wire, so assert it — not `ValidationError` (`-32007`), which stays the classification for a `ZodError` a handler throws itself. A result that breaks the tool's own `output` or `enrichment` schema is the definition's bug, so it returns `InternalError` (`-32603`) with a message naming that contract, exactly as in production.
140
+ Arguments that fail the `input` schema are rejected the way the production handler factory rejects them: `InvalidParams` (`-32602`), with a message naming the tool and the failing fields — the first 10 issue lines, then ` (+N more)` for the rest — and `data.issues` holding Zod's first 10 issues, at most 30 in all counted through every union's branches. `issuesCount`, how many issues Zod raised at the top level, sits beside `data.issues` whenever it keeps fewer of them — past the first 10, or sooner when the 30-issue budget runs out — as `errorsCount` sits beside a cut branch list: the same bound the factory applies. `-32602` is the code a client sees on the wire, so assert it — not `ValidationError` (`-32007`), which stays the classification for a `ZodError` a handler throws itself. A result that breaks the tool's own `output` or `enrichment` schema is the definition's bug, so it returns `InternalError` (`-32603`) with a message naming that contract, exactly as in production.
141
141
 
142
142
  Cancellation settles as it does in production. Pass `context: { signal }` and abort it: once the signal has fired, whatever the handler — or the output validation, `format()`, and enrichment after it — throws comes back as `RequestCancelled` (`-32011`), whether that is the signal's `AbortError`, its reason string, a `withRetry` backoff that stopped, or an `McpError` of the handler's own. A throw while the signal is still live keeps its own classification, and argument parsing stays outside the settle, so schema-invalid arguments on an aborted signal still return `InvalidParams`. A `toolContractSuite` error case with an aborted `context.signal` asserts `code: JsonRpcErrorCode.RequestCancelled` the same way.
143
143
 
@@ -4,7 +4,7 @@ description: >
4
4
  Design the tool surface, resources, and service layer for a new MCP server. Use when starting a new server, planning a major feature expansion, or when the user describes a domain/API they want to expose via MCP. Produces a design doc at docs/design.md that drives implementation.
5
5
  metadata:
6
6
  author: cyanheads
7
- version: "2.31"
7
+ version: "2.32"
8
8
  audience: external
9
9
  type: workflow
10
10
  ---
@@ -303,6 +303,7 @@ Every `.describe()` is prompt text the LLM reads. Parameters should convey: what
303
303
  - **Constrain the type.** Enums and literals over free strings. Regex validation for formatted IDs. Ranges for numeric bounds.
304
304
  - **The input root is already strict.** `tool()` applies `.strict()` at the root and advertises `additionalProperties: false`, so an unknown top-level key is rejected by name instead of silently stripped; nested objects still strip unless made strict themselves. Open the root with `.passthrough()` (Zod 4 also spells it `.loose()`; `tool()` honors either) only on a tool that deliberately proxies arbitrary upstream parameters (a raw-query tool), and say so in its description.
305
305
  - **A blank optional string is unset.** Form-based clients send every optional field they display as `""`. Treat the blank as omitted — left off the upstream request, never forwarded as `param=`, which some APIs read differently from omission — and never design a `.min(1)` onto an optional field to catch it. `add-tool` has the schema pattern that keeps a validator on the field.
306
+ - **Numeric bounds earn their `.max()`.** An output-only ceiling the content already bounds (`maxSections`, a character budget) takes none: a larger value means no limit. A workload cap (an ID batch, `limit`) keeps a hard ceiling against absurd input. Between the per-call cap and that ceiling, a read — or an operation whose contract allows partial completion — processes up to the cap and names the remainder, disclosed like a capped list (below), since a rejection for a value with one obvious reading only costs the caller a round trip. A write, destructive, or otherwise atomic batch over its cap rejects before doing anything, naming the cap, so its `.max()` is the cap itself: doing the first items and naming the rest splits one intended operation in two and leaves the caller to work out which items changed.
306
307
  - **Use JSON-Schema-serializable types only.** The MCP SDK serializes schemas to JSON Schema for `tools/list`. Types like `z.custom()`, `z.date()`, `z.transform()`, `z.bigint()`, `z.symbol()`, `z.void()`, `z.map()`, `z.set()` throw at runtime. Use structural equivalents (e.g., `z.string().describe('ISO 8601 date')` instead of `z.date()`).
307
308
  - **Explain costs and tradeoffs** when a parameter choice has meaningful consequences.
308
309
  - **Name alternative approaches** when a simpler path exists.
@@ -332,7 +333,7 @@ nctIds: z.union([z.string(), z.array(z.string()).max(5)])
332
333
  | Delimiter-joined list where an array is accepted | `"US,JP,KR"` → `["US","JP","KR"]` | Split on the documented separator |
333
334
  | Spelled-out vs. abbreviated name | `"Houston, Texas"` → `"Houston, TX"` | Normalize against the bundled name table |
334
335
 
335
- These are **value**-level, and the mappings are domain knowledge — settle them per input in the design doc's param table. Argument **key** names are not: the framework rewrites declared and case-style key aliases and drops client-added root keys before the schema sees the arguments, and repairs a JSON-stringified array or object, or an integer sent for a string, against the tool's own schema after a failed parse — so an ID field stays `z.string()`, never a `string | number` union. Don't re-implement any of that per server — see `add-tool` § *Three things the framework fixes before the schema sees the arguments*.
336
+ These are **value**-level, and the mappings are domain knowledge — settle them per input in the design doc's param table. Argument **key** names are not: the framework rewrites declared and case-style key aliases and drops client-added root keys before the schema sees the arguments, and, against the tool's own schema after a failed parse, repairs a JSON-stringified array or object, an integer sent for a string, a number or boolean sent as a string, and a lone string sent for a list, and deletes `null` sent for an optional field — so an ID field stays `z.string()`, never a `string | number` union, a list field stays `z.array()`, never a `string | string[]` union, and an optional field never needs `.nullish()` to absorb a client that sends `null` for unset. A delimiter-joined list is still yours to split: the framework never wraps a string holding a comma or a line break. Don't re-implement any of that per server — see `add-tool` § *Three things the framework fixes before the schema sees the arguments*.
336
337
 
337
338
  This resolves one submitted value to one canonical value, and does not loosen the strict token match in [MCP-side list filtering](#mcp-side-list-filtering), which scores a query against many candidate names.
338
339
 
@@ -4,7 +4,7 @@ description: >
4
4
  Exercise tools, resources, and prompts against a live HTTP server via MCP JSON-RPC over curl. Starts the server, surfaces the catalog, runs real and adversarial inputs, measures every call (bytes, token estimate, wall-clock) and weighs the catalog, renders app tools' views in a headless MCP Apps host, and produces a tight report with concrete findings and numbered follow-up options. Use after adding or modifying definitions, or when the user asks to test, try out, or verify their MCP surface.
5
5
  metadata:
6
6
  author: cyanheads
7
- version: "2.20"
7
+ version: "2.21"
8
8
  audience: external
9
9
  type: debug
10
10
  ---
@@ -402,8 +402,9 @@ Treat any hit as a `ux` finding in the report. The authoring rule lives under *T
402
402
  |:------------------------------------------------|:-------------|
403
403
  | `include` / `fields` / `expand` / `view` / `projection` parameter | Field selection: non-default value renders requested fields |
404
404
  | Array return with `query` / `filter` inputs | Empty result: does response explain *why* (echo criteria, suggest broadening)? |
405
- | Identifier, code, or enum-ish input (an ID format, a classification code, a unit, a place name, a list the docs say may be comma-joined) | Value-variant tolerance: re-send the happy-path call with each obvious variant of that value — lowercase, the bare leaf of a hierarchical code, a common domain alias, a delimiter-joined list where an array is accepted, the spelled-out form of an abbreviated name. Pass is either outcome: the call succeeds, or it fails with an error naming the expected shape. A miss or a bare validation failure on a variant that maps one-to-one onto a valid value is a `ux` finding. Probe **values** — variants of the argument *key* name, and a JSON-stringified array or object or an integer sent for a string as a value, are handled by the framework, not the server. |
405
+ | Identifier, code, or enum-ish input (an ID format, a classification code, a unit, a place name, a list the docs say may be comma-joined) | Value-variant tolerance: re-send the happy-path call with each obvious variant of that value — lowercase, the bare leaf of a hierarchical code, a common domain alias, a delimiter-joined list where an array is accepted, the spelled-out form of an abbreviated name. Pass is either outcome: the call succeeds, or it fails with an error naming the expected shape. A miss or a bare validation failure on a variant that maps one-to-one onto a valid value is a `ux` finding. Probe **values** — variants of the argument *key* name, and as a value a JSON-stringified array or object, an integer sent for a string, a number or boolean sent as a string, a lone string (no comma or line break) sent for a list, or `null` sent for an optional field, are handled by the framework, not the server. |
406
406
  | Batch / bulk input (arrays of IDs, multi-item ops) | Partial success: mix valid + invalid items |
407
+ | Bounded numeric or batch input (`max*`, `limit`, an ID array with `.max()`) | Over-the-max: send one past the bound. An output-only ceiling should act as no limit. A workload cap on a read, or on an operation whose contract allows partial completion, should return what fits and name the rest; a bare rejection there is a `ux` finding. A write, destructive, or otherwise atomic batch should reject before doing anything, naming the cap; one that processes the items that fit is a `bug`. |
407
408
  | `annotations.readOnlyHint: true` | Confirm no mutation happened |
408
409
  | `annotations.idempotentHint: true` | Call twice with same input — safe? |
409
410
  | Hits external API / live upstream | One call that exercises upstream; note rate-limit / timeout / transient-failure behavior |