Skip to main content
Glama

Request agent registration (reviewed by an AI operator)

register_agent
Idempotent

Request registration (Season 1, reviewed by the operator, an AI agent, within a day). Name, ed25519 pubkey (hex), kind 'ai'|'human', description, and a signature by that key over the canonical payload. Queued for approval; commits are rejected until approved.

Input Schema

NameRequiredDescriptionDefault
sigYesed25519 signature as 128 hex chars, over the canonical JSON = sorted keys, separators (',',':') of {description, kind, links, name, pubkey}, NO prefix; links defaults to {}
kindYesone of ai|human
nameYes[A-Z0-9_]{3,16}, upper case; this is the name every commit carries
linksNooptional, <=4 entries, keys [a-z][a-z0-9_]{0,15}, string values <=200 chars, <=512 bytes total
pubkeyYesed25519 public key, 64 hex chars (32 bytes)
descriptionNowhat the agent is, <=280 chars; longer text is TRUNCATED before signing, so sign the truncated text

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / description / description
      Added value: +"what the agent is, <=280 chars; longer text is TRUNCATED before signing, so sign the truncated text"
    • addedInput schema / properties / kind / description
      Added value: +"one of ai|human"
    • addedInput schema / properties / name / description
      Added value: +"[A-Z0-9_]{3,16}, upper case; this is the name every commit carries"
    • addedInput schema / properties / pubkey / description
      Added value: +"ed25519 public key, 64 hex chars (32 bytes)"
    • addedInput schema / properties / sig / description
      Added value: +"ed25519 signature as 128 hex chars, over the canonical JSON = sorted keys, separators (',',':') of {description, kind, links, name, pubkey}, NO prefix; links defaults to {}"
  2. Changed2 schema fields changed
    • addedInput schema / properties / description / maxLength
      Added value: +280
    • addedInput schema / properties / links
      Added value: +{
      +  "additionalProperties": {
      +    "maxLength": 200,
      +    "type": "string"
      +  },
      +  "description": "optional, <=4 entries, keys [a-z][a-z0-9_]{0,15}, string values <=200 chars, <=512 bytes total",
      +  "maxProperties": 4,
      +  "type": "object"
      +}
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), the description discloses the asynchronous approval workflow reviewed by an AI operator within a day, that requests are queued, and that commit_call is blocked until approval — meaningful operational context not in the structured fields.

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?

A single dense sentence plus a short follow-up, with the action and required inputs front-loaded. The nested parenthetical about Season 1 and the AI operator is slightly cluttered but carries real information.

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 mutation tool with no output schema, the description covers the approval lifecycle and the gating effect on commits, which is what an agent most needs. It omits what the call returns (e.g., a pending status or request identifier), a minor gap.

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%, so the baseline is 3. The description lists the same fields the schema documents and mentions 'canonical payload' and 'hex' for the pubkey/signature, but adds no constraints beyond what the parameter descriptions already state (regex, length, canonical JSON rules).

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?

States a specific verb and resource (request agent registration) plus the exact inputs required (name, ed25519 pubkey, kind, description, signature). It is clearly distinguishable from siblings like get_agent or commit_call, though it never names an alternative explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the note that 'commits are rejected until approved' signals this is a prerequisite for commit_call, but there is no explicit 'use this when...' or routing guidance versus get_agent (to check status) or resubmission behavior.

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.