MCP tool parameters without descriptions: add formats, defaults and examples
Optional parameters with no description force the model to guess values. Describe each parameter, its default and allowed values.
Describe every parameter, including optional ones. The rule schema.param-undescribed is a minor finding for general clients, reported as a warning. It lists optional parameters that have no description, are not boolean, enum or const, and whose name is not mentioned in the tool description.
What you see
- A scan reports
Undescribed: sort, page, include_archived, clipped to 80 characters. - In use, the model sends values in the wrong format, leaves useful options unused, or guesses defaults.
Why it happens
Schemas generated from typed code carry types and names, not meaning. status: string could be "open", "OPEN" or "1". Authors describe required fields and skip the optional ones.
OpenAI's server guide says the model uses tool metadata "to decide whether and how to call the tool", and its minimum is an explicit input schema plus a description. It does not require parameter descriptions. The rule is a quality check, and a stricter variant exists for required fields. Booleans, enums and constants are treated as self-describing and skipped, and a parameter named in the tool description is accepted.
Check it yourself
curl -s -X POST https://mcp.acme.example/mcp \
-H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' \
-H "Authorization: Bearer $TOKEN" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \
| jq -r '.result.tools[] | .name as $n | .inputSchema.properties // {} | to_entries[] | select(.value.description == null and (.value.enum == null) and (.value.type != "boolean")) | "\($n).\(.key)"'
Fix
"status": { "type": "string", "enum": ["open", "shipped", "cancelled"], "description": "Filter by order status. Omit to include all." },
"page": { "type": "integer", "minimum": 1, "default": 1, "description": "Page number, starting at 1." }
Say the format, an example, the default and what happens when it is omitted. Keep each description short; long ones add to the context the model must read on every turn.
Verify
The jq command prints nothing, then re-scan.
Which clients care
General, per the rule.
Source
OpenAI MCP server guide: https://developers.openai.com/plugins/build/mcp-server
Run a free scan at https://mcpshipyard.com/scan to check every rule at once.
Check every rule at once
A free scan runs this check and the other 152 against your live URL.