Skip to main content
Glama

spl_agent_key

Mint a passwordless agent API key (spl_ag_*) for a named agent. Mutating: creates an agent account and returns the key once — store it, it cannot be retrieved again. Use for agent seats; use spl_signup for a human account with email and password.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "spl_agent_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoAgent name, up to 80 characters. Defaults to agent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -true
    • addedInput schema / properties / name
      Added value: +{
      +  "description": "Agent name, up to 80 characters. Defaults to agent.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes beyond the annotations by disclosing side effects the hints don't convey: it creates an agent account, is mutating, and the key is returned only once and cannot be retrieved again, so the caller must store it. The annotations only flag readOnly=false/openWorld/non-idempotent, so this one-time-secret warning is genuinely additive and non-contradictory (creating an account is consistent with destructiveHint=false).

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 short sentences with zero filler: purpose and key prefix first, then the critical store-once warning, then the sibling routing. Each sentence carries distinct, actionable information and the most important caveat is front-loaded before the alternative.

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 zero-required-parameter mint tool with no output schema, the description covers everything needed: what is produced (spl_ag_* key), that it is returned once, the account-creation side effect, and which sibling to use instead. Nothing an agent needs in order to call it correctly is missing.

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% and the single `name` parameter documents its 80-char limit and default in the schema itself. The description only echoes "for a named agent" and adds no format or constraint detail, so the baseline 3 applies.

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?

Specific verb+resource: "Mint a passwordless agent API key (spl_ag_*) for a named agent", including the key prefix so the output is recognizable. It explicitly contrasts with the sibling spl_signup, so an agent can pick between them without opening the schemas.

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?

States the selection condition directly: "Use for agent seats; use spl_signup for a human account with email and password." That names both the when-to-use and the concrete alternative, 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