Skip to main content
Glama

add_cluster

Adds a cluster to a specified CloudStack pod by defining its name, type, hypervisor, zone, pod, and VMware credentials when required.

Instructions

Add a cluster to a pod

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": {
      "clustername": "<clustername>",
      "clustertype": "<clustertype>",
      "hypervisor": "<hypervisor>",
      "zoneid": "<zoneid>",
      "podid": "<podid>"
    },
    "name": "add_cluster"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoURL for the cluster
podidYesPod ID
zoneidYesZone ID
passwordNoPassword (for VMware)
usernameNoUsername (for VMware)
hypervisorYesHypervisor type (KVM, VMware, XenServer)
clusternameYesCluster name
clustertypeYesCluster type (CloudManaged, ExternalManaged)

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. It does not disclose that this is a mutating operation, what permissions or hypervisor-specific credentials (VMware username/password) are required, or what happens if the cluster already exists — significant gaps for a write tool with zero annotation coverage.

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?

The single sentence is compact and front-loaded with no wasted words, but it is under-specified rather than genuinely concise — the brevity leaves out information an agent needs before invoking a mutating operation.

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 tool with 8 parameters, 5 required, no annotations, and no output schema, a one-line description is inadequate. It omits mutability semantics, prerequisite relationships to pods/zones, and hypervisor-specific requirements, leaving the definition incomplete relative to its 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 all 8 parameters including the 5 required ones are already documented in the schema. The description adds no meaning beyond the schema, which is the expected baseline 3 when the schema does the heavy lifting.

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 names a verb and resource ('Add a cluster') and a parent ('to a pod'), which is more than a tautology. However, 'pod' is ambiguous given siblings like create_kubernetes_cluster, and nothing distinguishes this from create_kubernetes_cluster or update_cluster, so the agent cannot confidently separate the tools.

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 prerequisites (e.g., whether the pod must already exist), and no mention of alternatives such as create_kubernetes_cluster. The agent must infer the entire selection context from the name alone.

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