Connecting Agents with Tools and Communication Protocols
This lesson explains MCP and A2A, the open protocols that standardise how agents call tools and work with other agents, which the exam guide names explicitly, and how to design reliable tools.
Learning outcomes
After completing this lesson, you will be able to:
- Describe how MCP standardises tool discovery and calls.
- Describe how A2A lets agents communicate across frameworks.
- Design tools with clear names, descriptions and schemas.
Model Context Protocol (MCP)
MCP is an open protocol that standardises how AI applications discover and call tools, read resources and use prompts exposed by MCP servers. An agent that speaks MCP can use any MCP server without custom integration code, and a tool published once as an MCP server can serve many agents and frameworks. On AWS, AgentCore Gateway converts APIs and Lambda functions into MCP tools, AgentCore Runtime can host MCP servers, and Strands Agents and other frameworks act as MCP clients.
The following diagram shows where MCP and A2A are used when a bank's customer agent and fraud agent share internal tools and delegate work to each other.

Agent2Agent (A2A)
A2A is an open protocol for agents to communicate with other agents, possibly built by different teams or vendors with different frameworks. Agents publish an agent card describing their capabilities and endpoint, and exchange tasks and messages over HTTP, including long-running tasks with streaming updates. AgentCore Runtime supports the A2A protocol, so specialist agents can be called by a coordinating agent across team boundaries.
MCP or A2A?
Designing tools
Agents choose and call tools based on their definitions, so tool design determines agent reliability. Good tools have clear names and descriptions, because the model chooses tools from them; narrow purposes, so tools do not overlap; strongly typed parameters, so invalid calls are rejected; predictable error messages that the model can act on; and idempotent behaviour where possible, because agents may retry a call.
Each tool should run with least-privilege credentials, limited to what it needs, and risky actions, such as payments or deletions, should require confirmation by a person. The following table compares the protocols for connecting agents to tools and to each other.
Good tools
Shared tools and specialist agents
A bank has a customer agent built with Strands Agents, a fraud-investigation agent built by another team with LangGraph, and 40 internal REST APIs.
- Publish the 40 REST APIs through AgentCore Gateway as MCP tools so both agents can use them without custom clients.
- Host the fraud agent on AgentCore Runtime with the A2A protocol and an agent card describing its capabilities.
- The customer agent delegates suspected-fraud cases to the fraud agent over A2A and receives the outcome.
Without the protocols, each team would write and maintain point-to-point integrations for every API and agent pair.
What is the difference between MCP and A2A?
Show answer
MCP is the standard way for agents to use tools. A2A lets agents call other agents across frameworks.
Exam Tips
Remember for the exam
- Standard way for agents to use tools: Model Context Protocol (MCP).
- Agents calling other agents across frameworks: Agent2Agent (A2A).
- APIs and Lambda functions as MCP tools: AgentCore Gateway.
- Clear tool descriptions help the model choose correctly.
- Make tools idempotent and least-privilege; confirm risky actions.