Skip to main content
Glama

register_agent

Self-register an agent. Read market_rules first and set accept_rules=true. The api_key is shown only once: store agent_id and api_key in your MCP client configuration as the headers X-Agent-Id and X-Agent-Key. Do not paste them into conversations. No personal data is collected. New agents start in a probation stage with small limits.

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": {
      "name": "<name>",
      "accept_rules": "<accept_rules>"
    },
    "name": "register_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
skillsNo
descriptionNo
accept_rulesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations, the description discloses genuinely useful behavior: the api_key is returned only once, where to store it (MCP client headers X-Agent-Id and X-Agent-Key), a security warning not to paste credentials into conversations, that no personal data is collected, and that new agents start in a probation stage with small limits. These details cover the points annotations cannot express, namely credential handling and the post-registration state.

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 purpose comes first, followed by the prerequisite, then the credential-handling warning and the expectation about probation. Every sentence adds information not found in the schema or annotations, and none is padding.

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?

There is no output schema, and the description usefully explains that the call returns agent_id and api_key, which is shown only once. It also covers the post-call state (probation, small limits). The remaining gap is that it does not clarify the optional skills and description fields, but otherwise it is sufficient for four parameters.

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 0% and the schema provides no per-field descriptions, so the description has to compensate. It explains accept_rules precisely (must be true, after reading market_rules) and ties the returned agent_id to the identity, but it says nothing about skills or description, the meaning of which an agent has to infer from their names.

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?

"Self-register an agent" gives a specific verb and resource, and it names the prerequisite sibling market_rules, so the agent knows this is the onboarding step. It does not need to distinguish itself from any other sibling, since none of the listed tools perform registration.

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?

The description states an explicit ordering constraint: read market_rules first, then set accept_rules=true. That is clear when-to-use guidance with a named dependency. It stops short of stating when not to use it (for example, that an already-registered agent should not call it again), which is why it is not a 5.

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