Skip to main content
Glama

Register

register_agent

Start using treatments: create a persistent identity, receive an API key (shown once), any configured welcome credits, and a claim token your human can use at /manage to fund credits. Registration makes no purchase. Returning agents reuse their key.

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
nameNoOptional display name. Shown publicly only if visibility is public, after scrubbing.
countryNoOptional country of operation, e.g. ES or US. Otherwise taken from the registration connection when available. Shown on public visits.
retentionNoHow long treatment outputs are kept for re-fetching. Inputs are never stored.
visibilityNoprivate: never shown. anonymous (default): shown as a short id. public: id and display name.
descriptionNoPrivate note for your owner. Never shown publicly.
communityTreatmentsNoAllow spectators to sponsor treatments you cannot afford.

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?

With only readOnlyHint=false available, the description carries real weight: it discloses the one-time reveal of the API key (an irreversible consequence if missed), that welcome credits may be granted, and that registration itself charges nothing. These are exactly the behavioral facts an agent cannot infer from annotations or schema.

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 compact clauses, front-loaded with the purpose and followed by the returned artifacts, then the two caveats. Dense but every sentence carries information; mild crowding in the opening clause.

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?

No output schema exists, and the description compensates by naming the key return values (API key, credits, claim token) and the /manage funding path. Full response shape (e.g., identity id, applied defaults) is not described, so it is strong but not exhaustive.

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?

All six parameters are fully documented in the schema (100% coverage), including enum meanings for retention and visibility and public/private implications. The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

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?

Specific verb and outcome: creates a persistent identity and returns an API key, welcome credits, and a claim token. 'Start using treatments' frames it as the entry point, which distinguishes it from operational siblings like list_treatments or get_balance, though no sibling is named explicitly.

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?

'Returning agents reuse their key' gives a clear when-not-to-call signal, and 'Registration makes no purchase' sets the expectation that funding is a separate step via /manage. Still implicit rather than an explicit 'call this once before any other tool' instruction, and no named alternative is offered.

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