---
title: "Discussion on \"My Agent Had the Right Tool in a 50-Tool Menu. It Used the Wrong One.\" | Hashnode"
description: "Discussion on \"My Agent Had the Right Tool in a 50-Tool Menu. It Used the Wrong One.\". Raw accuracy fell 25 points at 50 tools, but a chance-corrected read tells a very different story."
url: "https://hashnode.com/posts/my-agent-had-the-right-tool-in-a-50-tool-menu-it-used-the-wrong-one/6aebe566e425433ca7cea95c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [My Agent Had the Right Tool in a 50-Tool Menu. It Used the Wrong One.](https://priyanshsinghal.hashnode.dev/my-agent-had-the-right-tool-in-a-50-tool-menu-it-used-the-wrong-one?utm_source=hashnode&utm_medium=feed)

Raw accuracy fell 25 points at 50 tools, but a chance-corrected read tells a very different story.

Nov 5 · 9 min read · priyanshsinghal.hashnode.dev  
Read the article

-   [#ai-agents](https://hashnode.com/tag/ai-agents)
-   [#mcp](https://hashnode.com/tag/mcp)
-   [#llm](https://hashnode.com/tag/llm)
-   [#machine-learning](https://hashnode.com/tag/machine-learning)
-   [#tool-calling](https://hashnode.com/tag/tool-calling)

## Written by

[Priyansh Singhal](https://hashnode.com/@priyanshsinghal)

@priyanshsinghal · New Delhi, India

  
[View profile](https://hashnode.com/@priyanshsinghal)

Full-stack & AI engineer, writing about RAG, LLM agents, and GenAI.

Full-stack and AI engineer based in New Delhi, about three years into building production software with React, Node, and Python. Lately focused on GenAI: RAG pipelines, LLM agents, vector search. Writing about what I'm actually learning while building these systems.

## Responses 3

Markdown supported · ⌘↵ to post

[Cai](https://hashnode.com/@cailab)

[Nov 5](https://hashnode.com/posts/my-agent-had-the-right-tool-in-a-50-tool-menu-it-used-the-wrong-one/6aebe566e425433ca7cea95c/comment/6aec38916340baaa23e34947)

The find\_contact absorption is a great signal -- one tool acting as a default sink across all menu sizes suggests the model falls back on a high-frequency embedding rather than re-scoring every option. This is exactly why protocol-level tool grouping (like MCP's per-server namespace separation) helps: it shrinks the effective decision surface by scoping the model to only the tools in the relevant domain. A flat 50-item menu forces discrimination across unrelated categories, while structured routing keeps each decision point small.

[AI Developer](https://hashnode.com/@lycore)

[Nov 5](https://hashnode.com/posts/my-agent-had-the-right-tool-in-a-50-tool-menu-it-used-the-wrong-one/6aebe566e425433ca7cea95c/comment/6aec0f9bfb9476c89938ea1e)

The chance-corrected framing is a useful correction to the raw-accuracy headline. With 20 scenarios and one trial each, a 55% vs 75% difference has a fairly wide confidence interval (a Wilson interval on n=20 is roughly +/-20 points), so repeating each pair a few times at temperature above 0 might show how much of the 25 to 50 cliff is noise. The find\_contact result also made me wonder about two things: whether its description is broader than the others (a generic 'look up a person' tool can act as an attractor for any request that mentions a name), and whether menu order matters. Shuffling tool order between runs would separate a genuine attractor from position bias. Did you try either, or test a retrieval step that pre-filters the menu to the top-k tools?

[X1Y1](https://hashnode.com/@x1y1)

[Nov 5](https://hashnode.com/posts/my-agent-had-the-right-tool-in-a-50-tool-menu-it-used-the-wrong-one/6aebe566e425433ca7cea95c/comment/6aebfc8bbfd08ebda4d31dd8)

Good call separating the three always-wrong scenarios from the tool-count effect. On your closing question, I would do the telemetry first. Most agents reach 50 tools by connecting a few MCP servers, not by design, so a per-tool failure count from your own logs usually points at one server, and the fix is often disconnecting it rather than adding a retrieval layer. It also matters what the sink tool can do. find\_contact absorbing calls is a wasted turn. A generic update or send tool absorbing them is an action nobody asked for.
