Borrowing it
Nothing to install: this file belongs to devemberx/mcp-server-polarion. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/devemberx/mcp-server-polarion/main/.claude/skills/shrink-mcp-tool-docs/SKILL.mdgit clone --depth 1 https://github.com/devemberx/mcp-server-polarionWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/devemberx/mcp-server-polarion/shrink-mcp-tool-docs)<a href="https://agentmods.dev/skills/devemberx/mcp-server-polarion/shrink-mcp-tool-docs"><img src="https://agentmods.dev/badge/skills/devemberx/mcp-server-polarion/shrink-mcp-tool-docs/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/devemberx/mcp-server-polarion/shrink-mcp-tool-docs"><img src="https://agentmods.dev/badge/skills/devemberx/mcp-server-polarion/shrink-mcp-tool-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00098 | $0.03340 |
| Opus 5.5 | $0.00039 | $0.01336 |
| Sonnet 5.5 | $0.00020 | $0.00668 |
| Haiku 4.5 | $0.00010 | $0.00334 |
Grade A, and why
shrink-mcp-tool-docs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 142 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Shrink Tool Descriptions
Goal: minimize chars (tokens) shipped to client LLM through @mcp.tool descriptions — tool description (whole docstring) and Field(description=...) param descriptions — push to failure boundary while keeping eval gate GREEN. Run as compress → eval → compress loop: probe boundary, adopt last GREEN before it. RED never committed — RED mean "one cut too far."
Be deliberate. One tool at a time. Each cut small delta from current GREEN, never jump to absolute terse form. Snapshot before every cut. On RED, bisect cut set — never full-revert to original (net-zero trap). Reproduce RED before trusting it (min_pass_rate=1.0 make single RED possibly noise).
What actually ships to the LLM (reprove every run — Step 0)
Repo does not use Google-style Args:/Returns: docstrings. Verified surfaces:
- Tool
description= ENTIRE docstring. No section stripped — whole prose ships. Primary target; editing it docstring-only. - Param descriptions =
Field(description=...)in signature, NOT docstring. Ship in input schema (properties[p].description); docstring edit cannot touch them. - No
Returns:/Raises:/Example:blocks exist to strip — no free text there to delete.
Don't trust list blind — reprove with Step-0 dump each run; refactor or FastMCP change can move text between surfaces.
Two scopes
- Scope A — docstring-only (default). Compress docstring prose → tool
description. Signature untouched. Fully honors "signature/return/logic unchanged." - Scope B — Field-description pass (opt-in; needs explicit operator go-ahead). Also compress
Field(description=...)strings. Touch onlydescription=string — never type,default,min_length/max_length, or validators. Params often big share of LLM-facing chars (~40% on param-heavy tools, per Step-0 dump), so Scope B roughly doubles reachable savings.
If operator not opted into Scope B, every Field(description=...) no-op for your edits — exclude from reducible baseline, report as such.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 142 lines · 98 tokens per session scan A 5835ec82299b
shrink-mcp-tool-docs is a skill published in the GitHub repository devemberx/mcp-server-polarion (17 stars, last pushed 2d ago), licensed MIT. It adds 98 tokens to every session and 3,340 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
gentech-blockrun
GenTech Labs' integration patterns for BlockRun MCP from Hermes Agent. Covers daily usage patterns, cost-optimized workflows, multi-tool pipelines, and reliable error handling for BlockRun's full toolset.
portainer-mcp-hygiene
How to drive the Portainer MCP server's tools correctly — both reading and mutating. Reading: project responses with select (JMESPath), where the heavy fields live (snapshots, status blocks, managed fields), how to handle non-JSON Docker/K8s proxy endpoints (container and pod logs, stats, exec), and how to interpret…
mcptoon
Compress MCP tool discovery with the mcptoon CLI. Trigger when a session has a large MCP tool catalog (many servers/tools), when the user mentions token cost, tool discovery, mcptoon, or asks to list/call MCP tools efficiently. Also route here when the user says the MCP tool list is too large, the agent context window…
research-article-analysis
Systematically validate a research article's claims against TogoMCP RDF databases — molecular formulas, reaction equations, pathways, protein function, GO definitions — instead of trusting the paper's text or keyword-search snippets. Use whenever the user asks to "analyze this paper/article", fact-check or validate a…
disease-analysis
Run a multi-scale disease pathophysiology analysis — molecular defects through to clinical symptoms — using TogoMCP (RDF Portal SPARQL), TogoID ID conversion, OLS4, and PubMed. Use whenever the user asks to "analyze a disease", build a disease mechanism model, find disease-associated proteins/pathways/drugs, map a…
index-advisor
Recommend which indexes to add or drop for a connection, using DeepSQL's workload-weighted advisor, and optionally dry-run/apply them.