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
Rule size-budget (warning).
ceil(length of compact JSON / 4), where the length is that of JSON.stringify output without whitespace. This is a fast approximation, not the count of any specific tokenizer. Use it to compare before and after, not as an exact bill.
| Option | Default | Meaning |
|---|---|---|
maxToolTokens | 800 | One tool definition (name, description, inputSchema) |
maxTotalTokens | 8000 | The whole tools array |
Change them with a config file (--config FILE, keys maxToolTokens, maxTotalTokens) or --max-tool-tokens N.
Re-run the linter after each round and compare the estimatedTokens values (--format json).