# No neighbouring tool named

> ax-check rule: In a catalogue with more than one entry, the description does not name any other entry to use instead.

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

In a catalogue with more than one entry, the description does not name any other entry to use instead.

- **How serious**: **warn** A gap that leaves the agent guessing. Milder on CLI help, OpenAPI.
- **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**: [description](https://agentexperience.tech/evidence/#pattern-description), [selection](https://agentexperience.tech/evidence/#pattern-selection)
- **Rule text from**: ax-check 0.2.0Documented ahead of release

**Fix in one line** Name the closest alternative by its exact name, for example "To find an invoice ID first, use list\_invoices."

In a catalogue with more than one entry, this description does not name any other entry to use instead. Saying “use the other tool” is vague. Saying “use `get_invoice` when you know the ID” gives the agent an exact next move when it has picked the wrong item.

## What it checks

For each item in a catalogue of two or more, ax-check checks whether the description mentions the exact name of at least one other item in the same file.

## Why it matters

Overlap between tools is common across the MCP ecosystem. Tang, Chen and Xiao mapped 1,328,233 tool specifications from 124,267 MCP servers listed on 17 marketplaces; the paper’s claim (October 2026) is that 98.5% of tools have at least one functional alternative. Those alternatives are counted across the whole ecosystem, mostly on other servers. The abstract does not report how often tools inside one server overlap.

This rule applies the idea to neighbours inside your own catalogue, such as a list tool and a get tool, or a draft tool and a send tool. That step is design rationale, not something the paper establishes: such pairs are a common way to split a task, and they are the pairs an agent can confuse.

When the description names the neighbour, the agent can switch without a second search. It also forces the author to state the difference, which helps people reading the catalogue too. The [tool descriptions guide](https://agentexperience.tech/insights/tool-descriptions/) asks for the nearest neighbour by name, and [Agent tool catalogues](https://agentexperience.tech/insights/agent-tool-catalogs/) explains how to keep a catalogue small and its entries distinct.

## How to fix

Name the closest alternative by its exact name, and say when to switch. For example: “To find an invoice ID first, use list\_invoices.” Ideally each pair of neighbours names the other.

## Example

### Before

```json
[
  {
    "name": "get_invoice",
    "description": "Returns one invoice with its line items and payment history. Use this when the user refers to a specific invoice."
  },
  {
    "name": "search_invoices",
    "description": "Searches invoices by customer, status or date range and returns up to 50 matches. Use this when the user asks to find invoices."
  }
]
```

### After

```json
[
  {
    "name": "get_invoice",
    "description": "Returns one invoice with its line items and payment history. Use this when you know the invoice ID. If you do not know the ID, use search_invoices instead."
  },
  {
    "name": "search_invoices",
    "description": "Searches invoices by customer, status or date range and returns up to 50 matches. Use this when the user asks to find invoices. To read one invoice in full, use get_invoice instead."
  }
]
```

## How ax-check detects it

The rule runs only when the file has more than one selectable item. The root of a CLI does not count as an item. For OpenAPI, an item’s name is its `operationId`, or its method and path when there is no `operationId`.

For each description, ax-check searches for the name of every other item, ignoring case. A name counts only as a whole identifier: it must not touch a letter, digit, underscore or hyphen on either side, so `get_invoice` inside `get_invoice_pdf` does not count. The item’s own name is ignored, and so are names shorter than three characters. The rule does not run when [Placeholder description](https://agentexperience.tech/checks/axc-d002/) found a placeholder.

Known false negatives: when names are ordinary words, which is common for CLI subcommands such as `list`, `status` or `sync`, any use of that word in prose counts as naming the neighbour. A `deploy` command described as “Builds the site and updates the status page” passes because it contains “status”. The rule also does not check that the named item is a sensible alternative.

Known false positives: a description that refers to a neighbour by a paraphrase (“the search tool”) is reported. Use the exact name. For a catalogue where items genuinely have no overlap, silence the rule with `--disable <rule-id>`.

## Sources

- Paper: Tingxuan Tang, Zilong Chen and Yue (Luna) Xiao, “Understanding the Hierarchical Structure and Functional Landscape of the Model Context Protocol Ecosystem”, arXiv 2610.05319, 4 October 2026 (preprint, not peer reviewed). [https://arxiv.org/abs/2610.05319](https://arxiv.org/abs/2610.05319) . The paper’s claim, from 1,328,233 tool specifications across 124,267 servers on 17 marketplaces, is that 98.5% of tools have at least one functional alternative. The extension to neighbours inside one server is this rule’s design rationale.
- Site guide: Write tool descriptions an agent can act on, agentexperience.tech. [https://agentexperience.tech/insights/tool-descriptions/](https://agentexperience.tech/insights/tool-descriptions/) . Asks every description to name the nearest neighbouring tool.
- Site guide: Agent tool catalogues: how to keep an MCP tool catalog small, agentexperience.tech. [https://agentexperience.tech/insights/agent-tool-catalogs/](https://agentexperience.tech/insights/agent-tool-catalogs/) . Discusses keeping a catalogue small so that its entries stay distinct.

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

- [Praise and list order move tool selection](https://agentexperience.tech/evidence/ev-0020/): A preregistered preprint with two small OpenAI models found that stacked praise in a tool description raised its pick rate by about 43 percentage points, and that with identical listings the first-listed tool was picked about 72 points more often. Preprint: not yet peer reviewed
- [An enum in the schema ends silent failures from example-only vocabularies](https://agentexperience.tech/evidence/ev-0001/): SilentProbe (preprint) reports that a vocabulary a parameter description only exemplified ("e.g.") was missed on 88 of 88 attempts across twelve models, and that promoting it into the schema cut the failure to 0 of 89. Preprint: not yet peer reviewed
- [Error text that names the next tool lifts recovery](https://agentexperience.tech/evidence/ev-0003/): A preprint testing five OpenAI models reports that an expired-credential error naming a terminal command left 45% of tasks recovered, naming the server's login tool instead raised recovery to 84%, and on rate limits naming the call to repeat raised recovery from 6% to 88%. Preprint: not yet peer reviewed
- [Skill rules that name a command or path change what agents do](https://agentexperience.tech/evidence/ev-0018/): A study of 3,159 skills (preprint) found that adding a checkable rule raised the rate at which four coding agents took the required action by +0.23 on average, with the gain coming mainly from rules naming a command or path the old skill did not mention. Preprint: not yet peer reviewed
- [Skill selection precision collapses as the skill pool grows](https://agentexperience.tech/evidence/ev-0019/): A preprint reports that as the pool of available skills grew from 5 to 100, the precision with which agents actually used the right skill fell from 29.6% to 3.3%. Preprint: not yet peer reviewed
- [Agents leave available tools unused: the adoption gap](https://agentexperience.tech/evidence/ev-0021/): On OSWorld-MCP (preprint), a reasoning model given MCP tools called one on only 55 of 309 tasks, 23.9% of the tasks a tool could reach, and the same tools made a non-reasoning model 5.9 points worse. Preprint: not yet peer reviewed

## Related guides

- [Write tool descriptions an agent can act on](https://agentexperience.tech/insights/tool-descriptions/): How to write tool names, descriptions and JSON schemas that help an AI agent choose correctly, and why tool text deserves review like interface copy. Guide
- [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

## Go here next

- [Write tool descriptions an agent can act on](https://agentexperience.tech/insights/tool-descriptions/): The text around a tool affects whether an agent can find it, choose it, and use it well. Guide
- [Praise and list order move tool selection](https://agentexperience.tech/evidence/ev-0020/): A preregistered preprint with two small OpenAI models found that stacked praise in a tool description raised its pick rate by about 43 percentage points, and that with identical listings the first-listed tool was picked about 72 points more often. Evidence
- [Closed vocabulary hinted in prose, not declared as an enum](https://agentexperience.tech/checks/axc-d007/): A parameter description lists allowed values ("one of", "e.g. 'x'", "such as") but the schema declares no enum. Rule

## About this rule text

[Does not say when not to use it](https://agentexperience.tech/checks/axc-d005/)

[Closed vocabulary hinted in prose, not declared as an enum](https://agentexperience.tech/checks/axc-d007/)

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