Skip to content

Interview question · MCP, A2A & Interoperability

MCP or A2A for connecting your agent to another team's agent?

Ask what the other team is offering. If it is a capability with a contract you can rely on, it is a tool. If it is a worker that decides how to do the job, takes a while and may ask questions, it is an agent, and the task model fits.

mediumEssentialNewUpdated Nov 2026

TL;DR: If the other team offers a bounded capability with a predictable contract (look up a policy, price a configuration), expose it as an MCP tool, even if an agent sits behind it: your agent calls it and gets a result. If it offers an autonomous worker (investigate a dispute, negotiate a quote) that runs for minutes or days, may need input, and returns artifacts, use A2A tasks. Either way, agree the data you send, the authorization model, timeouts and how results are validated.

How to approach it

Reframe from technology to the shape of the interaction: duration, autonomy, interaction and ownership. Then pick, and list what the integration contract must still cover.

A strong answer

Four questions.

QuestionPoints to MCP toolPoints to A2A task
How long?SecondsMinutes to days
Who decides how?Fixed contractThe other agent
Will it ask questions?NoPossibly (input required)
What comes back?A resultArtifacts, progress, status

Examples. A pricing team's agent that, given a configuration, returns a price in two seconds: wrap it as an MCP tool with a schema; the fact that a model computes the price is an implementation detail. A legal team's contract-review agent that reads a 60-page contract, may ask which jurisdiction applies, and returns a marked-up document tomorrow: an A2A task.

What the integration still needs.

  • Data minimisation: send only what the task needs; the other team's agent has its own retention and logs.
  • Authorization: a delegated, audience-bound token or a service identity with narrow scopes, never your user's broad token.
  • Durability: store the task id in your workflow; resume tracking after restarts.
  • Timeouts and failure: what happens if the task stalls or the other agent disappears.
  • Validation: their output is untrusted input to your agent.
  • Versioning: the Agent Card or tool schema changes on their release schedule; pin and test.

What interviewers probe next

"Could A2A be used for the quick pricing call too?" It could, but you would carry task machinery for a simple request and response. Tools are simpler where the shape fits.

"The other team's agent needs data only your side has." Through the task's messages (A2A) or tool arguments (MCP), minimised; never by giving their agent direct access to your systems.

"How do you debug across teams?" Propagate trace context across the call so both sides' spans join one trace, and agree on correlation ids in task metadata.

What if?

What if · interview follow-ups

Hold your answer as the constraints change

You delegate contract reviews to the legal team's agent over A2A.

  1. Start here

    What if their agent asks your agent a question your agent cannot answer?

How it's scored

Weak: Picks one by popularity, or says "A2A for agents, MCP for tools" without checking the interaction's shape.

Hire: Chooses by duration, autonomy and interaction, with examples.

Strong Hire: Uses the four questions, recognises an agent behind a fixed contract as a tool, and specifies the contract both need: data minimisation, scoped delegated auth, durable task ids, timeouts, validation, versioning and cross-team tracing.

Common mistakes

  • Choosing A2A for any service that happens to use a model.
  • Forwarding the user's broad token to the other team.
  • Holding a connection open for a task that takes a day.
  • Treating returned artifacts as trusted.
You just read a free answer. Every topic opens its first 5 answers to anyone. Sign in and the count per topic goes to 6, and the site remembers where you stopped in each one.Google sign-in · free · no payment details
HOW DID IT GO?
0
READING SIGNED OUT

Signing in raises your free answers from 5 to 6 per topic, adds an applied lesson in every topic and easy practice tests, and the site starts remembering you: mastery per topic, bookmarks, and a next-focus recommendation. Free, no card.

Sign in free
UP NEXT ON YOUR JOURNEY
DISCUSSION · 0

Nobody has commented. Post a correction or another way to answer.