Skip to main content
Glama

list_hosts

Retrieve Apache CloudStack hosts and filter them by type, state, zone, or hypervisor to inspect infrastructure inventory and target resources for management.

Instructions

List hosts

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_hosts"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoHost type (Routing, Storage, etc.)
stateNoHost state
zoneidNoZone ID to filter hosts
hypervisorNoHypervisor type

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

D1.7/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. 'List hosts' gives no information about whether this is a read-only operation, if it requires authentication, what the output format might be, or any rate limits. It fails to describe any behavioral traits beyond the basic action implied by the name.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

While 'List hosts' is extremely concise, it's under-specified rather than efficiently informative. The single phrase doesn't front-load critical information or provide any structure. It fails to earn its place by adding value beyond the tool name, making it inadequate despite its brevity.

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

Completeness1/5

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

Given the complexity of a tool with 4 parameters and no output schema or annotations, the description is completely inadequate. It doesn't explain what 'hosts' are in this context, what the listing includes, or how to interpret results. For a tool that likely returns structured data about infrastructure resources, this leaves significant gaps in understanding.

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?

The input schema has 100% description coverage, with clear parameter descriptions (e.g., 'Hypervisor type', 'Host state'). The tool description adds no additional parameter semantics beyond what the schema already provides. According to the rules, when schema coverage is high (>80%), the baseline score is 3 even without param info in the description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'List hosts' is a tautology that merely restates the tool name without adding any meaningful context. It doesn't specify what kind of hosts (e.g., virtual machine hosts, network hosts) or what information is included in the listing. While it indicates a listing action, it lacks the specificity needed to distinguish it from other list tools in the sibling set.

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

Usage Guidelines1/5

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

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention any prerequisites, context for filtering hosts, or how it differs from other list tools like 'list_virtual_machines' or 'list_system_vms' in the sibling set. This leaves the agent with no usage direction.

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

Deploy Server

Other Tools