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
The skill exposes the agent to untrusted, user-generated content from public third-party sources, creating a risk of indirect prompt injection. This includes browsing arbitrary URLs, reading social media posts or forum comments, and analyzing content from unknown websites.
The workflow reads a user-supplied local `tools/list` JSON file, where tool names and descriptions may be authored by a third-party MCP server, but an outsider cannot push content into it and the agent does not fetch it from any feed or service.
user-supplied local tools/list JSON file (saved MCP tool definitions read from disk; no host)
content-type · 5 sites
This is the only content source the workflow reads at runtime and then acts on: the user-supplied local tools/list JSON file, obtained per SKILL.md:18, passed as FILE at SKILL.md:20, and read from disk by read_json/open at lint_tools.py:418/426 and consumed by lint_tools at lint_tools.py:504 — exactly what the scanner describes.
SKILL.md
18
1. Get the definitions as JSON: either `{ "tools": [...] }` (a `tools/list` result) or a bare array of tool objects. If the user only has source code, write the tool list to a file first. Do not contact the server yourself.
20
`python3 scripts/lint_tools.py FILE`
scripts/lint_tools.py
418
def read_json(path, what):
426
with open(path, "r", encoding="utf-8") as handle:
504
report = lint_tools(read_json(opts["file"], "input file"), config)