Skip to main content
Glama

a2a_add_agent

Add a remote A2A agent by URL after validating its agent card, and persist it in the shared registry for future use.

Instructions

Register a new A2A agent by its base URL.

The agent card is fetched first, so an unreachable URL is rejected instead of being saved. With persist=true the agent is written to the shared registry file and stays available in future sessions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
nameYes
headersNo
persistNo
Behavior4/5

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

With no annotations provided, the description carries the full burden and it does meaningful work: it discloses that the agent card is fetched first, unreachable URLs are rejected instead of saved, and persist=true writes to a shared registry file. It does not cover every edge case, but it provides substantial insight into the tool's behavior.

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?

The description is three short, front-loaded sentences with no filler. The core action comes first, and the following sentences provide useful behavioral details without repeating the schema or wasting words.

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

Completeness3/5

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

The description adequately covers the main registration flow and persistence behavior, which is enough for a basic call. But it omits important context such as the purpose of headers, what the tool returns after successful registration, and the exact behavior when persist is false, leaving it short of fully complete.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate for missing parameter explanations. It adds real meaning for 'url' (base URL) and 'persist' (shared registry file), but it leaves 'name' and especially 'headers' entirely unexplained, and does not clarify what persist=false means for session lifetime.

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 first sentence names a concrete action ('Register') and a specific resource ('a new A2A agent'), and adds the mechanism ('by its base URL'). This makes the tool's purpose immediately clear and it is obviously distinct from sibling tools like list, send, get, and cancel, though it does not explicitly name those alternatives.

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?

The description implies when to use the tool through 'Register a new A2A agent,' and it gives some context about persistence across sessions. However, it never explicitly contrasts this tool with alternatives or states when not to use it, so the agent has to infer the usage boundary.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TonPC64/mcp-a2a-bridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server