agentleFS
buildkitebuildkite/buildkite-mcp-server/.agents/skills/tool-parameter-descriptions/SKILL.md

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.

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
  1. Distinctive:

    Use these guidelines when adding or reviewing MCP tool input schemas.

    line 8
  2. Distinctive:

    Keep a description when it communicates at least one of:

    line 14
  3. Distinctive:

    Add generic domain explanation that does not affect the argument value.

    line 28
  4. Distinctive:

    Prefer short phrases over complete sentences.

    line 30
  5. Distinctive:

    Read the handler as well as the parameter type.

    line 34
  6. Distinctive:

    Use this deletion test: if removing the description would not make a materially different or invalid tool call more likely, remove it.

    line 36
  7. Very specific:

    Use Maximum matches to return.

    line 42
  8. Distinctive:

    Update schema tests for behaviorally important descriptions and run the relevant Go tests.

    line 45

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 cluster from description.
  • Replace Build number with Sequential build number, not the build UUID when that distinction matters.
  • Use Maximum matches to return; 0 returns all for 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.