mcp-tool-change
Skill0 starsChanged 5 months agoMITView on GitHub
Use when adding, renaming, or removing an MCP tool in gencc-link. Walks through the tool module, facade registration, the capabilities TOOLS tuple, tests, and the README/connection-guide tables.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- berntpopp/clingen-linktheir own version, first seen Jul 12, 2026
- berntpopp/hgnc-linktheir own version, first seen Jul 12, 2026
- berntpopp/mgi-linktheir own version, first seen Jul 12, 2026
- berntpopp/spliceailookup-linktheir own version, first seen Jul 12, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- berntpopp/mgi-link★ 1same name
- berntpopp/clingen-link★ 0same name
- berntpopp/hgnc-link★ 0same name
- berntpopp/spliceailookup-link★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- ci-failure-triageSkill
- code-quality-reviewSkill
- data-schema-changeSkill
- dependency-cve-sweepSkill
- fastapi-route-changeSkill
- fleet-standard-adoptionSkill
- release-readinessSkill
- security-reviewSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 1 is distinctive, and 6 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill when changing the MCP tool surface (additions, renames, removals, description rewrites).
- Very specific: line 22
Add the tool to the matching register_*_tools(mcp) function (create a new group only if it genuinely does not fit an existing one).
- Very specific: line 25
Register in the facade: If you added a new register_*_tools group, wire it into gencc_link/mcp/facade.py create_gencc_mcp().
- Distinctive: line 33
Tune the description and envelope: Write the tool description for an AI client choosing a tool: what it does, when to use it, input/output …
- Very specific: line 41
Error mapping: If the tool can raise a new exception, ensure it maps to a typed error code (invalid_input, not_found, ambiguous_query, …
- Very specific: line 46
Tests: Add or update tests under tests/ covering the tool's behavior, its presence in the capabilities inventory, response_mode shaping, …
- Very specific: line 50
Docs / tables: Update the tool tables in README.md, docs/MCP_CONNECTION_GUIDE.md, and docs/usage.md.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
MCP tool change
Use this skill when changing the MCP tool surface (additions, renames, removals, description rewrites). GenCC-Link exposes exactly 10 tools today; the tool list is part of the public contract.
Checklist
- Pick the tool module. Tools are grouped by concern under
gencc_link/mcp/tools/:- discovery:
discovery.py(get_server_capabilities,get_gencc_diagnostics) - genes:
genes.py(search_genes,get_gene_curations) - diseases:
diseases.py(search_diseases,get_disease_curations) - assertions:
assertions.py(get_gene_disease_assertion,find_curations,resolve_identifier) - submitters:
submitters.py(list_submitters) Add the tool to the matchingregister_*_tools(mcp)function (create a new group only if it genuinely does not fit an existing one).
- discovery:
- Register in the facade. If you added a new
register_*_toolsgroup, wire it intogencc_link/mcp/facade.pycreate_gencc_mcp(). - Update the capabilities
TOOLStuple. Editgencc_link/mcp/capabilities.py— theTOOLStuple is the canonical inventory returned byget_server_capabilitiesand thegencc://capabilitiesresource. Order matters; keep it consistent with the README table. - Tune the description and envelope. Write the tool description for an AI
client choosing a tool: what it does, when to use it, input/output shape, and
what it does NOT do. Keep
READ_ONLY_OPEN_WORLDannotations (gencc_link/mcp/annotations.py), therun_mcp_toolenvelope (gencc_link/mcp/envelope.py),response_modeshaping (gencc_link/services/shaping.py), and_meta.next_commands(gencc_link/mcp/next_commands.py). - Error mapping. If the tool can raise a new exception, ensure it maps to a
typed error code (
invalid_input,not_found,ambiguous_query,data_unavailable,upstream_unavailable,rate_limited,internal_error) ingencc_link/exceptions.py/ the envelope classifier. - Tests. Add or update tests under
tests/covering the tool's behavior, its presence in the capabilities inventory,response_modeshaping, and error masking. Runmake test(optionally-k <tool_name>). - Docs / tables. Update the tool tables in
README.md,docs/MCP_CONNECTION_GUIDE.md, anddocs/usage.md. Mention the tool indocs/architecture.mdif it changes the tool grouping. - Preserved names. Existing tool names are part of the public contract.
Renaming or removing a tool requires a
CHANGELOG.mdentry and a migration note. - CI. Run
make ci-local.
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.

