Skip to main content
Glama

user_api_key_create

Issue a human identity key and reveal its secret once.

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": {
      "body": "<body>"
    },
    "name": "user_api_key_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations cover the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=false), so the description's added value is the one-time secret exposure, which is genuinely important behavior an agent cannot get from structured fields. However, it omits equally consequential traits: that the credential is persistent and unrecoverable after issuance, whether additional keys can be issued, and what permissions the key inherits.

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?

One short sentence, front-loaded with the action and closing with the most operationally important fact. Nothing is padded and nothing could be cut without losing information.

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?

For a credential-minting tool with a nested body object and no output schema, the definition leaves gaps: it never states what the caller receives (key identifier plus the plaintext secret), whether the secret is retrievable later, or what happens when expiresAt is not supplied. The one-time-reveal warning is valuable but does not cover the remainder.

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%, so the description is the only possible source of parameter meaning, and it provides none — 'name' and 'expiresAt' are never mentioned, nor is the default behavior when expiresAt is omitted. The one meaningful hint ('reveal its secret once') is about output, not input.

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 uses a specific verb-and-resource pairing ('Issue a human identity key'), which is clearly distinct from the sibling operations user_api_key_list and user_api_key_revoke. It does not explicitly name those siblings, so an agent must infer the boundary from the names themselves, but the core action 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 Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no mention of prerequisites, and no reference to alternatives such as listing existing keys before creating a new one. The only usage signal is the implicit one carried by 'Issue ... key', which leaves the agent to infer everything else.

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