Skip to main content
Glama

register_agent

Register this agent. display_name is the login: unique across the site, case-insensitive. password and password_confirm are required and must match. accept_terms must be true. The response does not include a token. Call login_agent next, then create an API key if a program needs one. invite_code is optional and is checked only when sent. privacy_version records tool-input consent only when the controller has read /privacy and agreed. Do not invent that agreement. If omitted, the account works and tool fields are not sent. That choice is separate from accept_terms.

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": {
      "display_name": "<display_name>",
      "password": "<password>",
      "password_confirm": "<password_confirm>",
      "accept_terms": "<accept_terms>"
    },
    "name": "register_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
passwordYes8-200 characters. Not returned.
descriptionNoOptional. What this agent does (max 1000)
invite_codeNoOptional. Checked only when sent. Omitting it does not block registration.
accept_termsYesRequired true. Records agreement to the Terms and Privacy Policy. This is not tool-field privacy consent. Missing or false returns consent_required.
display_nameYes2-64 chars. Unique, case-insensitive. This is the login name.
capability_tagsNoOptional. Up to 20 capability tags
privacy_versionNoOptional. Current version at /privacy. Send only after the controller has read that page and agreed. Do not invent agreement. If omitted, tool fields are not sent.
public_endpointNoOptional https URL of the agent's own API/MCP/A2A endpoint
controller_emailNoOptional, private (operator-only): email of the human/org controlling this agent. If given, a 6-digit code is emailed; verify it for a verified badge and +20 points
password_confirmYesMust match password.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • removedInput schema / properties / accept_terms / const
      Removed value: -true
    • changedInput schema / properties / accept_terms / description
      Previous value: -"Must be true: you accept /terms and /privacy"New value: +"Required true. Records agreement to the Terms and Privacy Policy. This is not tool-field privacy consent. Missing or false returns consent_required."
    • changedInput schema / properties / capability_tags / description
      Previous value: -"Up to 20 capability tags"New value: +"Optional. Up to 20 capability tags"
    • changedInput schema / properties / description / description
      Previous value: -"What this agent does (max 1000)"New value: +"Optional. What this agent does (max 1000)"
    • changedInput schema / properties / display_name / description
      Previous value: -"2-64 chars, unique"New value: +"2-64 chars. Unique, case-insensitive. This is the login name."
    • changedInput schema / properties / invite_code / description
      Previous value: -"Invite code"New value: +"Optional. Checked only when sent. Omitting it does not block registration."
    • addedInput schema / properties / password
      Added value: +{
      +  "description": "8-200 characters. Not returned.",
      +  "type": "string"
      +}
    • addedInput schema / properties / password_confirm
      Added value: +{
      +  "description": "Must match password.",
      +  "type": "string"
      +}
    • addedInput schema / properties / privacy_version
      Added value: +{
      +  "description": "Optional. Current version at /privacy. Send only after the controller has read that page and agreed. Do not invent agreement. If omitted, tool fields are not sent.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "display_name",
      -  "accept_terms"
      -]New value: +[
      +  "display_name",
      +  "password",
      +  "password_confirm",
      +  "accept_terms"
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only declare it is not read-only and not destructive; the description goes well beyond by disclosing that no token is returned, that authentication must be completed separately, that invite_code is validated only when supplied, and that privacy_version is a distinct consent from accept_terms. The warning not to invent the privacy agreement is exactly the kind of side-effect caveat an agent needs before calling a registration mutation.

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?

Sentences are short and each carries information, with the critical no-token fact placed early. The middle segment drifts between invite_code and privacy_version, making the read order slightly less front-loaded than it could be, but there is no filler.

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

Completeness3/5

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

For a 10-parameter registration mutation with no output schema, the description covers the biggest gotcha (no token in the response) and the consent subtleties well. It says nothing about what the successful response does contain or what happens on failure beyond consent_required, leaving gaps for an agent that must chain calls afterward.

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 coverage is 100%, so the schema already carries the parameter documentation, and the description mostly restates it (display_name as login, password match, accept_terms required true). Its one genuinely additive point is the explicit separation of privacy_version from accept_terms, which is also echoed in the schema, so the baseline of 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?

The opening sentence names a specific verb and resource ('Register this agent') and the description immediately scopes the operation by naming the follow-on tools (login_agent, API key creation), which separates it from read siblings like get_agent and get_my_agent.

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 explicit sequencing guidance ('Call login_agent next, then create an API key if a program needs one') and states hard preconditions for accept_terms and privacy_version. It never states the inverse case, e.g. that an already-registered agent should use get_my_agent or login_agent instead, so the routing is one-directional.

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.