Research map / Large language models / Agents, code and math
ToolGate: Contract-Grounded and Verified Tool Execution for LLMs
Yanming Liu, Xinyue Peng, Jiannan Cao, Xinyi Wang, Songhang Deng, Jintao Chen, Jianwei Yin, Xuhong Zhang
Zhejiang University · Southeast University · Massachusetts Institute of Technology
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add ToolGate (Hoare contracts) instead of ToolChain* | GPT-5.2 · ToolBench G1/G2/G3 | Pass Rate (%): 82.8 -> 85.5, 90.5 -> 93.0, 88.5 -> 91.8 | Improved |
| add ToolGate instead of ToolChain* | GPT-5.2 · MCP-Universe Repository Management | Success Rate (%): 39.39 -> 45.45 | Improved |
| add Hoare logic verification (ablation) | ToolGate (DeepSeek V3.2) · MCP-Universe average | MCP-Avg success rate (%): 27.2 -> 38.0 | Improved |
| add Hoare logic verification (ablation) | ToolGate (GPT-5.2) · MCP-Universe average | MCP-Avg success rate (%): 37.6 -> 57.0 | Improved |
| add postcondition {Q} check (ablation) | ToolGate (GPT-5.2) · MCP-Universe average | MCP-Avg success rate (%): 46.2 -> 57.0 (10.8 drop when removed) | Improved |
| add precondition {P} check (ablation) | ToolGate (GPT-5.2) · MCP-Universe average | MCP-Avg success rate (%): 52.5 -> 57.0 (4.5 drop when removed) | Improved |
| add precondition {P} check (ablation) | ToolGate (DeepSeek V3.2) · MCP-Universe average | MCP-Avg success rate (%): 34.5 -> 38.0 | Improved |
| add Hoare contracts and state-gated pruning | ToolGate (GPT-5.2) · ToolBench | average tool-calling steps: 6.78 -> 4.21 | Improved |
| add precondition {P} check (ablation) | ToolGate (GPT-5.2) · MCP-Universe Location Navigation | Success Rate (%): 31.0 (no P) vs 35.5 (full) on GPT-5.2; DeepSeek 19.8 vs 22.2 | Improved |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- ToolChain* — ToolChain*: Efficient Action Space Navigation in Large Language Models with A* Search (ICLR 2024) · better on 14 of 14 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in code generation benchmarks
Do code benchmarks and methods hold beyond Python, small test sets and leaked data?
- Tested on Python or a few languages, so other languages are untested. · 25 papers state it
- Benchmarks are small, with a few dozen to a few hundred problems. · 14 papers state it
- Iterative or multi-step methods cost more tokens, latency and compute. · 12 papers state it
Closest papers by meaning
- Grammars of Formal Uncertainty: When to Trust LLMs in Automated Reasoning Tasks (NeurIPS 2025 · similarity 0.88)
- APOLLO: Automated LLM and Lean Collaboration for Advanced Formal Reasoning (NeurIPS 2025 · similarity 0.88)
- ToolACE: Winning the Points of LLM Function Calling (ICLR 2025 · similarity 0.88)
- RvLLM: LLM Runtime Verification with Domain Knowledge (NeurIPS 2025 · similarity 0.88)
- LLM+AL: Bridging Large Language Models and Action Languages for Complex Reasoning About Actions (AAAI 2025 · similarity 0.87)
- When LLMs Develop Languages: Symbolic Communication for Efficient Multi-Agent Reasoning (ICML 2026 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.