create_api_key
Create a new full workspace key. The secret is returned once. Store it privately; never put it in public client code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Key label. |
Create a new full workspace key. The secret is returned once. Store it privately; never put it in public client code.
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Key label. |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Goes beyond the annotations (readOnly=false, destructive=false, idempotent=false) by disclosing that the secret is returned exactly once and must be stored privately — critical one-shot behavior the agent could not infer. It omits whether specific permissions are required to mint a key.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three short sentences, front-loaded with the action and followed by the crucial one-time-secret caveat. Nothing is wasted.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single-param creation tool whose annotations cover the safety profile, the description covers the key risk (secret shown once, store privately). It does not address required permissions or how the returned secret is formatted, but the essentials are present.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the nested 'name' property is documented as a human-readable label, so the schema carries the load. The description adds no additional meaning about the single parameter, so baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (Create) and resource (full workspace key), scoping the key type. It does not explicitly contrast with list_api_keys or revoke_api_key, but the create 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.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this versus alternatives such as other key types or scope options, and no preconditions noted. The agent must infer usage entirely.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.