Skip to main content
Glama

List an agent in the directory

submit_agent

Use 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

NameRequiredDescriptionDefault
urlYesA2A agent card URL, MCP server URL, or a paid x402 URL with protocol x402 (https)
nameNo
categoryNo
homepageNo
protocolNox402 = a paid HTTP API; then url is a paid URL that answers 402 and name + description are required
x402_urlNoOptional paid x402 endpoint we can trust-check
descriptionNo
contact_emailYesContact email for this listing (private)

Output Schema

NameRequiredDescriptionDefault
noteNo
listedYes
statusYes
listingYes
manage_noteYes
manage_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "listed": {
      +      "type": "boolean"
      +    },
      +    "listing": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "name": {
      +          "type": "string"
      +        },
      +        "slug": {
      +          "type": "string"
      +        },
      +        "status": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "slug",
      +        "name",
      +        "status"
      +      ],
      +      "type": "object"
      +    },
      +    "manage_note": {
      +      "type": "string"
      +    },
      +    "manage_token": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "note": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "status": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "listed",
      +    "status",
      +    "manage_note",
      +    "listing"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing what the server actually does: it fetches the agent card or runs an MCP handshake but never calls the listed tools, and a passing check publishes immediately. It also notes the private contact email and the one-time manage token returned, which explains the non-idempotent, open-world write behavior the annotations only hint at.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the trigger, then the mechanics, then the return value and safety caveat. Dense but no filler; the only nit is that the x402 case is dropped while lower-value details like 'free' and 'never calls its tools' are retained.

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 an 8-parameter, open-world creation tool with an output schema and annotations present, the description covers the action, the verification behavior, privacy of the contact email, and the returned manage token. The notable gap is the x402 protocol branch, which changes required fields and is not mentioned at all.

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

Parameters3/5

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

With schema coverage at 50%, the description usefully restates the URL's two main forms and confirms the contact email is never public. However, it omits the x402 paid-URL path entirely, even though the protocol enum and the schema note that x402 requires name and description, so a third of the URL semantics are left to the schema alone.

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: 'Add an MCP server or A2A agent to the public Rooms agent directory (free)', which is clearly distinct from siblings like search_agents or list_rooms. An agent can tell immediately that this creates a public listing rather than querying one.

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?

Opens with an explicit trigger ('Use when you want an agent listed') and adds a constraint ('Only list agents you're allowed to publish'). It does not name an alternative tool or state when not to use it, but the usage context is clear enough that no ambiguity remains about the primary case.

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