tool-parameter-descriptions
Skill54 starsChanged 3 months agoMITView on GitHub
Write or review concise MCP tool parameter descriptions that add only information needed to construct correct calls.
In this repository2 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- release-notesSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use these guidelines when adding or reviewing MCP tool input schemas.
- Distinctive: line 14
Keep a description when it communicates at least one of:
- Distinctive: line 28
Add generic domain explanation that does not affect the argument value.
- Distinctive: line 30
Prefer short phrases over complete sentences.
- Distinctive: line 34
Read the handler as well as the parameter type.
- Distinctive: line 36
Use this deletion test: if removing the description would not make a materially different or invalid tool call more likely, remove it.
- Very specific: line 42
Use Maximum matches to return.
- Distinctive: line 45
Update schema tests for behaviorally important descriptions and run the relevant Go tests.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Tool Parameter Descriptions
Use these guidelines when adding or reviewing MCP tool input schemas.
Standard
A parameter description must add information that cannot be recovered from the parameter name, JSON type, required status, or tool description.
Keep a description when it communicates at least one of:
- Accepted values, syntax, units, bounds, or defaults.
- Dependencies or mutual exclusion with other parameters.
- Behavior when omitted or set to a sentinel value such as zero.
- Replacement, destructive, or other side effects.
- Identifier type or source when similar identifiers are easily confused.
- Non-obvious filtering or matching behavior.
Otherwise, omit it. In particular, do not:
- Restate the parameter name, such as
build_number: "Build number". - Say that a parameter is optional when the schema already expresses that.
- Repeat information already provided by the tool description.
- Add generic domain explanation that does not affect the argument value.
Prefer short phrases over complete sentences. Put machine-readable constraints such as enums, bounds, and defaults in the schema when supported; use prose only for information the schema cannot express clearly.
Review
Read the handler as well as the parameter type. Check defaults, validation, identifier formats, coupled parameters, pagination behavior, and side effects before deciding whether a description is needed.
Use this deletion test: if removing the description would not make a materially different or invalid tool call more likely, remove it.
Examples:
- Omit
Description of the clusterfromdescription. - Replace
Build numberwithSequential build number, not the build UUIDwhen that distinction matters. - Use
Maximum matches to return; 0 returns allfor a limit with non-obvious zero behavior. - Preserve warnings such as an update replacing an entire map.
Update schema tests for behaviorally important descriptions and run the relevant Go tests. Use LLM evals for changes intended to improve tool selection or argument construction; unit tests cannot establish model effectiveness.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

