Skip to main content
Glama

update_host

Modify an existing CloudStack host's tags, OS category, or allocation state by ID to keep infrastructure records and availability settings current.

Instructions

Update a host

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": {
      "id": "<id>"
    },
    "name": "update_host"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesHost ID
hosttagsNoHost tags (comma separated)
oscategoryidNoOS category ID
allocationstateNoAllocation state (Enable, Disable)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses nothing. It does not state that this mutates a live host record, that changing allocationstate to Disable may affect running VMs, whether changes are reversible, what permissions are required, or what the response returns. 'Update' at least correctly implies mutation, so it is not misleading, but the substance is absent.

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

Conciseness3/5

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

Three words, front-loaded, with zero padding. It is efficient to a fault: the terseness is under-specification rather than disciplined concision, since nothing about scope or effects is stated.

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 mutation tool with no annotations, no output schema, and four parameters including an allocation-state toggle, the description is far too thin. An agent learns nothing about the side effects of disabling a host or about what a successful update returns, which is materially relevant to calling it safely.

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% — each of the four parameters (id, hosttags, oscategoryid, allocationstate) carries its own schema description — so the baseline of 3 applies. The description adds no meaning beyond the schema, but there is no compensating gap it needs to fill.

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?

The description is just 'Update a host' — a verb plus resource, so an agent can tell it mutates an existing host rather than creating (add_host) or deleting (delete_host) one. But it never says which attributes are updatable or what 'host' means in this system (hypervisor host, presumably, given siblings like prepare_host_for_maintenance). Purpose is identifiable but minimal.

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?

No when-to-use guidance, no prerequisites, and no routing to alternatives. The description does not distinguish this from update_virtual_machine, update_cluster, or the maintenance siblings, nor does it say when a caller should update the host record versus use a lifecycle tool like prepare_host_for_maintenance or reconnect_host.

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