Skip to main content
Glama
vmware-skills

vmware-vdi

session_list

Read-onlyIdempotent

List Horizon VDI sessions filtered by user, pool, or state. Retrieve session IDs and details to verify sessions before logoff or disconnect operations.

Instructions

[READ] List Horizon VDI sessions, filtered by user / pool id / state. Paginated.

Returns a {items, returned, limit, total, truncated, hint} envelope; each item has id, user, type (DESKTOP/APPLICATION), state (CONNECTED/DISCONNECTED/PENDING), protocol (BLAST/PCOIP/RDP), pool_id, machine_id, start_time. This is the verify pair for logoff/disconnect — get a session id or confirm a user's sessions here first.

Args: user: Substring-match the AD user name. pool: Exact desktop-pool / farm id. state: CONNECTED, DISCONNECTED, or PENDING. limit: Page size (default 50). offset: Page offset. target: Horizon target from config.yaml; omit to use the default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
poolNo
userNo
limitNo
stateNo
offsetNo
targetNo
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and non-destructive behavior. The description adds a detailed response envelope, item fields, pagination semantics, substring matching for user, exact matching for pool, state value restrictions, and target configuration behavior. No contradiction with annotations.

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 front-loaded with a one-line summary, followed by a compact return-format paragraph and a structured Args list. Every section adds necessary information for a 6-parameter tool with no output schema; there is no fluff or redundancy.

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?

For a list tool with 6 optional parameters and no output schema, the description exhaustively covers the response envelope, item fields, filtering behavior, pagination, and usage context. Missing details like error/rate-limit handling are non-essential for this read-only listing operation.

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?

Schema description coverage is 0%, but the description fully compensates by explaining each parameter: user is a substring match, pool is an exact desktop-pool/farm id, state lists valid values, limit/offset are pagination controls, and target references config.yaml with default fallback behavior.

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 opens with 'List Horizon VDI sessions, filtered by user / pool id / state. Paginated.', which clearly identifies the verb, resource, and filtering scope. It also positions the tool as 'the verify pair for logoff/disconnect', differentiating it from sibling session mutation tools.

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?

It explicitly says to use this tool to 'get a session id or confirm a user's sessions here first' before logoff/disconnect. This provides clear context, but it does not explicitly mention when not to use it or name alternatives like session_get.

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/vmware-skills/VMware-VDI'

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