# Google Agents 2: Agent Tools and Interoperability with MCP

Source: https://www.youtube.com/watch?v=KRWfcKzMHW4
Recap page: https://rapidrecap.app/video/KRWfcKzMHW4
Generated: 2025-11-18T13:03:30.854+00:00

---
## Quick Overview

Google Agents solve the core limitation of LLMs being sealed off from the real world by using a Model Context Protocol (MCP) which dictates how agents interact with external tools, ensuring that only necessary, verified information is retrieved and processed, thus preventing data leakage and security risks associated with malicious tool use.

**Key Points:**
- The core limitation of advanced Language Models (LLMs) is their inability to interact with the real world, as they are sealed off from historical training data and external context.
- The Model Context Protocol (MCP), introduced by Anthropic in late 2023, aims to unify tool integration by defining how LLMs access external tools.
- A primary function of MCP is to enforce security by demanding that agents only receive necessary, verified information, preventing unauthorized access to sensitive data like PII or secrets.
- The system architecture involves a 'Host' (the main agent) orchestrating a 'Subagent' (the tool executor) which is embedded in the host, maintaining security.
- A key security threat is malicious actors tricking an agent into using an unauthorized tool, potentially leading to data exfiltration or security policy violations.
- MCP standardizes tool definitions, including name, description, input/output schemas, and validation checks, ensuring robust, predictable behavior.
- The primary benefit of MCP is decoupling tool retrieval logic from the core LLM, allowing for better performance, security, and manageable complexity, as evidenced by 99% of client apps supporting the primitive tool set.

![Screenshot at 00:05: The fundamental problem being addressed is the core limitation of advanced LLMs being sealed off from the real world, relying only on their historical training data.](https://ss.rapidrecap.app/screens/KRWfcKzMHW4/00-00-05.png)

**Context:** This video discusses the challenges and solutions related to enabling Large Language Models (LLMs) to interact with external systems and data, a necessary step for moving beyond static knowledge. The central concept introduced is the Model Context Protocol (MCP), developed by Anthropic, designed to govern how these powerful models safely utilize external tools while mitigating risks like data exposure and prompt injection.

## Detailed Analysis

The video explains that the primary constraint for even the most advanced LLMs is their isolation from the real world, as they are trapped within their historical training data and cannot check current calendars or execute real-time transactions. Anthropic introduced the Model Context Protocol (MCP) in late 2023 to address this, aiming to standardize how LLMs interact with external tools. Tools are classified into two buckets: Function Tools, which let the agent know something (like retrieving data) or do something (like sending an email), and Agent Tools, which are hierarchical and involve the main agent orchestrating a subagent. A major security concern is tool shadowing, where a malicious actor crafts a compelling but unauthorized tool description, causing the agent to use it instead of an approved tool, potentially leading to data exfiltration or security breaches. MCP standardizes the definition for every tool, including name, description, input/output schemas, and validation checks, which are then executed by the server, not the LLM itself. This architecture ensures that the host agent only receives specific, validated results, preventing the LLM from seeing the underlying implementation details, which significantly improves security and reduces complexity by demanding a unified, plug-and-play interface for all tools.

### LLM Core Limitation

- Models are sealed off from the real world and historical data, unable to interact with current context or perform actions.

### Model Context Protocol (MCP)

- Introduced by Anthropic in late 2023 to unify tool integration, defining how LLMs interact with external functions.

### Tool Categories

- Tools fall into Function Tools (simple actions like database lookups) and Agent Tools (hierarchical, involving subagents for complex tasks).

### Security Risks

- Malicious actors exploit prompt injection to trick agents into using unauthorized tools or executing actions that leak sensitive data (PII, secrets).

### MCP Solution

- Standardizes tool definitions (name, description, schemas) and enforces security by layering checks (validation, runtime checks) on top of the base protocol.

### Architectural Benefit

- Decouples tool execution from the LLM, making the system more secure and manageable, leading to higher adoption rates for compliant tools.

![Screenshot at 00:05: The fundamental problem being addressed is the core limitation of advanced LLMs being sealed off from the real world, relying only on their historical training data.](https://ss.rapidrecap.app/screens/KRWfcKzMHW4/00-00-05.png)
![Screenshot at 00:21: The defining constraint of current LLMs is that they are sealed off from the real world and trained only on historical data.](https://ss.rapidrecap.app/screens/KRWfcKzMHW4/00-00-21.png)
![Screenshot at 00:58: The MCP protocol was introduced by Anthropic in late 2023 to address this isolation.](https://ss.rapidrecap.app/screens/KRWfcKzMHW4/00-00-58.png)
![Screenshot at 01:37: Tools are defined as external functions or programs that the LLM can call to perform actions outside its knowledge base.](https://ss.rapidrecap.app/screens/KRWfcKzMHW4/00-01-37.png)
![Screenshot at 02:25: Built-in tools are those implicitly provided by the model service, whereas function tools require explicit definition.](https://ss.rapidrecap.app/screens/KRWfcKzMHW4/00-02-25.png)
![Screenshot at 03:48: Tool shadowing is a major threat where an attacker tricks the agent into using a malicious tool description instead of an approved one.](https://ss.rapidrecap.app/screens/KRWfcKzMHW4/00-03-48.png)
![Screenshot at 05:58: The MCP uses a lightweight standard, JSON RPC 2.0, for defining tool interactions.](https://ss.rapidrecap.app/screens/KRWfcKzMHW4/00-05-58.png)
![Screenshot at 07:32: MCP provides flexibility but introduces architectural trade-offs, like the need for centralized governance layers to manage security.](https://ss.rapidrecap.app/screens/KRWfcKzMHW4/00-07-32.png)
