Back home
Sep 202612 min readagentsMCPtrending

Tool-Using Agents and MCP: The Protocol Layer of 2026

ReAct, Toolformer and MCP point to the same lesson: reliable agents come from narrow tools, explicit interfaces and trajectory-level evaluation.

From reasoning to acting

Chain-of-thought prompting showed that a language model can improve multi-step reasoning by generating intermediate steps. ReAct, introduced by Yao et al. in 2023, extended that idea to acting: the model interleaves reasoning traces with tool calls, observes the results and updates its plan. The pattern is now the backbone of most agent frameworks.

The research lesson is not that models are autonomous. It is that explicit intermediate state, including observations from the environment, makes behaviour easier to steer and easier to debug.

What the research established

Toolformer (Schick et al., 2023) showed that a model can learn when and how to call APIs from self-supervised data. ToolLLM (Qin et al., 2024) scaled tool-use training across a large set of real-world APIs. WebGPT (Nakano et al., 2022) trained a model to browse the web and cite sources.

These results share a constraint: the tools are well-described and the training data includes demonstrations of correct use. In production, the hard part is usually the interface, not the model. A tool with a vague description, ambiguous arguments or side effects will produce unreliable behaviour no matter how strong the model is.

Why MCP matters

The Model Context Protocol (MCP) is an open protocol for connecting AI applications to tools and data sources. It defines a client-server architecture: a host application creates clients, each client connects to a server, and the server exposes capabilities such as tools, resources and prompts. The transport is JSON-RPC, and the protocol is designed to be language- and vendor-neutral.

The value is not any single tool. It is a standard way to describe tools, discover them, call them and return structured results. That reduces the integration work for every new data source and makes the boundary between the model and the system explicit.

For teams, MCP is a useful architectural forcing function. If a capability cannot be expressed as a clear tool with a typed input and a structured output, it is probably not ready to hand to a model.

The architecture that works

A reliable agent has four layers:

  1. Model: decides what to do next.
  2. Tools: perform bounded actions with validated arguments.
  3. Policy: decides what the agent is allowed to do and when a human must confirm.
  4. Observability: records every call, argument, result and decision.

MCP standardises the connection between the first two layers. The other two remain your responsibility.

Security is the hard part

Indirect prompt injection (Greshake et al., 2023) demonstrated that content retrieved from the web or a document can contain instructions that hijack an agent. If the agent can send email, execute code or modify data, that hijack becomes an incident.

Practical mitigations are architectural:

  • Give the agent the narrowest tools that solve the task.
  • Use typed schemas and validate arguments before execution.
  • Require confirmation for irreversible actions.
  • Separate read tools from write tools.
  • Treat tool descriptions and retrieved content as untrusted input.
  • Log every tool call with its inputs, outputs and the model's stated reason.

These controls do not make the model smarter. They make the system safer when the model is wrong.

Evaluate the trajectory

An agent can produce a correct final answer through a reckless path. For anything multi-step, grade the path: was the right tool called, with the right arguments, in a sensible order, and did the agent stop when it should have?

τ-bench evaluates agents in realistic domains with user interaction and domain-specific rules. AgentBench evaluates across multiple environments. Both are closer to production than static question answering because they measure behaviour under feedback. Build a smaller version of the same idea for your own tools.

A production checklist

  • Start with one tool and one bounded task.
  • Make tools idempotent where possible.
  • Add a human checkpoint before irreversible actions.
  • Test the tool layer separately from the model.
  • Run a golden set of trajectories on every prompt change.
  • Monitor latency, error rate and tool-call distribution.
  • Version the tool schema and the agent policy together.

The research supports tool use as a real capability. It does not support the assumption that autonomy is free.

References

  1. Wei et al. (2022). Chain-of-Thought Prompting Elicits Reasoning in Large Language Models. NeurIPS.
  2. Yao et al. (2023). ReAct: Synergizing Reasoning and Acting in Language Models. ICLR.
  3. Schick et al. (2023). Toolformer: Language Models Can Teach Themselves to Use Tools. NeurIPS.
  4. Nakano et al. (2022). WebGPT: Browser-assisted Question-answering with Human Feedback.
  5. Qin et al. (2024). ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs. ICLR.
  6. Greshake et al. (2023). Not What You've Signed Up For: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection. AISec.
  7. Yao et al. (2024). τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains.
  8. Liu et al. (2024). AgentBench: Evaluating LLMs as Agents. ICLR.
  9. Model Context Protocol. Specification and documentation.