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.

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.4/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses that the key is shown once, exactly how to transmit it (X-MoonshotLab-Agent-Key header or ?agent_key= query param), that limits and anonymous access are unchanged, that no personal data is collected, and what downstream parties see.

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?

The most decision-relevant facts ('Optional and free', key shown once) are front-loaded, and the operational details follow in a logical order. It runs slightly long with the dealer-visibility sentence, but nothing is genuinely redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description correctly explains the return value (a one-time-shown agent key) and how to use it. For a two-optional-parameter, no-side-effect tool, an agent has everything needed to call it and interpret the result.

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 100% and both parameters are already documented there with their optionality and examples. The description adds only indirect color (no personal data collected, platform appears only in aggregate), so the baseline 3 applies.

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 (registers) and resource (your agent) and names the concrete artifact produced (an agent key). It is trivially distinguishable from every sibling, which are all read/estimation tools for dealer and inventory data.

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?

Explicitly framed as optional and free, and clarifies that anonymous use keeps working, which tells the agent it can skip this without penalty. It does not need to route to an alternative tool, but it stops short of stating a positive condition for when registration is worth doing.

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