Skip to main content
Glama
matt-coppinger

Horizon MCP Server

list_hosts_or_clusters

Retrieve hosts and clusters in a vCenter datacenter to obtain IDs for configuring datastores, resource pools, network labels, and desktop pool provisioning.

Instructions

List hosts and clusters in a vCenter datacenter.

The host_or_cluster_id is required by list_datastores, list_resource_pools, list_network_labels, and create_desktop_pool / create_rdsh_farm provisioning_settings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vcenter_idYesvCenter ID — obtain from list_virtual_centers
datacenter_idYesDatacenter ID — obtain from list_datacenters

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral disclosure burden. 'List' implies a read-only operation and the description mentions the host_or_cluster_id as a useful output, but it does not disclose auth requirements, pagination, or any limitations. Some behavior is conveyed, but not richly.

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 brief, front-loaded with the core purpose, and uses a second sentence only to add valuable downstream context. No wasted words or repetition of schema details.

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?

For a simple list operation with only two fully documented parameters and an output schema present, the description is nearly complete. It also explains why the output matters by naming downstream consumers. Minor gaps such as explicit behavioral caveats are not critical for this tool.

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 both parameters already have descriptions explaining where to obtain them (list_virtual_centers, list_datacenters). The description does not add meaningful parameter-level detail beyond what the schema provides, so the baseline of 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?

The description clearly states the operation: 'List hosts and clusters in a vCenter datacenter.' This uses a specific verb and resource, and distinguishes it from siblings like list_datacenters and list_virtual_centers by indicating exactly what objects are returned and their scope.

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?

The description provides explicit usage context by explaining that the returned host_or_cluster_id is required by list_datastores, list_resource_pools, list_network_labels, and provisioning_settings for create_desktop_pool/create_rdsh_farm. It does not state exclusions or name an alternative, but the downstream dependency is clear guidance.

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