Skip to main content
Glama

pve_task_wait

Wait for a Proxmox async task to finish using its UPID, then report if it succeeded, failed, or timed out.

Instructions

Block until an async Proxmox task reaches a terminal state — or the timeout — then report the outcome (read). The ergonomic complement to the submit-an-async-op tools (migrate / backup / restore / clone / rollback / snapshot + guest create) that return a UPID: wait for completion without hand-rolling a pve_task_status poll loop.

Returns {upid, finished, succeeded, status, exitstatus, timed_out, polls}. succeeded is fail-closed (finished AND exitstatus == "OK"); a failed or timed-out task is reported, not raised. timeout is clamped 1..600s, interval 1..60s. Use pve_task_log for the full log.

(Proximo's native UPID model — NOT the MCP Tasks protocol, which was removed from the spec.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodeNoNode the task ran on; defaults to the configured node.
upidYesThe task's Unique Process ID (UPID) string to poll for completion.
timeoutNoMax seconds to wait for the task to reach a terminal state, clamped to 1-600.
intervalNoSeconds between status polls, clamped to 1-60.
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?

With no annotations provided, the description fully discloses behavioral traits: it returns {upid, finished, succeeded, status, exitstatus, timed_out, polls}, explains that 'succeeded' is fail-closed, and that a failed or timed-out task is reported not raised. It also mentions clamping of timeout and interval, and clarifies the distinction from the MCP Tasks protocol.

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?

The description is concise and well-structured: a clear purpose statement, a list of return fields, and a note about the protocol. Every sentence adds value, and the most important information is front-loaded.

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 the tool's complexity (async task waiting), 5 parameters (all described in schema), and the presence of an output schema (return fields explicitly listed), the description is complete. It covers usage, behavior, return values, and even distinguishes from a similar protocol, leaving no gaps for an AI agent.

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 is 3. The description adds value beyond the schema by explaining the output structure and clamping behavior, which aids understanding of how parameters like timeout and interval behave. It does not repeat parameter descriptions but provides context that makes the tool's usage clearer.

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?

The description clearly states it blocks until an async Proxmox task reaches a terminal state or timeout, then reports the outcome. It specifies it is a read operation and distinguishes itself as the complement to submit-async-op tools like migrate/backup/restore, which return a UPID.

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?

The description explicitly states when to use this tool: after submitting an async op that returns a UPID, to wait for completion without hand-rolling a poll loop. It also mentions an alternative: 'Use pve_task_log for the full log.' This provides clear guidance on usage and exclusions.

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