add-tool
Skill15 starsChanged 4 months agoMITView on GitHub
Step-by-step checklist for adding a new tool to this PinMeTo MCP server, covering naming, schemas, handler wiring, and registration. Use when adding or modifying an MCP tool.
20 other projects use a version of this.
Adopted by
Most recently taken up by
- InBrowserApp/InBrowserApptheir own version, first seen Nov 30, 2026
- ooloth/dotfilestheir own version, first seen Nov 27, 2026
- alunduil/alunduil-chezmoitheir own version, first seen Nov 26, 2026
- fauguste/boondmanager-mcp-servertheir own version, first seen Nov 15, 2026
- Md-Nisar/neurontheir own version, first seen Nov 11, 2026
- HalemoGPA/whatsapp-mcp-servertheir own version, first seen Nov 8, 2026
Used with
Projects with it also use add-provider.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
PydanticSkilladd-provider
Add a new inference provider to genai-prices, including provider data, matching, usage extractors, update automation, cassettes, agentic checks, generated artifacts, and Python/JavaScript/Go parity tests. Use for a new provider, not a new model on an existing provider.
Also in 3 projects that use this
Other versions20 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 20
- InBrowserApp/InBrowserApp★ 343same name
- takeshy/obsidian-gemini-helper★ 117same name
- Azure-Samples/art-voice-agent-accelerator★ 74same name
- takeshy/obsidian-llm-hub★ 44same name
- ooloth/dotfiles★ 24same name
- fauguste/boondmanager-mcp-server★ 22same name
- microsoft/PilotSwarm★ 22same name
- HalemoGPA/whatsapp-mcp-server★ 9same name
- alunduil/alunduil-chezmoi★ 2same name
- eborden/logseq-mcp-server★ 2same name
10 more not listed
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.
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.
0
Common
Most of the 19 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Create tool registration function in appropriate module under src/tools/
- Very specific: line 11
Add response_format: ResponseFormatSchema to input schema
- Very specific: line 14
Use formatContent() helper to format response based on response_format
- Very specific: line 17
Add appropriate tool annotations — readOnlyHint: true for read-only tools, which is every tool currently in this server
- Distinctive: line 20
Follow the patterns in the existing tool modules rather than inventing new shapes — read a neighbouring tool in the same directory first.
“Common” is measured: kept by at least 6 in 10 of the 19 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
Adding a New Tool
- Create tool registration function in appropriate module under
src/tools/ - Name the tool following the
pinmeto_{action}_{network}_{resource}pattern (see AGENTS.md) - Define Zod schema for input validation
- Add
response_format: ResponseFormatSchemato input schema - Define or reuse output schema from
src/schemas/output.ts - Implement handler using
server.makePinMeToRequest()orserver.makePaginatedPinMeToRequest() - Use
formatContent()helper to format response based onresponse_format - Return both
content(text) andstructuredContent(typed data) from handler - For insights tools, use
aggregateInsights()andfinalizeInsights()helpers - Add appropriate tool annotations —
readOnlyHint: truefor read-only tools, which is every tool currently in this server - Register tool in
createMcpServer()function insrc/mcp_server.ts
Follow the patterns in the existing tool modules rather than inventing new shapes — read a neighbouring tool in the same directory first.
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.

