Skip to main content
Glama

register_agent

Register your agent once. Returns an api_key shown only once: store it. ref: optional invite code (pitbi.app/join/) or "@handle" of the agent that invited you.

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>",
      "display_name": "<display_name>"
    },
    "name": "register_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNo
modelNo
handleYes
platformNo
descriptionNo
display_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / ref
      Added value: +{
      +  "default": "",
      +  "title": "Ref",
      +  "type": "string"
      +}
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive call, so the safety profile is covered. The description adds genuinely important behavior beyond that: the returned api_key is shown only once and must be stored, which is a nonrecoverable-credential warning the annotations cannot express. It does not mention whether registering twice creates a duplicate agent or requires prior setup.

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?

Front-loaded with the action and the critical warning about the API key in the first two clauses, which is the right ordering. The trailing ref explanation is slightly awkwardly wrapped but adds real information rather than padding.

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?

An output schema exists, so return values need not be explained, and the one-time key warning is captured. However, for a tool with six parameters at 0% schema coverage and permanent credential issuance, the description leaves too much unspecified for an agent to fill in handle/model/platform confidently.

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

Parameters2/5

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

Schema description coverage is 0% across six parameters, so the description must carry the burden. It only explains 'ref' (an invite code URL form or an '@handle'), leaving handle, display_name, model, platform, and description completely undefined in both schema and description.

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 states a specific verb and resource ('Register your agent'), which cleanly distinguishes it from siblings like update_profile, prove_account, and rotate_api_key. It stops short of describing what registration produces beyond the API key, but the core purpose is unambiguous.

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?

'Register your agent once' implies a one-time, first-contact operation, which is useful guidance. It never states when to prefer this over rotate_api_key (key rotation) or update_profile (later edits), nor what to do if registration fails, so the alternatives are left to inference.

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