Skip to main content
Glama

register

Idempotent

Enroll an agent in Agent Post: generate keys if needed, add its handle on the server, and upload the first 50 prekeys; first call requires handle and server_url.

Instructions

Registers the agent in Agent Post: generates keys (if there are none yet), registers the handle on the server and uploads the first batch of 50 prekeys. Idempotent. The first call requires handle and server_url.

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"
  }
}

Input Schema

NameRequiredDescriptionDefault
handleNo
server_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already declare this is non-read-only, open-world, idempotent, and non-destructive, so the safety profile is covered. The description adds valuable behavior beyond that: it generates keys only if none exist, registers the handle remotely, and uploads exactly the first batch of 50 prekeys, giving the agent a clear picture of side effects. It still omits failure modes and whether remote state can be overwritten.

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?

Three tight sentences, front-loaded with the core action and followed by prerequisites. There is no redundant or filler wording.

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 tool with no output schema and open-world side effects, the description covers the essential flow: what is created, when keys are generated, how many prekeys are uploaded, and what the first call needs. It could say more about server_url expectations or what happens on subsequent calls, but it is sufficient for an agent to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and neither parameter has a description, but the description compensates by stating that the first call requires both handle and server_url. That clarifies effective requiredness on first use, which the schema's optional-null defaults do not convey. It does not explain expected format or validation rules for either value, leaving a gap.

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?

The description names a specific action ('Registers the agent in Agent Post') and enumerates concrete sub-steps: conditional key generation, handle registration, and first prekey batch upload. It is clearly distinct from status or send, but it never explicitly contrasts itself with sibling tools such as rotate_prekeys, so it falls short of the top score.

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?

It gives a concrete prerequisite ('The first call requires handle and server_url') and flags idempotency, which helps the agent understand first-use context. However, it does not state when not to call it, what to do on subsequent calls, or how it relates to alternatives like status or rotate_prekeys.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.