Skip to main content
Glama

delete_api_key

Destructive

Revoke and remove a client API key by its identifier prefix to eliminate compromised or unused credentials from Pterodactyl-hosted servers.

Instructions

DESTRUCTIVE: Revoke and delete a client API key by its identifier prefix.

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": {
      "identifier": "<identifier>"
    },
    "name": "delete_api_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
identifierYesAPI key identifier (e.g. 'ptlc_abc123...')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true and readOnlyHint=false, so the 'DESTRUCTIVE:' prefix largely restates structured data. The description does add the revocation semantics beyond a plain delete, but omits irreversibility, immediate effect on live traffic, and error behavior for unknown identifiers.

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?

One short sentence with the destructive warning front-loaded and no filler. The uppercase 'DESTRUCTIVE:' keyword duplicates the annotation, which is a minor redundancy rather than a structural flaw.

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 delete tool with full schema coverage and destructive annotations, this is adequate but thin: it says nothing about irreversibility, immediate revocation effects, or how prefix matching resolves to a unique key. These are the details an agent most needs before an unrecoverable action.

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 description coverage is 100% and the single parameter is fully documented with an example format. The phrase 'by its identifier prefix' is consistent with the schema but adds no syntax or matching-rule detail beyond it, so the baseline 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?

The description names a specific verb pair (revoke and delete) and a specific resource (client API key), plus the keying mechanism (identifier prefix). It is immediately distinguishable from create_api_key and list_api_keys, though it does not explicitly reference them.

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?

There is no guidance on when to use this versus any alternative, no prerequisite or confirmation requirement, and no note about what happens to clients currently authenticating with the key. The agent must infer all usage conditions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.