Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Integrate existing agents into a multi-agent solution securely by using Agent2Agent (A2A) and/or MCP

A worked example

Single answer

Contoso is building an expense-assistant solution. A central orchestrator agent must use data lookups and actions from Microsoft 365 services. It must also use an existing expense-lookup agent that another Contoso team already runs in production.

Requirements:

  1. The orchestrator must choose which individual tool to invoke, filter the results, and synthesize the final answer itself.
  2. Each workflow step must call tools with only the permissions it needs.
  3. The expense-lookup agent's logic must not be reimplemented.

Which integration approach should you recommend?

Choose one answer
Why

The orchestrator must keep control of tool selection, filtering and synthesis. MCP is designed for this case: the MCP host decides which tools to invoke and builds the final output. MCP is also the recommended way to reach Microsoft 365 data and actions. Calling each MCP-hosted tool with a least-privileged scope satisfies the permission requirement, and integrating the existing agent avoids reimplementing it.

  • Not correct: Connect through A2A and let the expense-lookup agent run its own orchestration over its tools. With A2A, the invoked agent uses its own orchestration, and its tools and APIs are opaque to the requesting agent. The orchestrator therefore cannot choose individual tools.
  • Correct: Expose the capabilities through MCP and call each MCP-hosted tool with a least-privileged scope. MCP lets the host orchestrator select, invoke, filter and synthesize tool results. It is recommended for tool and data access, including Microsoft 365 service tools. Calling MCP-hosted tools with least-privileged scope meets the permission requirement, and integrating the existing agent through MCP avoids reimplementing its logic.
  • Not correct: Expose the capabilities through MCP and call every tool with one shared, broadly scoped identity. MCP gives the orchestrator the control it needs. However, the guidance is to use least-privileged scope when calling MCP-hosted tools, and one broadly scoped identity breaks that requirement.
  • Not correct: Rebuild the expense-lookup logic inside the orchestrator and query the services directly. The guidance is to integrate mature agents through MCP or A2A so that their logic is not reimplemented. Rebuilding the logic does the opposite.
Source

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free