MCP Tool Annotations: The Four Hints and Their Defaults
MCP tool annotations are the readOnlyHint, destructiveHint, idempotentHint and openWorldHint fields a server attaches to a tool, and how clients use them.
6 min read
MCP vs A2A explained: MCP links one agent to its own tools, A2A links separate agents to each other, and the A2A project's own docs say to use both together.
MCP vs A2A comes up the moment a team moves from one agent with tools to several agents that need to work together. Model Context Protocol (MCP) and Agent2Agent (A2A) solve two different problems, and the people who built both protocols say so directly: in the official comparison on the A2A project's own GitHub repository, they describe the two as "distinct but highly complementary."
MCP vs A2A is a question of direction, not of which protocol is better. MCP connects a single AI agent to its own tools, APIs and data, deepening what that one agent can do. A2A connects separate agents, often built on different frameworks or owned by different teams, so they can discover each other, hand off tasks and exchange results. The A2A project's own comparison puts it plainly: "Use both together."
| Model Context Protocol (MCP) | Agent2Agent (A2A) | |
|---|---|---|
| Connects | An agent to its own tools, APIs and resources | One agent to another agent, across frameworks and vendors |
| Direction | Vertical: deepens a single agent | Horizontal: reaches across agent boundaries |
| Core units | Tools, Resources, Prompts, Notifications | Agent Card, Task, Message, Artifact |
| Transport | Stdio (local) or Streamable HTTP (remote) | HTTP endpoint, with request/response polling, Server-Sent Events, or push notifications |
| Originated at | Anthropic | |
| Now governed by | The MCP project, a Growth Stage project at the Agentic AI Foundation | A Technical Steering Committee with AWS, Cisco, Google, IBM Research, Microsoft, Salesforce, SAP and ServiceNow, also at the Agentic AI Foundation |
| License | Open specification, version 2026-07-28 is current | Apache License 2.0 |
MCP follows a client-server architecture. An MCP host, an AI application such as Claude Code or Cursor, creates one MCP client for every MCP server it connects to, and each client keeps a dedicated connection to its own server. That is how an editor can talk to a filesystem server and a database server at the same time without the two crossing wires, according to the protocol's own architecture page.
The protocol has two layers. The data layer defines a JSON-RPC 2.0 based exchange: capability discovery, and the core primitives of tools, resources, prompts and notifications. The transport layer handles how messages actually move, over stdio for a local server running on the same machine, or over Streamable HTTP for a remote one. MCP is stateless: every request carries its protocol version and capabilities, and a client can query a server's supported versions through the mandatory server/discover request before sending anything else.

The current spec, version 2026-07-28, deprecated Sampling, one of MCP's client features, according to the same architecture page. Auth0's developer guide describes MCP's origin plainly: Anthropic built it to give an agent a predictable toolbelt, a structured way to find out what a tool does, call it safely and get a structured result back, instead of wiring up a separate integration for every API by hand.
A2A is an open protocol for communication and interoperability between independent, often opaque, agentic applications, as the project's own homepage puts it. Where MCP hands one agent more tools, A2A lets that agent reach other agents it does not control and cannot see inside.
Google announced A2A in April 2025 with more than 50 launch partners, according to Descope's A2A explainer. On 23 June 2025, Google donated the A2A specification, its SDKs and its developer tooling to the Linux Foundation, seeding a new Agent2Agent project with AWS, Cisco, Microsoft, Salesforce, SAP and ServiceNow as founding members, per Google's own announcement of the donation. A2A is licensed under the Apache License 2.0 and is now steered by a Technical Steering Committee drawn from those same companies plus IBM Research, according to the A2A Protocol homepage.
A2A interactions run on a small set of building blocks. The Agent Card is a JSON metadata document describing an agent's identity, capabilities, endpoint and authentication requirements, so a client can decide whether that agent fits a task before contacting it. A Task is a stateful unit of work with a unique ID and a defined lifecycle, used to track a long-running operation across multiple turns. A Message is a single turn of communication built from one or more Parts, which can hold text, a file reference or structured data, and an Artifact is the tangible output an agent hands back, such as a document or a structured result.

Agents exchange these over three interaction mechanisms: request and response with polling for simple cases, streaming over Server-Sent Events for real-time updates, or push notifications to a client-provided webhook for very long-running or disconnected clients, according to the A2A Core Concepts documentation.
The A2A project's own comparison document frames the split as vertical against horizontal: "MCP is vertical. It deepens a single agent... A2A is horizontal. It connects agents across that boundary." The same document walks through an auto repair shop example: a customer talks to a "Shop Manager" agent over A2A; the Mechanic agent, "assigned the task by the Shop Manager", uses MCP to reach its own tools, such as a vehicle diagnostic scanner and a repair manual database; and when it needs a part, it talks to a "Parts Supplier" agent over A2A. The document names no protocol for the step where the Shop Manager assigns the job. In its words, A2A "links the customer with the shop, and the shop's agents with outside supplier agents."

The A2A homepage is explicit about what the protocol is not: not an agent development kit like LangGraph, CrewAI or ADK, not a sub-agent or tool-call protocol, and not a replacement for MCP. A client agent reaches remote tools with MCP and remote agents with A2A, in the project's own words, and that line is the whole comparison in one sentence.
A single agent that needs more tools, such as a coding agent reading a database or calling one external API, needs MCP alone. A2A adds nothing there.
A system built from several agents on different frameworks, say one built on LangGraph and another on CrewAI, that need to hand work to each other, needs A2A. Each of those agents can still keep its own MCP connections to its own tools underneath.
An enterprise workflow that crosses vendor boundaries, such as a customer service agent delegating a billing question to a separate billing agent built by another team, is the scenario A2A's Agent Card and Task model were built for, per the protocol's own documentation.
On 27 August 2026, A2A was accepted as a Growth Stage project at the Agentic AI Foundation (AAIF), the A2A project announced on its blog. The announcement put A2A's adoption at over 150 organizations, running in production across supply chains, financial services and mobile platforms, with Google Cloud, AWS Bedrock AgentCore Runtime and Microsoft Azure AI Foundry having built native A2A support directly into their infrastructure. The same post named LangGraph, CrewAI, Pydantic AI, AG2 and IBM BeeAI as frameworks supporting A2A, and ServiceNow, Salesforce, Atlassian and SAP as enterprise platforms using it to connect workflows. AAIF's other projects include MCP itself, alongside goose and AGENTS.md, now sibling projects under the same Linux Foundation governance.
On 1 October 2026, the A2A project shipped the official A2A CLI, a command-line client speaking A2A Protocol v1.0 that lets a shell script, a CI pipeline, or a coding assistant message an A2A agent without writing any SDK code, according to the project's announcement post. Its --exec mode turns any program that reads standard input and writes standard output into a working A2A server for testing, and its --echo mode gives a one-command way to confirm a connection.
On the MCP side, the current protocol revision, version 2026-07-28, deprecated the Sampling client feature, as the architecture documentation states.
No. The A2A project's own documentation states directly that A2A is not a replacement for MCP: MCP standardizes agent-to-tool communication, and A2A standardizes agent-to-agent communication. They are built to be used together rather than instead of each other.
Yes, and the official examples describe exactly this pattern. An agent can use MCP internally to work with its own tools and resources, while using A2A to communicate with other, independent agents outside its own application.
Both are projects hosted by the Agentic AI Foundation under the Linux Foundation. A2A is steered by a Technical Steering Committee with representatives from AWS, Cisco, Google, IBM Research, Microsoft, Salesforce, SAP and ServiceNow, following Google's original donation of the protocol to the Linux Foundation in June 2025.
An Agent Card is a JSON metadata document that describes an agent's identity, capabilities, service endpoint, authentication requirements and skills. A client reads the card to decide whether an agent fits a task and how to contact it securely, before any task begins.
MCP supports two transports: stdio, used for a local server running as a process on the same machine, and Streamable HTTP, used for a remote server that can serve many clients and supports standard authentication methods including OAuth.
Developers comparing the two protocols before wiring up a multi-agent system can browse the servers already built for each host in the MCP server directory on AI Agents Listing.
One email a week. New agents, MCP servers and skills, and what is actually getting traction.
MCP tool annotations are the readOnlyHint, destructiveHint, idempotentHint and openWorldHint fields a server attaches to a tool, and how clients use them.
6 min read
AI agent identity management explained: the registration, scoped-credential and delegation steps behind it, and how Okta, Microsoft, Google and MCP differ.
7 min read
A comparison of seven no-code AI agents platforms in 2026, covering pricing, integrations and best use case for n8n, Zapier, Lindy, Relevance AI, Voiceflow, Gumloop and Botpress.
10 min read