scimeatlas

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

ACL 2026Large language models › Agents, code and mathapproach: Code generation benchmarksopen problems in this approach22 citations (OpenAlex)

Zhejiang University · Southeast University · Massachusetts Institute of Technology

Read the paperPlace an idea next to itCheck your own paper ↗

9measured effects
9improved

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 changedWhereMeasuredEffect
add ToolGate (Hoare contracts) instead of ToolChain*GPT-5.2 · ToolBench G1/G2/G3Pass Rate (%): 82.8 -> 85.5, 90.5 -> 93.0, 88.5 -> 91.8Improved
add ToolGate instead of ToolChain*GPT-5.2 · MCP-Universe Repository ManagementSuccess Rate (%): 39.39 -> 45.45Improved
add Hoare logic verification (ablation)ToolGate (DeepSeek V3.2) · MCP-Universe averageMCP-Avg success rate (%): 27.2 -> 38.0Improved
add Hoare logic verification (ablation)ToolGate (GPT-5.2) · MCP-Universe averageMCP-Avg success rate (%): 37.6 -> 57.0Improved
add postcondition {Q} check (ablation)ToolGate (GPT-5.2) · MCP-Universe averageMCP-Avg success rate (%): 46.2 -> 57.0 (10.8 drop when removed)Improved
add precondition {P} check (ablation)ToolGate (GPT-5.2) · MCP-Universe averageMCP-Avg success rate (%): 52.5 -> 57.0 (4.5 drop when removed)Improved
add precondition {P} check (ablation)ToolGate (DeepSeek V3.2) · MCP-Universe averageMCP-Avg success rate (%): 34.5 -> 38.0Improved
add Hoare contracts and state-gated pruningToolGate (GPT-5.2) · ToolBenchaverage tool-calling steps: 6.78 -> 4.21Improved
add precondition {P} check (ablation)ToolGate (GPT-5.2) · MCP-Universe Location NavigationSuccess Rate (%): 31.0 (no P) vs 35.5 (full) on GPT-5.2; DeepSeek 19.8 vs 22.2Improved

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.

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?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy