# Tools, actions and MCP

> An agent acts through tools: an application’s API, an MCP server, a browser, a sandbox. MCP gives a common way to plug them in. It does not say which ones an agent may use; that is for the organization to decide.

A tool has a name, a description, parameters and a result. The description guides the model: a poorly described tool gets poorly used. Each tool added widens what the agent can achieve, and what it can break.

MCP (Model Context Protocol) is an open protocol between the agent, acting as client, and tools exposed by servers. Its authorization spec builds on OAuth 2.1: each token is issued for one specific server, and a server must not pass the token it received on to another API. Since December 2025, MCP has been governed by the Agentic AI Foundation, under the Linux Foundation.

An MCP server is third-party code that receives data and permissions. Keep an internal catalog of approved servers, with their publisher, version and the permissions they request. OWASP’s agentic Top 10 lists compromised tools and plugins among the main risks.

Actions are sorted by risk: read, reversible write, action that commits the company or a customer (sending, paying, deleting). Human approvals and caps follow that sorting.

Computer use and code execution help when there is no API. More fragile and riskier, they run in an isolated environment, with a list of allowed sites and files.

**When**: Needed as soon as an agent has to act in an application, or read a source with no ready-made connector. Not needed for plain question answering on documents: read-only connectors are enough.

**Trade-offs**: Each tool added widens what the agent can do, and what an attacker can make it do. A long tool list also clutters the model’s context.

## Where to start

- List the useful actions per use case
- Sort each action by risk
- Keep a catalog of approved MCP servers
- Require human approval for committing actions

## Common mistakes

- Installing MCP servers found online without review
- Giving a tool broader permissions than the task needs
- Passing the user’s token on to another API

## Metrics

- MCP servers in use outside the catalog
- Share of sensitive actions that went through approval
- Tool call failure rate

## Sources

- [MCP, Authorization](https://modelcontextprotocol.io/specification/2025-11-25/basic/authorization)
- [Linux Foundation, formation of the Agentic AI Foundation](https://www.linuxfoundation.org/press/linux-foundation-announces-the-formation-of-the-agentic-ai-foundation)
- [OWASP, Top 10 for Agentic Applications 2026](https://genai.owasp.org/2025/12/09/owasp-top-10-for-agentic-applications-the-benchmark-for-agentic-security-in-the-age-of-autonomous-ai/)
