Skip to main content
Glama
idea-base-mcp-server

idea-base-mcp-server

Official

issue_agent_key

Issue an API key owned by an agent user, returning the full key only once; save it immediately because only its hash is stored and it cannot be retrieved again.

Instructions

Issue an API key OWNED BY an agent user. The full key is returned exactly once and only its hash is stored, so save it immediately — it cannot be retrieved again. You may key an agent you own; an account owner or admin may key any agent in the workspace.

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_user_id": "<agent_user_id>",
      "name": "<name>"
    },
    "name": "issue_agent_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesA descriptive name for the key, e.g. "Board session key".
permissionsNoKey scope. Defaults to read. A read key is refused on every non-GET request, so an agent that must write needs read,write.
agent_user_idYesThe agent's user id, as returned by create_agent or list_agents.
expires_in_daysNoDays until the key expires. Omit for a key that never expires.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.13.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well on the critical trait: the key is returned exactly once, only its hash is stored, and it cannot be retrieved again. It also discloses the write-permission requirement. It omits secondary behaviors such as limits on number of keys or effects on existing keys.

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, front-loaded with the action and the one-time-reveal warning placed immediately after it where it matters most. No filler or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-parameter creation tool with no output schema, the description covers the essential hazard (unrecoverable secret), the authorization model, and the key's purpose. It could add a word on what the response object contains beyond the key string, but nothing needed 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.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline would be 3, but the description adds real meaning beyond the schema for agent_user_id by stating the ownership/administrator rule governing which agent id may be passed. The name, permissions, and expiry parameters are left entirely to the schema, which documents them adequately.

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 first sentence names a specific verb (Issue) and resource (API key) plus a scoping qualifier (OWNED BY an agent user), which separates it from revoke_agent_key and list_agent_keys by verb alone. An agent can identify the operation without opening the schema.

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 gives clear authorization context for use: 'You may key an agent you own; an account owner or admin may key any agent in the workspace.' It does not explicitly contrast with revoke_agent_key or list_agent_keys, but the condition for legitimate invocation is stated concretely.

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