What happened
Researchers at Stanford have developed MidTool, a new dataset and methodology designed to train large language models (LLMs) to effectively use tools. The core innovation lies in synthesizing training data using real-world tool APIs, ‘MCP skills’ (likely referring to Mechanical Computer Programming), and document-grounded workflows.
The dataset combines extensive web data, PDFs, and code repositories – approximately 150 GB of material has been assembled. They then mid-trained Qwen3-4B-Base and Qwen3-8B-Base on this new dataset, followed by post-training with both supervised fine-tuning (SFT) and reinforcement learning (RL).
Why it matters
The ability for LLMs to interact with external tools is a critical step toward making them truly useful in real-world scenarios. Currently, many LLMs can only generate text; they lack the capability to execute actions or access information dynamically through external programs.
Improving this ‘agentic’ skill has far-reaching implications, ranging from automating complex software engineering tasks to streamlining scientific research and business workflows. This work demonstrates that focused mid-training—rather than solely relying on post-training methods—can significantly enhance LLMs’ proficiency in leveraging tools.
But, but, but…
The success of MidTool relies on the quality and diversity of the synthesized data. While the use of real APIs and workflows is a significant advancement, there’s always potential for inaccuracies or gaps in the training scenarios.
Furthermore, it's crucial to acknowledge that current LLMs still struggle with complex reasoning and adaptation – even when given detailed instructions. The authors don’t explicitly address limitations regarding incomplete information recovery during tool use; this remains a challenging area for further research.
“We present MidTool, an open corpus construction pipeline for agentic tool-use mid-training that combines large-scale web, PDF, and code data with synthesized supervision from real-world tool APIs, MCP skills, and document-grounded workflows.”
— Dr Non
The counter-take
The prevailing approach to LLM training has traditionally focused on simply scaling up model size and data volume—MidTool challenges this by demonstrating the value of targeted mid-training for specific agentic skills. It’s a shift from ‘bigger is better’ to ‘better is smarter’.
The AI angle
The development of LLMs with robust tool use capabilities represents an upgrade in AI’s ability to automate complex tasks, creating an asymmetry between human intelligence and machine efficiency in many domains.