What is an MCP Tool Call?

1 min read Updated

A JSON-RPC request from an AI agent to execute a specific function exposed by an MCP server, containing the tool name, arguments, and optional metadata.

WHY IT MATTERS

Every action an AI agent takes through MCP is a tool call. Reading a file, sending an email, creating a database record, executing a payment — each is a discrete tool call that the server processes and returns a result for.

Tool calls are the atomic unit of agent behaviour. They're also the atomic unit of risk. A single malformed or malicious tool call can exfiltrate data, delete records, or trigger financial transactions. This makes the tool call the natural enforcement point — if you can inspect and gate every tool call, you can control what an agent does.

HOW POLICYLAYER USES THIS

Intercept inspects every MCP tool call in transit, evaluating it against YAML-defined policies before forwarding to the upstream server. Rate limits, category restrictions, and argument validation all operate at the tool call level.

FREQUENTLY ASKED QUESTIONS

What's in an MCP tool call?
A JSON-RPC message with the method 'tools/call', containing the tool name, a dictionary of arguments, and an optional progress token. The server returns a result with text, images, or embedded resources.
Can tool calls be intercepted?
Yes. Because MCP uses a client-server architecture with well-defined transports (stdio, HTTP), a proxy like Intercept can sit between client and server, inspecting every call before it reaches the server.
How fast is a tool call?
The protocol overhead is minimal — milliseconds for JSON-RPC serialisation. The actual latency depends on what the tool does (a database query vs an API call vs a file write).

FURTHER READING

Enforce policies on every tool call

Intercept is the open-source MCP proxy that enforces YAML policies on AI agent tool calls. No code changes needed.

npx -y @policylayer/intercept
github.com/policylayer/intercept →
// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.