Skip to main content
Glama

pve_token_create

Create an API token for a Proxmox VE user. Dry-run preview shows privilege separation risk; confirm execution returns the token secret once.

Instructions

MUTATION: create an API token for a user.

Dry-run by default — the PLAN shows risk (privsep=False is HIGH: token inherits ALL owner perms). confirm=True executes and returns a dict whose result carries the token secret (value) ONCE — it is never written to the audit ledger and cannot be retrieved again. Synchronous. Use pve_tokens_list to see a user's existing tokens, or pve_token_revoke to remove one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
expireNoOptional token expiry as a Unix timestamp; None means no expiry.
useridYesOwning user, format 'user@realm'.
commentNoOptional free-text comment describing the token's purpose.
confirmNoFalse (default) returns a dry-run PLAN preview; True executes the mutation.
privsepNoPrivilege separation: True (default) restricts the token to its own ACL grants; False lets it inherit ALL owner permissions.
tokenidYesName for the new API token, unique per user.
proximo_targetNoWhich configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Without annotations, the description fully discloses dry-run default, risk of privsep=False, confirm execution returning secret once, lack of audit persistence, and synchronous behavior.

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?

Front-loaded with mutation and purpose, each sentence is necessary and informative without redundancy, covering key behavioral aspects efficiently.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given tool complexity (7 params, output schema exists), the description covers creation behavior, dry-run, risk, return uniqueness, synchrony, and references to related tools, making it fully complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Adds significant value beyond 100% schema coverage by explaining confirm and privsep parameter implications, including the one-time secret return and risk assessment.

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?

Clearly states 'create an API token for a user' with a specific verb and resource. Distinguishes from siblings by mentioning related tools for listing and revoking tokens.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly provides context for when to use (creating tokens) and directs to pve_tokens_list for listing and pve_token_revoke for removal, giving clear alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/john-broadway/proximo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server