Skip to main content
Glama

register_template

Registers a new CloudStack template from a URL using a specified name, OS type, zone, hypervisor, and format.

Instructions

Register a new template from a URL

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": {
      "displaytext": "<displaytext>",
      "name": "<name>",
      "ostypeid": "<ostypeid>",
      "url": "<url>",
      "zoneid": "<zoneid>",
      "hypervisor": "<hypervisor>",
      "format": "<format>"
    },
    "name": "register_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesURL of the template
nameYesTemplate name
formatYesTemplate format (QCOW2, RAW, VHD, OVA)
zoneidYesZone ID
ispublicNoMake template public
ostypeidYesOS type ID
hypervisorYesHypervisor (KVM, VMware, XenServer, etc.)
isfeaturedNoMake template featured
displaytextYesTemplate display text
isextractableNoAllow template extraction
passwordenabledNoTemplate supports password reset

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and fails to. It does not say that this is an asynchronous long-running operation, what permissions or preconditions are required (zone, hypervisor, OS type must exist), whether the URL must be reachable by the platform, or what happens on duplicate names — all material for an 11-parameter mutation.

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?

Seven words, front-loaded with the action and resource, with no filler. Brevity here costs completeness rather than being a structural flaw, so it scores well on form while the missing substance is penalized elsewhere.

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?

Against a required-parameter-heavy mutation with no annotations and no output schema, the description accounts for one of eleven parameters and none of the behavior. An agent could not tell from this text whether registration blocks, what failure modes exist, or which sibling handles related template lifecycle operations.

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% with every parameter documented inline, including format values and defaults for the boolean flags, so the baseline is 3. The description adds nothing beyond the single URL parameter and never hints at the seven required fields or the format/hypervisor coupling.

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

Purpose4/5

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

The description names a specific verb and resource ("Register a new template") and adds the source type ("from a URL"), so the operation is unambiguous. It does not distinguish itself from the sibling register_iso, which is presumably the same operation for a different artifact, so routing between them is left to the agent.

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 statement of when to use this tool, when not to, or what to use instead for related goals such as copying or importing an existing template (copy_template exists as a sibling). The only contextual hint is the URL source, which the schema already carries.

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