Skip to main content
Glama

proxmox_delete_token

DestructiveIdempotent

Revoke a Proxmox VE API token to immediately invalidate its access. Requires the owning user, token name, and confirm:true to execute this gated write.

Instructions

Revoke an API token (DELETE /access/users/{userid}/token/{tokenid}). Immediately invalidates the token. Tier-2 write; requires confirm:true.

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": {
      "userid": "<userid>",
      "tokenid": "<tokenid>",
      "confirm": "<confirm>"
    },
    "name": "proxmox_delete_token"
  }
}

Input Schema

NameRequiredDescriptionDefault
useridYesOwning user, e.g. 'automation@pve'.
confirmYesMust be true to write. Tier-2 safe-write gate.
tokenidYesToken name to revoke (the part after '!').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.2

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered structurally. The description adds genuinely new context beyond that: the invalidation is immediate (no grace period), which is exactly the kind of consequence an agent needs before calling a destructive tool. It stops short of saying what breaks for services already using the token.

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?

Three short sentences, zero filler, with the action and endpoint front-loaded and the operational precondition (confirm:true) placed last where it is read just before invocation.

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?

Complete for a three-parameter destructive operation: purpose, endpoint, immediacy of effect, and the confirm gate are all stated, and no output schema is needed for a revoke call. The only mild gap is downstream impact on clients currently authenticating with the token.

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 100%, and the schema already documents userid ('automation@pve'), tokenid (the part after '!'), and confirm (Tier-2 gate). The description repeats the confirm:true requirement but adds no syntax, format, or edge-case detail beyond what the schema provides, so baseline 3 applies.

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 ('Revoke an API token') plus the underlying endpoint DELETE /access/users/{userid}/token/{tokenid}, which makes it unambiguously distinct from the sibling proxmox_create_token. An agent knows exactly what this does 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?

Clear context for use: revoking a specific user's named token, with the precondition that confirm:true is required. It does not explicitly name an alternative tool or state when not to use it, but for a delete-the-named-thing tool the applicable scope is well defined by the endpoint path.

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

Deploy Server

Other Tools