Eta Given Delta: Defining LLM Tool Efficiency With Marginal Tool Utility
This paper introduces "tool efficiency" and "marginal tool utility" as new quantitative metrics to directly evaluate and optimize the rate of useful tool calls in LLM agent trajectories, aiming to guide the creation of leaner tool suites that complement traditional accuracy-based evaluations.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine a world where computers don't just chat, but actually do things. This is the realm of AI Agents. Think of a standard Large Language Model (LLM) like a brilliant but bookish student who knows a lot of facts but can't leave the library. To make this student useful in the real world, we give them a set of "tools"—like a calculator, a search engine, or a code editor—so they can solve problems, fix bugs, or find information. This is the exciting frontier of modern AI: turning a passive brain into an active worker.
However, there's a catch. Just because you have a toolbox doesn't mean every tool is helpful. Sometimes, grabbing a hammer when you need a screwdriver just wastes time and confuses the worker. In the past, scientists mostly cared if the final job got done correctly (the "accuracy"). But they rarely asked: "How many wrong turns did the robot take to get there?" or "Did it waste time using tools that didn't help?" This paper steps into that gap, asking a simple but powerful question: How efficient is the AI's tool usage? The authors want to measure not just if the AI succeeded, but how well it used its tools to get there, hoping to build leaner, faster, and smarter AI workers for the future.
The "Useless Tool" Detective
In this paper, the authors introduce a new way to look at how AI agents use their tools. They call their new metric "Tool Efficiency." To understand this, imagine you are watching a detective solve a mystery. The detective has a bag of gadgets: a magnifying glass, a fingerprint kit, a walkie-talkie, and a crystal ball.
If the detective uses the magnifying glass to find a clue, that's a useful move. If they use the crystal ball to guess the answer and it turns out to be wrong, that's a waste. The authors realized that while we usually just check if the detective solved the case, we don't usually count how many times they grabbed the wrong gadget. They wanted a way to count the "good" tool uses versus the "bad" ones.
The Secret Ingredient: Marginal Tool Utility
To figure out if a tool use was good or bad, the authors invented a concept called Marginal Tool Utility. This sounds fancy, but it's actually quite simple. It asks: "Did this specific tool call help the AI get closer to the right answer, or did it just add noise?"
To test this, they used a clever trick called "LLM-as-a-Judge." Imagine a super-smart referee watching the detective's every move. After the detective uses a tool, the referee looks at the situation before the tool was used and after it was used.
- If the situation looks clearer and the detective is more likely to solve the case, the referee gives a thumbs up (positive utility).
- If the detective just got confused or went in circles, the referee gives a thumbs down (non-positive utility).
The authors found that they didn't need to know the exact math of how much better things got; they just needed to know the sign (positive or negative) of the change. This allowed them to label every single tool call in an AI's journey as either "useful" or "not useful."
The Experiment: Cleaning Out the Clutter
To prove their idea works, the authors set up a real-world test using a benchmark called APEX-SWE Observability. This is a tough challenge where AI agents have to fix bugs in computer code by looking at logs and talking to other systems.
The agents were given a "tool suite" containing:
- Grafana/Loki: A tool for reading system logs (like reading the crime scene photos).
- Mattermost: A tool for reading team chat messages (like reading the suspects' gossip).
- Plane: A tool for reading project tickets (like reading the case file).
The authors suspected that reading the actual logs (Grafana/Loki) would be super helpful, but reading the chats and tickets might just distract the AI. To test this, they ran the same 25 difficult tasks three times with different tool sets:
- The Full Kit: All three tools available.
- The Log-Only Kit: Only the log tool (Grafana/Loki).
- The No-Extra-Tools Kit: No chat or ticket tools at all.
What They Found
The results were a clear confirmation of their hypothesis.
1. Accuracy didn't drop when they removed the "chatter."
When they took away the chat (Mattermost) and ticket (Plane) tools, the AI's success rate stayed roughly the same. In fact, for one model (GPT-5.3-Codex), accuracy actually went up slightly from 0.32 to 0.36 when the extra tools were removed. This proved that those extra tools weren't helping; they were just clutter.
2. The "Log" tool was the real hero.
When they removed the log tool (Grafana/Loki), the AI's performance crashed. Accuracy dropped to 0.24 for the GPT model and 0.20 for the Gemini model. This confirmed that the log tool was essential, while the others were just "dead weight."
3. Efficiency skyrocketed when they cleaned up.
This is where the new metric shined. By removing the useless tools, the "Tool Efficiency" jumped dramatically.
- For the GPT model, efficiency went from 0.359 (about 36% of tool calls were useful) in the full kit to 0.720 (72% useful) in the log-only kit.
- For the Gemini model, it went from 0.367 to 0.593.
In plain English: When the AI stopped wasting time checking chat messages and project tickets, it spent almost twice as much of its time doing actually helpful things.
The "Middle Call" Mystery
The authors also noticed something funny about when the AI made mistakes. They found that the AI often started strong, using the right tools (like reading logs) at the beginning. But in the middle of its work, it would often get distracted, using tools that didn't help (like reading chats) and wasting steps. It was like a detective who starts by looking at the crime scene, then spends an hour reading the suspect's diary, and only then goes back to the scene. The authors suggest that future AI systems could be programmed to recognize this "middle slump" and stop using tools that aren't helping, essentially teaching the AI to "backtrack" before it wastes too much time.
Why This Matters
The paper concludes that we shouldn't just build AI agents with every tool under the sun. Instead, we should use these new metrics to build "lean" tool suites. Just like a carpenter doesn't carry a hammer, a saw, and a drill to fix a loose screw, an AI shouldn't carry tools it doesn't need.
The authors suggest that by measuring Marginal Tool Utility and Tool Efficiency, developers can create AI agents that are not only accurate but also faster and cheaper to run. They argue that this is a crucial step toward making AI agents that are truly efficient, rather than just "smart but clumsy." They don't claim to have solved everything, but they have handed the community a new ruler to measure how well our AI workers are actually working.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.