Skip to main content
Glama

Resolve external A2A Agent Card

a2a.resolve_card
Read-onlyIdempotent

Discover and inspect an external Agent-to-Agent (A2A) node by domain or URL. Fetches .well-known/agent-card.json, validates protocol compatibility, checks for a2a-x402 and AP2 payment extensions, and extracts callable skills with pricing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetYesHost domain or full URL of the agent (e.g. 'agent.example.com' or 'https://agent.example.com/.well-known/agent-card.json')
agent_idNoOptional calling agent identifier for quota tracking.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety is covered. The description adds real behavioral detail beyond that: it fetches .well-known/agent-card.json, validates protocol compatibility, checks for a2a-x402 and AP2 extensions, and extracts skills with pricing. It omits quota/caching behavior despite the agent_id quota-tracking parameter, which keeps it below a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the purpose and followed by a compact enumeration of the resolution pipeline. Dense but every clause carries information; the second sentence is long but justified by the multi-step behavior it discloses.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, return-value details are unnecessary, and the annotations carry the safety profile. The description covers source endpoint, validation, extension checks and skill extraction, leaving only minor gaps like error handling for unreachable or incompatible agents.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so both parameters are already documented in the schema (target's domain-vs-URL forms, agent_id's quota role). The description's 'by domain or URL' merely echoes the target parameter, adding no syntax or format detail beyond the schema, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb+resource ('Discover and inspect an external Agent-to-Agent (A2A) node') and scopes it by domain or URL, so an agent knows exactly what the tool targets. It does not, however, differentiate itself from near-siblings such as x402.agent_card or x402.discover, which an agent might reasonably confuse it with.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by 'Discover and inspect an external ... node'; there is no explicit when-to-use, when-not-to-use, or named alternative among the many x402/a2a siblings. The agent must infer that this is the entry point for external agent resolution from the wording alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources