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
| Id | Default | Checks |
|---|---|---|
name-format | error | Name is 1-128 characters of A-Z a-z 0-9 _ - . (MCP 2025-11-25) |
name-portability | warning | Name matches ^[a-zA-Z0-9_-]{1,64}$ |
name-duplicate | error | A name is used by only one tool |
description-missing | error | Tool has a non-blank description |
description-quality | warning | Not short, not the tool name, not a generic phrase |
schema-root | error | inputSchema is an object with type: "object" |
required-undefined | error | required entries are strings declared in properties |
param-type-missing | warning | Parameter declares a type, enum, const, $ref or combinator |
param-description-missing | warning | Parameter has a description |
size-budget | warning | Tool and list stay within the token budgets |
Details: tool-names.md, input-schema.md, description-quality.md, token-budget.md.
A JSON object, passed with --config FILE:
{
"minDescriptionChars": 30,
"maxToolTokens": 600,
"maxTotalTokens": 6000,
"rules": { "name-portability": "off", "param-description-missing": "error" }
}Rule levels are error, warning or off. An unknown rule id or level is a usage error (exit 2). Numbers must be non-negative.
Text: one line per finding, severity ruleId tool path message, then a summary such as 2 errors, 1 warnings. JSON (--format json): findings (each with ruleId, severity, tool, path, message, suggestion), toolCount, estimatedTokens (total, perTool), errorCount, warningCount, truncated.
5 MiB serialized, 1000 tools, 64 levels of nesting. Findings beyond 10000 are dropped from the list but still counted.