Skip to main content
Glama

Create an API key

create_api_key

Returns a new API key with 50 free checks, and a claim_url where a person can take over the account and add prepaid credits. One key serves every later call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyYesSend as Authorization: Bearer <api_key>. Shown once: store it.
creditsYesFree checks included.
docs_urlYes
claim_urlYesWhere a person claims the account and adds credits. Valid 30 days.
pricing_urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare it is a non-read-only, non-idempotent, non-destructive write. The description adds real behavioral context beyond that: the returned key carries 50 free checks, a claim_url enables a human to take over the account, and the key is reusable for all subsequent calls. It omits what happens on repeat invocation despite idempotentHint=false.

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?

Two tight sentences, with the primary outcome (new API key) front-loaded and the follow-on mechanics (claim_url, reuse) after it. Every clause carries information and there is no filler.

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?

An output schema exists, so return-value enumeration is not strictly required, yet the description still conveys the meaningful parts (free checks, claim_url). With no parameters and annotations covering the safety profile, the only real gap is the missing routing guidance against the sibling create_claim_link.

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?

The tool takes zero parameters, so the schema imposes nothing the description must compensate for; baseline is 4. The description correctly focuses on outputs and lifecycle rather than inventing parameter detail.

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 concrete outcome: it returns a new API key plus a claim_url for account takeover and prepaid credits. That is a specific verb+resource pairing an agent can act on. It does not, however, distinguish itself from the sibling create_claim_link, even though it mentions a claim_url that overlaps conceptually with that tool.

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?

'One key serves every later call' implies the tool is a one-time bootstrap step, which is useful implicit guidance on frequency. There is no explicit statement of when to use this versus create_claim_link or get_account, and no prerequisites or exclusions are given.

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