MCP. How setup description for each field? #15801
Unanswered
DudeFactory
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What is the correct way to register the tool so that each field description appears in the MCP inputSchema?
Is .shape the problem, or is there a known limitation in Zod → JSON Schema conversion in MCP?
tools/list, the generated inputSchema only shows:
"imageData": { "type": "string" }"@payloadcms/plugin-mcp": "3.76.0",
"zod": "^4.3.5"
I’m defining an MCP tool in Payload CMS using Zod with .describe() on each field:
Beta Was this translation helpful? Give feedback.
All reactions