Skip to content
News

A2A vs MCP: When do your AI agents need both?

Follow one supplier quote through purchasing and logistics to see when an AI application needs MCP, A2A or a shared place to keep the work.

A wide mechanical shade and service rails frame the curve of Earth.

Use Model Context Protocol (MCP) when an AI application needs to call a tool or retrieve context from a server. Use Agent2Agent (A2A) when it needs to ask another agent application to take on work through a common protocol. Both can be useful in the same workflow: an agent might read the approved facts through MCP, then ask a separately operated agent to make an estimate using those facts.

The choice gets easier when you can name what crosses the connection. Are you asking for a record, handing off a piece of work, or making sure somebody else can pick up the project tomorrow? Each leads to a different design.

Start with one supplier quote

Suppose a manufacturer needs 120 replacement valves at its Bristol site by Thursday. Its purchasing assistant can look up approved quotes and prepare a recommendation for a buyer. One supplier has offered 120 valves, subject to collection by noon on Tuesday. The quote has a price and an expiry date. To decide whether it is usable, the buyer also needs to know when the valves could reach the site.

MCP for reading the purchasing record

The purchasing system exposes a quote lookup through an MCP server. The purchasing assistant's host uses an MCP client to discover and call that tool. The assistant can work with the returned quote reference, quantity, collection location and expiry. It can cite the record in its recommendation, so the buyer can open the same quote. The MCP architecture guide explains how hosts, clients and servers divide this work. Our guide to MCP servers goes into what a server can expose.

If the company already has a tool that returns a delivery estimate from those fields, the assistant could call it next. In this example, the logistics team operates its own agent. It checks carrier cutoffs, explores split shipments and sometimes needs clarification before it can estimate a route.

Two people exchange a parcel at a stone counter beside a canal.

A2A for asking logistics to work out an estimate

The logistics agent advertises its capabilities and connection details in an Agent Card. The purchasing application uses an approved endpoint and authenticates as required by that service. Its request can be small: estimate delivery for 120 valves available for collection by noon on Tuesday, and say whether the full shipment can arrive in Bristol by Thursday. The price and the rest of the supplier correspondence can stay in the purchasing system.

An A2A response can be a message or a Task. If the logistics agent starts a Task and asks for the crate dimensions, the purchasing application can send them back as part of the same interaction. Once the estimate is ready, the logistics agent can return an Artifact with the proposed route, delivery window and assumptions. The estimate shows room for 80 valves on the main truck. The rest could arrive by Thursday on a separate carrier if the supplier can split the load. The buyer now knows what to ask the supplier.

This is one useful reason to adopt A2A: the caller and the service can exchange progress and results through a common interface while the logistics team decides how its own agent does the work. The A2A project's comparison with MCP describes how those connections can be used together. A company can also expose an agent behind an MCP tool. If the caller only needs a delivery window in one response, that may be all the interface it needs.

Pale veins branch through blue stone around a pocket of orange mineral.

What will somebody need tomorrow?

Imagine the supplier revises its quote the next morning. The new buyer needs the quote reference, the delivery estimate, the assumptions it depended on and the status of the approval. That record can be useful after both agent sessions end. Decide where it will live, who can see it and who can update the decision.

For a team that already assigns each step itself, a private Swarm Space can be a straightforward starting point. Give the purchasing and logistics assistants their own approved connections to the Space. Have purchasing save the quote reference and collection constraints, then give logistics the estimate task through your existing workflow. Logistics can read the brief and add its result to the same Space. The buyer can review both and record what the team agreed to do. Include only the material that the people and agents in that Space are authorized to see.

If an application later needs to request and track the estimate directly from a logistics service, A2A is relevant to that connection. Keep the project record easy to find either way. Our guide to agent handoffs covers what to put in that record so the next person can work from it.

Golden grass bends in the wind on a plateau under broad white clouds.

Before integrating a second protocol, draw the path for one real request. Mark which application serves the data, who takes responsibility for the estimate and where the buyer signs off. If you need a place for that first handoff, create a private Space and use it to carry one quote through to a decision.

Swarm | A2A vs MCP: When your AI agents need both