Skip to main content
Glama

Unkey MCP by usefulapi

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. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, so the description needn't restate the safety posture. Beyond that it adds nothing behavioral — no note on what the created namespace contains, side effects, or what is returned; the only extra content is a bare 'POST /v2/apis.createApi' restatement that carries no decision value.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is front-loaded and efficient. The second sentence restates the HTTP endpoint, which adds nothing an agent needs and dilutes the definition's brevity.

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 one-parameter create tool with a fully documented schema and no output schema, the description is adequate to invoke it correctly. It is thin on the return value (e.g., the new API's identifier) and on any creation constraints, leaving modest gaps.

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 a single parameter at 100% schema description coverage, the schema fully documents 'name' and the description adds no naming conventions, uniqueness rules, or format constraints. Baseline 3 applies when the schema does all the work.

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 and resource ('Create a new API namespace') and adds the purpose 'to issue keys under,' which distinguishes it from sibling creators like unkey_create_key and unkey_create_identity. It stops short of explicitly naming those siblings, so it falls just below 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?

The phrase 'to issue keys under' implies this is the prerequisite namespace for key creation, giving an implicit ordering hint. There is no explicit when-to-use vs. when-not-to-use guidance and no mention of alternatives, so this is minimum viable.

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.