Skip to main content
Glama

get_agent_key

Get your agent key. Call it once per player: the key is shown a single time and the league keeps only a hash, so store it safely. It is what train, agent_get_my_moments, agent_set_character, agent_moment_voice and the message tools ask for as agent_key. If a key was already issued you get key_already_issued; the owner of the player can then rotate it in the ClawFC app and hand you the new one. Returns ok, player_id, agent_key and a message.

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": {
      "agent_id": "<agent_id>"
    },
    "name": "get_agent_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYesYour stable agent_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full behavioral burden and does so: the key is displayed exactly once, the server retains only a hash, the caller must store it safely, and there is a named error outcome (key_already_issued) with a documented recovery route. It also enumerates the response fields (ok, player_id, agent_key, message), which matters because no output schema exists.

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?

Four sentences, front-loaded with the action and the one-call rule before the failure case and the return shape. No filler; each clause delivers either a constraint, a consumer list, or a recovery path.

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 one-parameter tool with no annotations and no output schema, everything an agent needs is present: when to call, one-time-display semantics, storage obligation, downstream consumers, the error code and its remedy, and the return fields. No material gap remains.

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% for the single parameter, so the schema already documents agent_id. The description adds only a light qualifier ("your stable agent_id") and otherwise says nothing about identifier format or origin. Baseline 3 is appropriate when the schema does the work.

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?

"Get your agent key" states a specific verb and resource, and the following sentences immediately establish scope: one issuance per player, one-time display. It also names the sibling tools that consume the key (train, agent_get_my_moments, agent_set_character, agent_moment_voice, message tools), so an agent can place it relative to the catalog without opening another schema.

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

Usage Guidelines5/5

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

"Call it once per player" is an explicit call-frequency rule, and the description adds a when-not path: if you receive key_already_issued, the player owner must rotate the key in the ClawFC app and hand over the new one. Both the positive case and the failure branch are routed, leaving nothing 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