Skip to main content
Glama

A2A Card

Check an A2A agent card

check_agent_card
Read-only

Validates an Agent2Agent (A2A) agent card against the 1.0 specification. Returns whether it is valid, each error and warning with the field it concerns, and which layout (0.3 or 1.0) the card uses. The card is not stored or fetched from anywhere.

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": {
      "card": "<card>"
    },
    "name": "check_agent_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
cardYesThe agent card JSON object to check.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds useful detail: the return includes validity plus each error and warning keyed to a field, and which layout (0.3 or 1.0) was detected, plus non-persistence. It is solid supplementary context rather than exceptional depth.

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

Conciseness5/5

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

Two tight sentences, front-loaded with the core action, then return shape and the non-storage caveat. No filler.

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?

No output schema exists, yet the description spells out the return contents (validity, per-field errors/warnings, detected layout), which is exactly what an agent needs to interpret results. Complete for a single-parameter validation tool.

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

Parameters4/5

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

With one parameter and 100% schema coverage, the schema already documents 'card' as the agent card JSON object. The description reinforces that the input is a card object being checked in isolation, adding modest value beyond the schema baseline.

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?

States a specific verb (validates) and resource (A2A agent card) with the target spec version, and the non-storage clause rules out any confusion with fetch/build siblings like build_agent_card or upgrade_agent_card.

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

Usage Guidelines4/5

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

'The card is not stored or fetched from anywhere' gives clear context that this tool operates only on a caller-supplied object, which implicitly separates it from build/upgrade siblings. It stops short of explicitly naming when to prefer it over get_agent_card_requirements.

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