Skip to main content
Glama
aqeelshamz

wixzel-phone-mcp

by aqeelshamz

Create an API key

create_api_key

Create scoped API keys with only the permissions your integration needs, plus optional expiration and spend limits to prevent unauthorized use. The secret is shown once, so share it securely right away.

Instructions

Mint a new scoped key. The secret is returned ONCE in the result and cannot be retrieved again: hand it to the user immediately and do not log it elsewhere. A key cannot grant scopes the calling key does not hold (scope_escalation). Grant only what the integration needs; billing:write authorises spending money.

Requires scope api_keys:write.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesFor the user's reference, e.g. "production backend".
scopesYesNo wildcard; agents:write does not imply agents:read.
expires_atNoISO 8601 timestamp, UTC, e.g. "2026-09-01T12:00:00.000Z".
spend_limit_microsNoGuardrail in micro-USD, enforced within about a minute. Not a hard cap.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

The description discloses critical behaviors beyond the annotations: the secret is returned once and cannot be retrieved again, it should not be logged, the new key cannot escalate beyond the calling key's scopes, and billing:write authorizes spending money. These are exactly the non-obvious behavioral facts an agent needs before invoking an API key creation tool.

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?

The description is compact and front-loaded with the most important operational warning: the secret is returned once and cannot be retrieved again. Every sentence earns its place, and there is no padding or redundant restating of the tool name.

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 mutative key-creation tool with no output schema, the description covers all essential invocation requirements: required caller scope, secure handling of the returned secret, scope-escalation limits, and the high-risk billing:write scope. An agent has enough information to use the tool correctly without additional context.

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 the baseline is 3. The description adds meaningful parameter-related guidance by explaining scope-escalation prevention and the financial implication of billing:write, going beyond the schema's enum list and field descriptions.

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 description opens with 'Mint a new scoped key,' a specific verb and resource that clearly indicates creation of an API key. This distinguishes it from sibling tools such as rotate_api_key, revoke_api_key, and list_api_keys without any ambiguity.

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 states the required caller scope (api_keys:write) and gives concrete guidance on when this tool is appropriate: grant only needed scopes and avoid creating keys with billing:write unless spending is intended. It does not explicitly compare against rotate or revoke alternatives, but the context is clear enough for an agent to know when creation is the right operation.

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