Lint a saved MCP tools/list JSON file for invalid tool names, weak descriptions, untyped input schema parameters and token bloat. Use when reviewing, auditing or fixing MCP tool definitions before release or in CI.
97%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
Rules schema-root, required-undefined, param-type-missing and param-description-missing.
inputSchema must exist, be a JSON object and have "type": "object". A tool without parameters still needs { "type": "object" }, optionally with "properties": {}.
Each required entry must be a string naming a property declared in properties of the same schema. Properties declared inside allOf, anyOf or oneOf branches of that schema count as declared. Fix by adding the property or removing it from required.
Every parameter schema needs at least one of type, enum, const, $ref, anyOf, oneOf or allOf. A bare {} or true accepts any value, so the model has to guess the shape. The rule checks properties, items, prefixItems; it does not resolve $ref targets.
Every parameter needs a non-blank description that says what to pass: unit, format, allowed values, example. Good: "Order id, for example ORD-1042". Weak: "id".
{
"type": "object",
"properties": {
"query": { "type": "string", "description": "Keywords to search for, 1 to 100 characters." },
"limit": { "type": "integer", "description": "Maximum results, 1 to 50. Default 10." }
},
"required": ["query"]
}Paths in findings use RFC 6901 escaping: / in a property name becomes ~1 and ~ becomes ~0.