Skip to main content
Glama

API キーを発行

create_api_key

このテナントに API キーをもう 1 本発行します (本番用 live / テスト用 test)。平文は今回だけ返します。 (api_key が必要: 管理画面で発行したキー)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes管理画面に出る名前 (例: staging)
api_keyYesAPI キー (sk_live_…)
environmentNo既定 live

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and idempotentHint=false, but the description adds a genuinely important behavioral fact: the plaintext secret is returned only this once (平文は今回だけ返します). This is critical operational context beyond the annotations. It stops short of 5 because it does not cover permissions or rate limits.

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?

Three compact parenthetical clauses; the purpose is front-loaded and there is little waste. Slightly telegraphic style but efficient and readable.

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?

No output schema exists, and the description supplies the key return-value fact (secret shown once only). It rounds out a creation tool adequately, though it omits any mention of the created key object's structure or scope.

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?

With 100% schema description coverage, the schema already documents name, api_key, and environment. The description adds marginal value by noting environment maps to live/test production-vs-test semantics and that api_key is a key issued via the admin panel. Baseline 3 is appropriate since the schema does the heavy lifting.

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 states a specific verb (発行 = issue) and resource (API キー) and scopes it to 'このテナント' (this tenant). It is clearly a creation tool distinct from read/destructive siblings. It does not explicitly name a sibling to differentiate from, so it falls short of a 5.

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

Usage Guidelines3/5

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

It conveys context — issuing 'もう 1 本' (one additional key) with live/test variants — but gives no explicit when-to-use/when-not guidance or alternatives. Usage is only implied, which matches the 3 baseline.

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