NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

T-Eval: Evaluating the Tool Utilization Capability of Large Language Models Step by Step

Zehui Chen, Weihua Du, Wenwei Zhang, Kuikun Liu, Jiangning Liu, Miao Zheng, Jingming Zhuo, Songyang Zhang, Dahua Lin, Kai Chen, Feng Zhao

Introduction

As Large Language Models (LLMs) evolve from conversational interfaces into autonomous "agents," their proficiency in utilizing external tools—such as APIs, calculators, and search engines—has become a defining metric of their utility. However, evaluating these capabilities remains a significant challenge. Current benchmarks often rely on holistic "pass/fail" metrics or single-step tool calls, which fail to diagnose why a model might fail a complex task. Is the failure due to poor planning, incorrect tool selection, or a simple formatting error? Furthermore, reliance on real-time API interactions introduces instability and variance into evaluation scores.

T-Eval addresses these issues by "disentangling" the tool-use process into a stable, reproducible, and diagnostic step-by-step framework.

The T-Eval Framework

The researchers deconstruct the complex process of tool utilization into a six-step pipeline, allowing for a granular analysis of model performance:

  1. Plan: Generating a high-level sequence of actions to solve a query.
  2. Reason: Determining the logic for the immediate next step.
  3. Retrieve: Selecting the most appropriate tool from a provided list.
  4. Understand: Interpreting documentation to identify necessary parameters.
  5. Instruct: Formatting the actual API call (e.g., generating valid JSON).
  6. Review: Analyzing tool output to verify if the goal was met or if errors occurred.
The T-Eval framework decomposes tool utilization into six fine-grained sub-tasks: Plan, Reason, Retrieve, Understand, Instruct, and Review.

To ensure high-quality evaluation, the benchmark utilizes a multi-agent data generation pipeline where initial queries and solution paths generated by GPT-3.5 and GPT-4 are refined and verified by human experts, creating a "golden path" for testing.

Dataset and Methodology

The T-Eval benchmark consists of 533 human-verified query-solution pairs, expanding into 23,305 total test cases across the six sub-domains. It features 15 base tools spanning domains like Finance, Travel, and Research. To test robustness, instructions are provided in two formats: a semantic "String" format and a strict programmatic "JSON" format.

Key Insights: The "Review" and "Retrieval" Bottlenecks

T-Eval reveals critical gaps in current LLM capabilities:

  • Format Following vs. Logic: A model's ability to produce valid JSON (Instruction Following) does not necessarily correlate with its problem-solving logic. Some models excel at formatting but fail at the underlying reasoning.
  • The Review Crisis: "Review" is identified as the most difficult skill. Most models struggle to detect when a tool has failed or returned irrelevant data, often hallucinating that a task is complete.
  • Retrieval Limits: Even large open-source models like Qwen-72B lag behind proprietary models in tool retrieval, highlighting a significant area for improvement in non-proprietary architectures.

Performance and Scaling

Evaluation results show that tool utilization capability generally scales with model size, though a substantial gap persists between open-source models and leaders like GPT-4.

Performance of various LLMs on the T-Eval benchmark relative to their parameter size. GPT-4 remains the clear leader.

GPT-4 dominates the leaderboard with an overall score of 86.4, followed by GPT-3.5 (84.0). Among open-source models, Qwen-72B leads with a score of 71.4. Notably, smaller 7B models often face a "JSON Gap," where strict formatting requirements cause performance to collapse compared to more flexible string-based tasks.

Conclusion

T-Eval provides a necessary "look under the hood" of LLM tool use. By identifying specific weaknesses in retrieval and review, it offers a roadmap for future research and fine-tuning. Moving forward, the authors suggest that Supervised Fine-Tuning (SFT) should specifically target these diagnostic sub-tasks to build more reliable and capable AI agents.

Summary updated

BibTeX
@inproceedings{chen2024t,
  author = {Zehui Chen and Weihua Du and Wenwei Zhang and Kuikun Liu and Jiangning Liu and Miao Zheng and Jingming Zhuo and Songyang Zhang and Dahua Lin and Kai Chen and Feng Zhao},
  title = {{T-Eval: Evaluating the Tool Utilization Capability of Large Language Models Step by Step}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.acl-long.515},
}
Figure