# Description length outlier

> ax-check rule: The description is far longer than the others in the same catalogue, which costs context on every turn.

Section: ax-check rule · Descriptions and schemas  
Canonical: https://agentexperience.tech/checks/axc-d016/

The description is far longer than the others in the same catalogue, which costs context on every turn.

- **How serious**: **info** Worth knowing, but may be fine for your product.
- **Kind of check**: **[Heuristic](https://agentexperience.tech/checks/#kinds)** A pattern match: a prompt to look, not a verdict.
- **ax-check command**: `ax-check lint`
- **Where it applies**: MCP tool lists, OpenAPI, SKILL.md, CLI help
- **Topics**: [context-budget](https://agentexperience.tech/evidence/#pattern-context-budget), [cost](https://agentexperience.tech/evidence/#pattern-cost)
- **Rule text from**: ax-check 0.2.0Documented ahead of release

**Fix in one line** Move reference detail out of the description into docs, a resource or a schema, and keep selection text short.

One description is far longer than the others in the same catalogue. Descriptions are usually loaded into the agent’s context on every turn, so a very long one costs context all the time, even when the item is not used. This is information, not a failure: a long description can be justified, but it is worth a second look.

## What it checks

ax-check compares the length of each description with the median length of the other descriptions on the same surface (one MCP tool list, one OpenAPI document, one set of skills or one CLI’s help). It reports descriptions that are far above the median, or very long in absolute terms when the catalogue is too small to have a useful median.

## Why it matters

Tool and skill descriptions are part of the prompt. An MCP client typically gives the model every tool description before the first call, and a skill’s description is always loaded so the agent can decide whether to activate it. A 4,000 character description in a list of 300 character ones usually means reference material has crept into selection text: full error tables, long examples or a changelog.

Footprint matters at scale. In the SCOUT paper (Saha, Wang and Manoharan, arXiv 2608.23992, 25 August 2026), the authors report that in their production MCP gateway at PayPal, tool definitions took 140.2k tokens (70.1% of the context) before they added retrieval, and 1.3k tokens (0.8%) after. That is the authors’ own production claim, from a vendor-affiliated team, and it is about token accounting, not accuracy.

## How to fix

- Keep the description to what the item does, when to use it, when not to and which neighbour to use instead.
- Move reference detail into the input schema (enums, formats, limits), into a resource or into documentation the agent can fetch on demand.
- For skills, move detail into the SKILL.md body or into files under `references/`.

## Example

### Before

```json
{
  "name": "create_invoice",
  "description": "Create a draft invoice for one customer. Use this when the user asks to bill a customer. Error codes: E100 means the customer was not found, E101 means the currency is not supported, E102 means ... (40 more error codes) ... Changelog: in version 2 the tax field became optional ... (2,800 more characters)"
}
```

### After

```json
{
  "name": "create_invoice",
  "description": "Create a draft invoice for one customer and return its invoice ID. Use this when the user asks to bill a customer for work already done. Do not use this to send an invoice; use send_invoice instead. Errors name the field to fix."
}
```

## How ax-check detects it

ax-check measures each description in characters. Only descriptions that are present and are not placeholders take part. For OpenAPI, the operation’s `summary` and `description` are joined and measured together.

- With four or more descriptions on the surface, a description is reported when it is longer than three times the median length and also longer than 1,000 characters.
- With fewer than four descriptions, a description is reported when it is longer than 2,000 characters.

The finding gives the length and the median. The 1,000 character floor stops the rule firing on catalogues where every description is short and one is merely medium.

Known false positives: a tool whose job needs a long contract (for example a query language summary) may be reported although the length is deliberate. Known false negatives: a catalogue where every description is too long has a high median, so none stands out. [Context footprint estimate](https://agentexperience.tech/checks/axc-d017/) reports the total footprint for that case.

If the finding does not apply, silence it with `--disable <rule-id>`.

## Sources

- Paper: Saha, Wang and Manoharan, “Hybrid Semantic Tool Discovery for Enterprise MCP Gateway: Architecture and Implementation” (SCOUT), arXiv 2608.23992, 25 August 2026. [https://arxiv.org/abs/2608.23992](https://arxiv.org/abs/2608.23992). The authors’ production claim (vendor-affiliated): tool-token use fell from 140.2k tokens (70.1% of context) to 1.3k tokens (0.8%). A token-accounting result, not an accuracy result.
- Guide: Write tool descriptions an agent can act on, agentexperience.tech, retrieved 2026-10-08. [https://agentexperience.tech/insights/tool-descriptions/](https://agentexperience.tech/insights/tool-descriptions/). Keep the description to what, when, when not and which neighbour; put closed sets in the schema.
- Guide: Agent tool catalogues: how to keep an MCP tool catalog small, agentexperience.tech, retrieved 2026-10-08. [https://agentexperience.tech/insights/agent-tool-catalogs/](https://agentexperience.tech/insights/agent-tool-catalogs/). Keep a catalogue focused.

## Related evidence

Records in the [AX evidence register](https://agentexperience.tech/evidence/) about the same pattern as this rule. They don’t test the rule itself.

- [Injected skills lowered pass rates and raised token cost on average](https://agentexperience.tech/evidence/ev-0017/): WebDev-Skills-Bench (preprint) found that injecting matched public skills reduced mean Pass@2 by 1.3% to 4.2% across four models and raised token cost by 72% to 394%, with gains in only 17% to 36% of skill-project pairs. Preprint: not yet peer reviewed
- [Search-and-execute meta-tools cut catalogue tokens by 99% in production](https://agentexperience.tech/evidence/ev-0022/): PayPal authors report (preprint) that exposing two meta-tools, search and execute, over 2,000+ MCP tools cut tool-token consumption in production from 140.2k tokens (70.1% of context) to 1.3k tokens (0.8%). Preprint: not yet peer reviewed
- [Agent scaffolding, not MCP versus CLI, drove cost](https://agentexperience.tech/evidence/ev-0010/): A controlled comparison (preprint) found that on one git task the agent scaffolding drove cost more than MCP versus CLI: CLI-only scaffoldings were 5.0x to 28x cheaper, and paired MCP-to-CLI cost ratios ranged from 0.43x to 29x. Preprint: not yet peer reviewed
- [A capable agent skipped the index and guessed the page](https://agentexperience.tech/evidence/ev-0027/): A preregistered ablation on a 709-page Markdown wiki (preprint) found that a capable tool-using agent never loaded the compact catalogue index, inferring page paths from the question instead, while retrieval-based access kept answer quality non-inferior and cut cost by about a third to over half. Preprint: not yet peer reviewed
- [A JSON input mode for a CLI raised agent cost 4x to 11x](https://agentexperience.tech/evidence/ev-0028/): Microsoft reports that on a synthetic CLI, run five times per model in GitHub Copilot Chat, every model was correct 5/5 with individual arguments, while a --json payload mode cost 4x to 11x more per task and dropped Claude Haiku 4.5 to 2/5 and MAI-Code-1-Flash to 3/5. Vendor measurement: the vendor’s own, with its method
- [A model with cheaper tokens cost 3.7x more per run](https://agentexperience.tech/evidence/ev-0031/): Microsoft reports that on SharePoint Framework upgrade tasks Claude Sonnet 5 cost $2.01 per run against $0.55 for Claude Sonnet 4.6, 3.7x more despite 33% lower per-token prices, while on architecture tasks it was 12% cheaper. Vendor measurement: the vendor’s own, with its method

## Related guides

- [Agent tool catalogues need a pruning strategy](https://agentexperience.tech/insights/agent-tool-catalogs/): How to design an agent tool catalogue: why selection gets harder as an MCP tool catalog grows, three ways to prune it, and how to name neighbouring tools. Guide
- [How do you measure agent experience?](https://agentexperience.tech/insights/measure-agent-experience/): How to measure agent experience: the key metrics in four families, a bare baseline to compare every change against, and the run record each metric depends on. Guide

## Go here next

- [Agent tool catalogues need a pruning strategy](https://agentexperience.tech/insights/agent-tool-catalogs/): A small, clearly separated catalogue is usually easier to choose from than a long list of overlapping actions. Guide
- [Injected skills lowered pass rates and raised token cost on average](https://agentexperience.tech/evidence/ev-0017/): WebDev-Skills-Bench (preprint) found that injecting matched public skills reduced mean Pass@2 by 1.3% to 4.2% across four models and raised token cost by 72% to 394%, with gains in only 17% to 36% of skill-project pairs. Evidence
- [Context footprint estimate](https://agentexperience.tech/checks/axc-d017/): Reports the bytes and approximate tokens the whole surface costs an agent before it does any work. Rule

## About this rule text

[Description too short](https://agentexperience.tech/checks/axc-d015/)

[Context footprint estimate](https://agentexperience.tech/checks/axc-d017/)

[All ax-check rules](https://agentexperience.tech/checks/)

Rule text from ax-check 0.2.0, by Himadri Mishra. The licence will be confirmed before the source repository is published.
