All research

Marginal tool utility in agentic debugging

Download PDF

TL;DR

Giving an AI agent more tools does not always help. In our test, removing distracting tools kept its answers just as accurate and made its tool use much more efficient.

What we measured

An agent can call many tools and still fail to make progress. Looking only at the final answer hides which calls helped and which calls added noise, so we use two measurements:

  • Marginal tool utility asks whether one tool call made the agent more likely to solve the task. A call has positive utility when it helps, zero utility when it changes nothing, and negative utility when it moves the agent away from the solution.
  • Tool efficiency is the share of all tool calls in a trajectory that had positive utility. A higher score means the agent spent more of its calls making useful progress.

The experiment

We evaluated these measurements on APEX-SWE Observability, where agents debug software problems with read-only MCP tools. We compared the default harness, which included Grafana/Loki, Mattermost, and Plane, with a smaller harness that kept only Grafana/Loki.

This comparison tests whether every available tool improves the debugging process. Mattermost and Plane can contain useful context, but they can also give an agent more places to search without bringing it closer to the root cause.

Results

Removing the noisy tools preserved task accuracy while increasing tool efficiency.

For GPT-5.3-Codex, mean tool efficiency moved from 0.359 with the default suite to 0.720 with Grafana/Loki only. For Gemini 3.1 Pro, it moved from 0.367 to 0.593.

For GPT-5.3-Codex, this means the useful share of tool calls roughly doubled. Gemini 3.1 Pro also made substantially more useful calls with the smaller tool suite.

What this means

The lesson is not that agents should always receive fewer tools. The lesson is that each tool should earn its place. Some tools add signal, while others create extra paths that the agent must explore.

Marginal tool utility shows which calls help, hurt, or do nothing. Tool efficiency summarizes that behavior across a full debugging trajectory, giving teams a concrete number they can use when designing and comparing agent tool suites.

Perla Gámez Aguilera, Cofounder & CEO · Nyx Iskandar, Founding Engineer