Skip to main content
Glama
vmware-skills

VMware-Monitor

list_active_tasks

Read-onlyIdempotent

Lists in-flight and recently completed vCenter tasks to explain why a cluster is busy, showing state, progress, user, errors, and running/queued items first.

Instructions

[READ] In-flight (and optionally just-completed) vCenter tasks.

Answers "why is the cluster busy?". Returns the list envelope {items, returned, limit, total, truncated, hint} with a real total; each row has name, entity, state, progress_pct, start_time, user, an active flag and error (for failed recent tasks), running/queued first, then newest first — so limit drops the oldest. vCenter keeps only a short recent-task window, so an old task may simply be gone rather than absent.

Use this before blaming load: a migration or clone in flight explains pressure that get_host_performance shows. Pair with list_active_sessions to see who started it. Read-only — cancelling a task belongs to vmware-aiops.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax task rows to return (None = all).
targetNovCenter/ESXi target from config (default if omitted).
include_recentNoAlso include recently completed/failed tasks (default True).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), but the description adds non-obvious behavior: the short vCenter recent-task retention window, ordering (running/queued first, then newest), and the consequence that limit silently drops the oldest rows. It also describes the return envelope and the truncated flag, none of which the annotations convey.

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?

Front-loads the [READ] tag and the core question, then layers in ordering, envelope, and retention details efficiently. Slightly redundant in restating read-only ('[READ]' plus 'Read-only') already covered by annotations, but no sentence is wasted overall.

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?

With no output schema, the description compensates by describing the return envelope and per-row fields, plus truncation and retention caveats. Nothing an agent needs to call or interpret this correctly is missing.

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 description coverage is 100%, so the baseline is 3. The description still adds meaning by explaining that ordering makes limit drop the oldest records and that include_recent pulls in just-completed/failed tasks, which the terse schema labels do not convey.

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 (list in-flight vCenter tasks) and frames the question it answers ('why is the cluster busy?'). It explicitly distinguishes itself from siblings get_host_performance and list_active_sessions, so an agent can select it 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 Guidelines5/5

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

Gives explicit when-to-use ('Use this before blaming load'), the alternative it complements (get_host_performance) and the pairing tool (list_active_sessions) to attribute the task to a user. It also routes the out-of-scope action (cancelling a task) to vmware-aiops.

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