Skip to main content
Glama

Create api key

create_api_key

Create a narrower key: push only, or bound to one dashboard. Shown once. A Push key bound to one dashboard is the right key for a CI job or a cron that only sends data. Solo owners hold at most five live keys. Needs an API key: with none yet, call signup first.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_api_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoShown on the keys page.Key
scopeNopush: send data and read visuals. manage: everything this key can do.push
dashboardIdNoBind the key to one of the owner's dashboards: it then reaches only that dashboard's visuals.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Adds substantive context beyond annotations: the secret is 'shown once', solo owners are capped at five live keys, and an existing API key is required to call it. Nothing contradicts the non-destructive, non-idempotent hints. However, it does not say what happens when the five-key limit is hit or what the creation response contains.

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?

Front-loaded with the core action and the 'shown once' warning early, then prerequisite and quota. Slight redundancy between 'push only' and the CI/cron sentence, but no sentence is wasted.

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?

Covers the essentials for a credential-creation tool: what is created, that the secret is only visible once, the quota, and the auth prerequisite. With no output schema, it would benefit from saying what the response returns or what to do at the key cap, leaving a modest gap for a security-sensitive mutation.

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 baseline would be 3; the description earns above baseline by explaining the interaction between scope and dashboardId (push + dashboard binding suits unattended senders), which the schema documents only in isolation. The name parameter is left purely to the schema.

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?

States a specific verb and resource ('Create a ... key') and immediately qualifies the scope of what is created ('narrower key: push only, or bound to one dashboard'). An agent knows exactly what this tool produces without opening the schema.

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?

Gives concrete use-case routing: a push key bound to one dashboard is the right pick for a CI job or cron that only sends data, and it names the prerequisite alternative (call signup first if no key exists). It stops short of stating when NOT to create a key or which scope to prefer outside the CI case.

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