Skip to main content
Glama

rebuild_server

Rebuild an OpenStack Nova server from an image, replacing its root disk while keeping the server ID and network ports; requires confirm=true to proceed.

Instructions

Rebuild a Nova server from an image.

Nova compute, mutates state, wipes the root disk, keeps the server id and network ports, requires confirm=true.

Service: Nova (compute). POST /servers/{id}/action rebuild. The server UUID, ports, and floating IPs stay. The root disk is replaced from the image. Ephemeral disk is wiped unless preserve_ephemeral is true. server and image accept a name or an id. Refused when confirm is missing or false, before any API call. admin_password, when supplied, is sent to Nova and is not returned. When it is omitted and Nova returns a generated adminPass, that password is included once. disk_config is not sent: this SDK's rebuild method does not accept it.

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": {
      "server": "<server>",
      "image": "<image>"
    },
    "name": "rebuild_server"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
imageYes
serverYes
confirmNo
key_nameNo
metadataNo
descriptionNo
admin_passwordNo
preserve_ephemeralNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses the mutation, root-disk wipe, preserved server id/ports/floating IPs, ephemeral disk behavior controlled by preserve_ephemeral, the confirm refusal path, and how admin_password is sent and returned. The note that disk_config is deliberately not sent prevents a confusing omission from being mistaken for a bug.

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 destructive facts and the confirm requirement are front-loaded, and the endpoint line anchors the operation. There is mild redundancy, since the root-disk wipe and id/port preservation are each stated twice in slightly different words, but nothing is wasted at the sentence level.

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

Completeness4/5

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

For a destructive 9-parameter tool with no annotations, the description covers the highest-risk behaviors thoroughly and can lean on the existing output schema for return values. The remaining gap is the four undocumented optional parameters (name, key_name, metadata, description), which an agent cannot reason about without guessing.

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 0% across 9 parameters, so the description must compensate. It adds real meaning for server/image (name or id accepted), admin_password (write-only, plus generated adminPass returned once), and preserve_ephemeral, but name, key_name, metadata, and description are left entirely unexplained in both schema and description.

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

Purpose5/5

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

The first sentence gives a specific verb and resource ('Rebuild a Nova server from an image'), and the description pins it to POST /servers/{id}/action rebuild, which separates it cleanly from create_server, delete_server, and get_server. An agent can identify the operation without opening the schema.

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

Usage Guidelines3/5

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

Usage context is implied rather than stated: it explains the confirm=true gate and that the call is refused before any API call, which tells the agent how to invoke it safely. However, it never says when to choose rebuild over a delete-plus-create workflow, or when to reach for server_action instead, leaving the main routing decision to inference.

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