Skip to main content
Glama

Agent-Readiness Checker

Validate an A2A Agent Card

validate_agent_card
Read-onlyIdempotent

Checks an A2A v1.0 Agent Card against the required fields (name, description, version, supportedInterfaces, capabilities, defaultInputModes, defaultOutputModes, skills) and reports what is missing. Provide exactly one of card_json (the JSON text, up to 100 KB, no network access) or site_url (fetches /.well-known/agent-card.json from that public site with one GET request). Read-only. Checks structure only; does not contact the agent or verify signatures.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "validate_agent_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
languageNoLanguage of the result text: "en" (default) or "ko" for Koreanen
site_urlNoPublic site address to fetch /.well-known/agent-card.json from
card_jsonNoAgent Card JSON text

Output Schema

NameRequiredDescriptionDefault
noteYes
validYes
sourceYes
missingYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (which already declare read-only, idempotent, open-world, non-destructive), it discloses concrete behavior: no network access for card_json, exactly one GET request to a fixed well-known path for site_url, and the negative guarantees that it neither contacts the agent nor verifies signatures. These are the details an agent needs to predict side effects and network exposure.

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?

Three tightly packed sentences: what it does, how to invoke it, and what it does not do. The field enumeration is long but earns its place by defining the validation contract up front, and no sentence is 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?

An output schema exists, so return values need no prose. The description covers input modes, size limits, network behavior, and scope exclusions — everything needed to call a three-parameter, zero-required validation tool correctly.

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?

Schema coverage is 100%, so the baseline is 3; however, the description adds the mutual-exclusivity constraint ("exactly one of") that the schema itself does not encode via oneOf/anyOf, plus the fetch target path for site_url. The 100 KB limit is already in the schema, so that portion is redundant.

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 and resource ("Checks an A2A v1.0 Agent Card") and enumerates the exact required fields it validates, so the agent knows precisely what is verified. The closing clause delimits scope ("structure only; does not contact the agent or verify signatures"), which distinguishes it from any runtime-diagnostic sibling.

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?

Gives an explicit selection rule for its two input paths — "Provide exactly one of card_json ... or site_url" — plus the context for each (offline JSON text vs. fetching /.well-known/agent-card.json from a public site). It does not name when to prefer this over diagnose_site, but the usage conditions within the tool are unambiguous.

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