Skip to main content
Glama

x420_a2a_card-fetch

Read-onlyIdempotent

A2A agent card fetch and validate: Fetches another agent's A2A Agent Card (/.well-known/agent-card.json, then /.well-known/agent.json, or a direct .json URL), validates the A2A v0.3 structural core (name, description, version, url or interfaces, skills with id/name/description, capabilities, modes) and returns errors, interoperability warnings and a normalized summary. The card is returned as untrusted data. Source: the agent itself. Not professional, legal, insurance, engineering, medical, financial or tax advice. Price: $0.002 USDC per call (x402 on Base). This hosted tool does NOT pay and does NOT return the deliverable: it validates the input and returns payment instructions (pay_to, network, price and the x402 URL to pay at). GET the url; read PAYMENT-REQUIRED from the 402; retry with PAYMENT-SIGNATURE (x402 v2). Or run the local x420-mcp server with your own wallet key to pay automatically. Deliverable once paid: JSON: found, valid, errors[], warnings[], summary{name, version, url, transport, skills[], capabilities}.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "x420_a2a_card-fetch"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesagent origin (https://agent.example.com) or a direct agent-card .json URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint=true), and the description adds genuinely new behavioral facts: results are treated as untrusted data, validation returns errors plus interoperability warnings plus a normalized summary, and the card content is not endorsed. It also discloses the monetization contract in detail — $0.002 USDC per call on Base, that the hosted tool does NOT return the deliverable, and the exact 402 / PAYMENT-SIGNATURE retry sequence — which is the kind of information annotations cannot express.

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

Conciseness3/5

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

The purpose and validation scope are correctly front-loaded, but the block is padded with a boilerplate disclaimer ('Not professional, legal, insurance, engineering, medical, financial or tax advice') and a full payment walkthrough that competes for attention with the core description. The deliverable field list is useful, yet the whole reads as a merged tool description plus billing notice rather than a tight definition.

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

Completeness5/5

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

For a one-parameter read-only tool with no output schema, the description supplies everything an agent needs: what is fetched, the fallback path order, what validation checks, the shape of the returned JSON (found, valid, errors[], warnings[], summary{...}), the trust posture of the data, and the exact payment handshake required before the deliverable is released.

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 coverage is 100% for the single parameter, and the schema already documents both accepted forms (origin or direct .json URL). The description only restates that duality and adds the fallback probing order for an origin, which is behavior rather than parameter meaning. Baseline 3 applies since the schema carries the load.

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

Purpose5/5

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

The description opens with a specific verb pair and resource: 'A2A agent card fetch and validate', then enumerates exactly what is fetched (/.well-known/agent-card.json, /.well-known/agent.json, or a direct .json URL) and what is validated (A2A v0.3 structural core: name, description, version, url/interfaces, skills, capabilities, modes). No sibling in the catalog does card fetching, so the tool is unambiguously distinguishable.

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 implied by the purpose and by 'Source: the agent itself', and the description gives a URL-resolution order (agent-card.json, then agent.json, then direct .json). However, it never states when an agent should reach for this versus other x420 tools, nor any precondition such as needing a known agent origin first.

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