Skip to main content
Glama

unkey

Create an API

unkey_create_api
Destructive

Create a new API namespace to issue keys under. Unkey: POST /v2/apis.createApi.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe API name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations supply destructiveHint=true, so the mutation profile is covered. The description adds only that the created resource is a namespace for keys; it says nothing about permissions/auth requirements, whether the name must be unique, or what a failure looks like. Endpoint string 'POST /v2/apis.createApi' restates the action rather than adding behavior.

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?

Two short sentences, front-loaded with the action and resource. The API-endpoint fragment is redundant with the name but costs little.

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

Completeness3/5

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

For a single-parameter create tool with annotations covering the mutation hint and no output schema, the description is minimally adequate. It omits any note about what is returned (an API id needed for subsequent key creation), which is the main practical gap.

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?

Only one parameter with 100% schema description coverage ('The API name.'). The description adds no format, uniqueness, or constraint details beyond the schema, so the baseline 3 applies.

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?

States a specific verb+resource ('Create a new API namespace') and adds clarifying scope ('to issue keys under'), which implicitly distinguishes it from sibling unkey_create_key. Clear enough to select without opening the schema, though it does not explicitly name siblings.

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

Usage Guidelines2/5

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

No explicit when-to-use guidance or alternatives are given. The reader can infer this must precede unkey_create_key, but the description never states that dependency or any prerequisites.

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.