Skip to main content
Glama

A2A Card

Upgrade a 0.3 agent card to 1.0

upgrade_agent_card
Read-only

Converts an A2A agent card written in the 0.3 layout to the 1.0 layout and returns the new card with a validation report. Fields the builder does not model (extensions, signatures, per-skill modes, extra security schemes) are not carried over.

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": "upgrade_agent_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
cardYesThe existing agent card JSON object.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description adds genuinely non-obvious behavior: the conversion is lossy, and extensions, signatures, per-skill modes, and extra security schemes are dropped rather than carried over. That is exactly the kind of data-loss warning an agent needs before invoking. It stops short of describing failure modes, such as what happens with an already-1.0 or malformed card.

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 sentences, zero filler. The core transform is front-loaded, and the lossy-field caveat follows immediately as the one thing that could surprise a caller.

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?

For a single-parameter, non-destructive transform with no output schema, the description covers what it does, what it returns (the new card plus a validation report), and the lossy-field caveat. The main residual gap is that the contents of the validation report are not characterized, so an agent cannot tell whether it needs to inspect it for errors.

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?

There is a single required parameter with 100% schema description coverage, so the schema already establishes that 'card' is the existing agent card JSON object. The description's reference to the 0.3 layout adds the implicit constraint that the input must be in 0.3 form, which is meaningful, but no further syntax or shape detail is provided.

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 with both endpoints of the transform: converts an A2A agent card from the 0.3 layout to the 1.0 layout. This is distinguishable from build_agent_card and check_agent_card purely from the wording, since it names a migration direction rather than construction or validation.

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 version pair — an agent can infer this is for migrating an existing 0.3 card — but there is no explicit when-to-use statement and no routing to siblings such as check_agent_card for validating a card that is already 1.0 or build_agent_card for authoring a fresh one. The guidance is adequate but leaves the agent to reason about alternatives.

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