Document how tools/list serializes a tool (schema dialect, type:object, pass-through fields)
Author: aiden-laneCreated Sep 28, 2026Updated Sep 29, 2026
Labelsdocumentation
We maintain @getonlane/mcp-auth, an adapter for mcp-use servers.
What we need: documentation of how tools/list serializes a registered tool, and a changelog entry when it changes:
- which JSON Schema dialect the input and output schemas use (we observe draft 2020-12 via
~standard.jsonSchema); - when
type: "object"is added (we observe it on a discriminated-union root); - which fields pass through unchanged (
annotations,_meta) and which are dropped (we observeiconsdropped in 2.5.2); - how the
schema:alias maps toinputSchema.
Why: anything that hashes or compares served declarations (billing, caching, audit) breaks silently when serialization changes in a minor release.
We are happy to draft the docs page.
Source: mcp-use/mcp-use