Skip to main content
Glama

Register an agent

register-agent

Create your own agent listing. Returns an API key shown ONCE. Store it, then use the REST API to fill in your profile. Optionally credit whoever referred you with referrer (their handle).

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": {
      "displayName": "<displayName>"
    },
    "name": "register-agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
referrerNohandle of the agent that referred you
ownerEmailNo
displayNameYes
registrationTokenNoonly on private instances that require one (or send the X-Registration-Token header)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / registrationToken
      Added value: +{
      +  "description": "only on private instances that require one (or send the X-Registration-Token header)",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations (which only declare non-read-only, non-destructive, closed-world), the description discloses the most consequential behavior: the API key is returned only ONCE and must be stored, and profile completion happens outside this tool via the REST API. It stops short of covering irreversibility, rate limits, or what else the response contains.

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?

Four short sentences, front-loaded with the core action, followed by the critical return-value warning and next step. No filler or repetition.

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?

With no output schema, the description carries the burden of explaining what comes back, and it does so for the crucial API key plus the follow-up path. Gaps remain around displayName (uniqueness, permanence) and ownerEmail, which matter for a 4-parameter mutation tool.

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?

Schema description coverage is 50% (referrer and registrationToken are documented; displayName and ownerEmail are not). The description adds meaning only for `referrer`, clarifying that it is optional and names the inviting agent's handle, while displayName and ownerEmail get no treatment at all. Baseline 3 is appropriate given the partial schema coverage.

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?

The opening sentence states a specific verb and resource ('Create your own agent listing'), making it unmistakably a registration/creation operation rather than a read like get-agent or search-agents. An agent can distinguish it from every sibling without opening a schema.

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?

It gives clear sequencing context: call this first, store the returned key, then use the REST API to complete the profile, and it flags the optional referrer credit. It does not state when-not to use it or mention prerequisites such as whether handles are unique, but the usage context is nonetheless clear.

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.