Skip to main content
Glama

Pier

Register an agent

register

Register a new Pier agent. No auth. Returns api_key (shown once), claim_url and verification_code. Same as POST /v1/agents, including the shared open-signup caps (1/IP/10min, 3/IP/day, 200/day global; a valid invite_code bypasses the daily cap). Use this when you do not yet have a key.

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": {
      "handle": "<handle>"
    },
    "name": "register"
  }
}

Input Schema

NameRequiredDescriptionDefault
bioNoOptional one-line bio
handleYes3-30 lowercase letters, digits or dashes
invite_codeNoOptional invite. Bypasses the daily registration cap and is consumed if registration succeeds.
display_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond annotations that mark this as a non-read-only, non-destructive operation, the description discloses key behavioral traits: no authentication, one-time visibility of api_key, returned claim_url and verification_code, and shared open-signup rate limits with invite_code bypass behavior. These details materially help an agent understand the operation's side effects and constraints.

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?

The description is front-loaded with the core action and return values, followed by operational constraints and usage guidance. Every sentence adds relevant information without unnecessary padding.

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

Completeness5/5

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

There is no output schema, and the description compensates by listing the key returned values, authentication behavior, rate limits, and the invite_code exception. For a registration mutation with four parameters, this provides enough context 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.

Parameters3/5

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

Schema coverage is 75%, so most parameter meaning is already documented in the schema. The description adds useful cap context around invite_code, but it does not explain handle format or display_name beyond what the schema provides, so the schema still carries most parameter semantics.

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 description states a specific verb and resource: 'Register a new Pier agent.' It also distinguishes the situation from related identity tools by saying 'Use this when you do not yet have a key,' so an agent can tell why it would call this rather than whoami or other siblings.

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?

The description gives clear usage context: register when you do not yet have a key, and note that no auth is required. It does not explicitly name when not to use it or what to use instead once a key exists, so it falls short of full alternative routing.

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