CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

trysac/mcp-schema-lint

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.

Quality

97%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

Overview
Quality
Evals
Security
Files

rules.mdreferences/

Rules, configuration and limits

Rules

IdDefaultChecks
name-formaterrorName is 1-128 characters of A-Z a-z 0-9 _ - . (MCP 2025-11-25)
name-portabilitywarningName matches ^[a-zA-Z0-9_-]{1,64}$
name-duplicateerrorA name is used by only one tool
description-missingerrorTool has a non-blank description
description-qualitywarningNot short, not the tool name, not a generic phrase
schema-rooterrorinputSchema is an object with type: "object"
required-undefinederrorrequired entries are strings declared in properties
param-type-missingwarningParameter declares a type, enum, const, $ref or combinator
param-description-missingwarningParameter has a description
size-budgetwarningTool and list stay within the token budgets

Details: tool-names.md, input-schema.md, description-quality.md, token-budget.md.

Configuration file

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.

Output

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.

Input limits

5 MiB serialized, 1000 tools, 64 levels of nesting. Findings beyond 10000 are dropped from the list but still counted.

SKILL.md

tile.json