Skip to main content
Glama

add_host

Adds a hypervisor host to a CloudStack cluster using zone, pod, host URL, and optional cluster details.

Instructions

Add a host to a cluster

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "hypervisor": "<hypervisor>",
      "url": "<url>",
      "zoneid": "<zoneid>",
      "podid": "<podid>"
    },
    "name": "add_host"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesHost URL
podidYesPod ID
zoneidYesZone ID
passwordNoPassword
usernameNoUsername
clusteridNoCluster ID
hypervisorYesHypervisor type

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden, yet it discloses nothing about behavior: no statement that this is a mutating operation, no note on what happens if the host URL is unreachable, no auth/permission requirements despite username/password parameters, and no indication of whether the operation is synchronous or long-running.

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?

The single short sentence is front-loaded and free of padding, which is structurally clean. It is not a 5 only because the extreme brevity reads as under-specification rather than disciplined economy for a seven-parameter mutation tool.

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

Completeness2/5

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

For a seven-parameter write operation with no annotations and no output schema, the description leaves out prerequisite state, credential handling, side effects, and failure behavior. What is present is accurate but far too thin for the tool's complexity.

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 description coverage is 100%, so the schema already names all seven parameters, and the description adds essentially no meaning beyond it. The only marginal addition is the word "cluster" hinting at clusterid, but the schema's own labels ("Host URL", "Pod ID") are equally terse, so there is no real lift from the description.

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

Purpose3/5

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

"Add a host to a cluster" gives a concrete verb and resource, so the basic intent is recoverable. However, it does not differentiate from siblings like add_cluster, update_host, or delete_host, and the "to a cluster" scoping is partially misleading because clusterid is one of three optional parameters rather than required.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no mention of prerequisites (credentials, hypervisor compatibility, target pod/zone), and no routing to alternatives such as update_host or reconnect_host. An agent must infer everything beyond the four-word statement.

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