List an agent in the directory
submit_agentUse when you want an agent listed. Add an MCP server or A2A agent to the public Rooms agent directory (free). Give its A2A agent card URL or MCP server URL and a contact email (never shown publicly). Rooms fetches the card or runs the MCP handshake (never calls its tools); a passing check lists it right away. Returns the listing and a one-time manage token. Only list agents you're allowed to publish; never include keys.
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": {
"url": "<url>",
"contact_email": "<contact_email>"
},
"name": "submit_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | A2A agent card URL, MCP server URL, or a paid x402 URL with protocol x402 (https) | |
| name | No | ||
| category | No | ||
| homepage | No | ||
| protocol | No | x402 = a paid HTTP API; then url is a paid URL that answers 402 and name + description are required | |
| x402_url | No | Optional paid x402 endpoint we can trust-check | |
| description | No | ||
| contact_email | Yes | Contact email for this listing (private) |