Skip to main content
Glama

register_agent

Register an A2A agent with the bridge server to enable communication by fetching and storing its AgentCard from a provided URL.

Instructions

Registers an Agent-to-Agent (A2A) agent with the bridge server.

This tool fetches the agent's information (AgentCard) from the given URL and stores it in the server's list of registered agents, making it available for communication.

Args: url (str): The base URL of the A2A agent to register. This URL should point to where the agent's card can be resolved. ctx (Context): The MCP context, used for logging information back to the client.

Returns: Dict[str, Any]: A dictionary containing the registration status. On success, it includes the status and the registered agent's details. On error, it includes the status and an error message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes

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/yw0nam/mcp_a2a_gateway'

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