Skip to main content
Glama

decoy.day honeypot

Create API token

create_api_token

Create a scoped API token for an integration (self-service, read scopes only).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
nameYesWhat the token is for
scopesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations only declare readOnlyHint=false, so the description carries most of the burden. The parenthetical usefully discloses that this is self-service and that scopes are restricted to read-only, which constrains what the created credential can do. It says nothing about whether the token secret is returned once and cannot be retrieved again, whether creation is audited, or whether existing tokens are affected.

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?

A single front-loaded sentence with the resource first and the scoping constraints in a compact parenthetical. There is no filler and no redundant restatement of the title.

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?

There is no output schema, so the description is the only place to learn what a caller gets back — yet it never mentions that a token value/secret is returned or how it should be handled. Combined with the undocumented 'scopes' parameter, the definition is workable but leaves meaningful gaps for a credential-minting tool.

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?

Schema coverage is 50%: 'name' is documented in the schema while 'scopes' has no description there. The description partially compensates by declaring scopes are read-only, which bounds the accepted values, but it does not say whether scopes is optional, what the valid strings are, or what happens if it is omitted.

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 scoped API token') plus the intended consumer ('for an integration'), which separates it from generic credential tools like rotate_keys or get_secret. It stops short of explicitly naming a sibling it is not, so it is clear but not maximally differentiated.

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?

'Self-service, read scopes only' implies the situation (a user provisioning their own read-only integration token) and implicitly excludes admin or write-scoped token issuance. However, no alternative is named and no prerequisite or exclusion is spelled out, so the agent must infer when rotate_keys or another credential tool is the better pick.

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