Skip to main content
Glama

register_agent

Optional and free. Registers your agent and returns an agent key (shown once) that gives it a durable, anonymous id in Moonshot Lab's bot analytics. Send it as the X-MoonshotLab-Agent-Key header, or add ?agent_key= to the MCP URL. Nothing else changes: anonymous use keeps working, limits are the same, and no personal data is collected. Dealers only ever see aggregate demand by platform name.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "register_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
platformNoOptional: platform it runs on, e.g. ChatGPT, Claude, custom.
agent_nameNoOptional: your agent or product name (no personal data).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, openWorldHint=false, idempotentHint=false and destructiveHint=false. The description adds substantial context beyond that: the key is shown only once, limits are unchanged, no personal data is collected, and dealers see only aggregate demand by platform. It does not explain what a repeat registration does (new key vs. same key), which matters given idempotentHint=false.

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 key fact that the tool is optional and what it returns. The final sentence about dealer visibility is privacy reassurance that earns its place by reinforcing the anonymity constraint, though it is the most cuttable line.

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 a two-optional-parameter registration tool with annotations and no output schema, the description covers the return value, key lifetime, transmission method, side effects, and privacy posture. The only meaningful gap is repeat-call behavior, which would matter because the tool is flagged non-idempotent.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning: the id is anonymous and "no personal data" should be supplied, which constrains how agent_name and platform should be filled. It does not otherwise elaborate on the two optional fields, which the schema already covers.

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 description names the specific action and outcome: registers your agent and returns an agent key that gives it a durable, anonymous id in bot analytics. It also states the resource scope (Moonshot Lab bot analytics) and how the artifact is used (X-MoonshotLab-Agent-Key header or ?agent_key= query param), which no sibling tool does.

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 clearly frames the call as "Optional and free" and states that anonymous use keeps working, so an agent knows skipping it costs nothing. It lacks an explicit "use this when..." trigger beyond wanting an attributed id, but the optional/opt-in framing effectively covers when-not to call it.

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