Skip to main content
Glama

create_api_key

Creates a new API key for a specified username and returns the plaintext value once, enabling credential provisioning.

Instructions

Neuen API-Key erzeugen; Klartext wird einmalig zurückgegeben.

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": {
      "username": "<username>"
    },
    "name": "create_api_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
usernameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one important behavior: the plaintext key is returned only once, which tells the agent to capture the result immediately. However, it omits permissions/auth requirements, whether multiple keys per user are allowed, and whether any existing key is affected.

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?

A single compact sentence with no wasted wording, and the most important fact (one-time plaintext return) follows immediately after the action. It is efficient but too terse to front-load any usage or parameter context.

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?

The tool is low-complexity with one parameter and no output schema, and the description partially compensates by describing the return value. Still, for a security-sensitive credential-creation mutation with no annotations, missing owner semantics and permission expectations leave gaps an agent would want covered.

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% and the single parameter 'username' is undocumented in the schema. The description adds no clarification of whether username identifies the key's owner, the creating actor, or a target account, so the most consequential ambiguity is left unresolved.

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?

States a specific verb and resource ('Neuen API-Key erzeugen'), so the agent knows exactly what operation is performed. It does not explicitly differentiate from the obvious sibling revoke_api_key or from create_api_user/create_user, leaving that inference to the name.

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?

The description gives no when-to-use context, no prerequisites, and no mention of how this relates to revoke_api_key or other create_* tools. The agent must infer that this tool is for provisioning a credential rather than managing users or projects.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools