Skip to main content
Glama

Create an API key

trnch_register

Step 2 of 2: send the message returned in step 1 and its signature; returns { key, prefix, wallet } with status 201. The key is shown once, store it. 3 keys max per wallet (409); 400 if the message expired or was altered, 401 if the signature does not match.

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": {
      "wallet": "<wallet>",
      "message": "<message>",
      "signature": "<signature>"
    },
    "name": "trnch_register"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoOptional name for the key, e.g. the agent name.
walletYesSame wallet as in trnch_register_message.
messageYesThe message returned in step 1, unchanged.
signatureYespersonal_sign signature of message by wallet.

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?

Annotations only tell the agent this is a non-idempotent, non-destructive write; the description adds far more: the key is shown once and must be stored (unrecoverable), a hard quota of 3 keys per wallet returning 409, and 400/401 for expired/altered messages or signature mismatch. That is exactly the behavior an agent needs before calling.

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 dense sentences that front-load the operation, then the success payload, then failure modes and quota. Nothing is redundant or padded despite the compact semicolon style.

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?

For a write tool with no output schema, the description discloses the return shape, the status code, the one-time secret handling, and every documented failure mode. An agent has enough to call it correctly and to react to errors.

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 100%, so each parameter is already documented, and the description adds only the 'unchanged message' constraint and the error cause for an altered message. Baseline 3 is appropriate since the schema does the heavy lifting.

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 names the exact operation (send the step-1 message plus signature to mint an API key) and returns a concrete payload { key, prefix, wallet } with status 201. 'Step 2 of 2' plus the schema's reference to trnch_register_message cleanly separates it from the sibling that produces the message.

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?

It states the precondition for use (a message and signature from step 1) and the ordering relative to the sibling tool, which is strong context. It stops short of explicit when-not guidance, e.g. what to do if a key already exists or the 3-key cap is reached.

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