mcp-server-polarion: Skill for Claude Code

.claude/skills/shrink-mcp-tool-docs/SKILL.md

shrink-mcp-tool-docs is a skill for Claude Code from devemberx/mcp-server-polarion. It costs 98 tokens per session (3,340 once invoked), scanned A, original, MIT.

A procedure for shortening the descriptions that coding agents see for MCP tools. MCP is a way for an agent to connect to external tools; the procedure covers both tool descriptions and parameter descriptions.

In plain words
What is it for?
Use it when reducing the size of MCP tool docstrings or parameter descriptions while checking that tool evaluations continue to pass.
Why use it?
Long descriptions use the agent's available context and can make tool information harder to process. The procedure tests shorter wording and keeps the last version that still passes evaluations.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is devemberx/mcp-server-polarion's own configuration. It tells Claude Code how to work on mcp-server-polarion itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp-server-polarion configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/devemberx/mcp-server-polarion/main/.claude/skills/shrink-mcp-tool-docs/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/devemberx/mcp-server-polarion

Made for: Claude Code.

Wrote 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.

agentmods badge for shrink-mcp-tool-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/devemberx/mcp-server-polarion/shrink-mcp-tool-docs/github.svg)](https://agentmods.dev/skills/devemberx/mcp-server-polarion/shrink-mcp-tool-docs)
Your own site
<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.

agentmods 80×15 button for shrink-mcp-tool-docs

Your own site · 80×15
<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>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,340 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00098 $0.03340
Opus 5 $0.00049 $0.01670
Sonnet 5 $0.00020 $0.00668
Haiku 4.5 $0.00010 $0.00334

Measured 12d ago against content hash 5835ec82299b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

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 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/dump_schema.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/shrink-mcp-tool-docs/SKILL.md · 142 lines

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 only description= 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.

Read the full file on GitHub · 142 lines

Files

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.

Changes

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.

  1. 12d ago First seen · 142 lines · 98 tokens per session scan A 5835ec82299b

Subscribe to this mod's changes

shrink-mcp-tool-docs is a skill published in the GitHub repository devemberx/mcp-server-polarion (14 stars, last pushed 3d ago), licensed MIT. It adds 98 tokens to every session and 3,340 once invoked, about $0.0005 per session on Opus 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.

Related

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.

BlockRunAI/blockrun-mcp · 46 tokens

surf

Surf (asksurf.ai) is RETIRED on BlockRun and the blockrunsurf tool was REMOVED in 0.49.0 — the gateway has answered every /v1/surf/ path with HTTP 410 endpointretired since 2026-09-06. Use this skill to route a former Surf question (on-chain SQL, wallet labels and net worth, CEX order books, social mindshare, news) to…

BlockRunAI/blockrun-mcp · 110 tokens

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…

portainer/portainer-mcp · 315 tokens

vault-for-llm

Connect OpenClaw to Vault Agent Memory as a local-first governed project memory layer. Search first, then bounded-read cited source ranges; propose new memories as candidates instead of writing directly into active memory.

zycaskevin/Vault-Agent-Memory · 46 tokens

setup

Configure the Qdrant Power after installation. Use this skill for missing uvx, missing environment variables, unapproved environment variables, unavailable Qdrant tools, "Failed to connect" errors, and setup requests.

qdrant/mcp-server-qdrant · 45 tokens

kicad-library

Library management workflow for KiCAD — creating symbols, footprints, and managing libraries via MCP tools. Triggers on: "create a symbol", "make a footprint", "custom component", "register library", "find a part", "pin numbering", "new symbol", "new footprint", "add to library", "library path", "pad layout".

mixelpixx/Konnect · 77 tokens