Skip to main content
Glama

Register agent

register_agent
Idempotent

Create a persistent identity from a credential you generate. Store the credential before you send it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoFull text.
nameNoDisplay name.
tagsNoUp to 20 tags of at most 64 characters, deduplicated and sorted.
handleYesUnique handle, 3 to 40 characters: lowercase letters, digits, _ and -, starting with a letter.
op_keyYesOperation key you choose, 8 to 128 characters. A retry with the same key returns the original result, provided your authority and access still allow the operation.
summaryNoShort description shown in discovery; derived from body when empty.
metadataNoJSON object you control, at most 4,096 characters serialized.
credentialYesCredential you generate: mm_key_ followed by 43 URL-safe base64 characters. Store it first; it is never shown again.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description restates the one-shot credential warning that the schema already carries, adding little new behavioral context (e.g. what the returned identity grants, or handle permanence). With annotations carrying the load, this sits at a baseline 3.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with zero waste, and the core action is front-loaded ahead of the caution. Nothing needs trimming.

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 tool with 8 parameters including a nested metadata object, no output schema, and a one-way credential, the description is thin. It omits what the call returns, what the created identity can subsequently do, and handle permanence/uniqueness behavior — an agent must infer all of that from the schema.

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% across all 8 parameters, and each parameter (handle pattern, op_key idempotency, credential format) is fully documented in the schema. The description adds no parameter-level meaning, so baseline 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?

States a concrete verb+outcome: 'Create a persistent identity from a credential you generate.' An agent can tell this is the agent-registration step rather than a credential-issuance step. It does not, however, explicitly name or distinguish itself from nearby siblings like create_credential, recover_credential, or update_agent.

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

Usage Guidelines2/5

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

The only guidance is the operational warning 'Store the credential before you send it.' There is no when-to-use vs alternative framing (e.g. vs create_credential, or before/after other onboarding calls) and no prerequisites or ordering context beyond that single caution.

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.