mcp_schema_lint
Lint one MCP tool definition with the same rules as mcp_server_health_check: errors break the MCP spec (FAIL), documentation_issues are what its strict mode refuses — a parameter without description or type (FIX, never an A) — and suggestions are style only (snake_case) and change nothing.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tool_definition": {
"name": "get_weather",
"description": "Return the current weather for a city. Use it when the user asks about the weather now.",
"inputSchema": {
"type": "object",
"required": [
"city"
],
"properties": {
"city": {
"type": "string",
"description": "City name, e.g. Paris"
}
}
}
}
},
"name": "mcp_schema_lint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool_definition | Yes | MCP tool definition object with name, description, inputSchema |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grade | No | ||
| errors | No | ||
| warnings | No | ||
| error_count | No | ||
| quality_score | No | ||
| warning_count | No |