Skip to main content
Glama

detach_volume

Detaches a volume from a Nova server, requiring confirm=true to proceed since the operation mutates state and is disruptive. Use it to remove storage safely from a server.

Instructions

Detach a volume from a Nova server.

Service: Nova volume attachment. Mutates state. Disruptive. Requires confirm=true. Refused when confirm is missing or false.

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_id": "<server_id>",
      "volume_id": "<volume_id>"
    },
    "name": "detach_volume"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
server_idYes
volume_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does meaningful work: it states that the tool mutates state, flags it as 'Disruptive', and discloses the confirm guard plus the exact failure condition when confirm is absent or false. What it omits is the consequence detail an agent would want before a destructive call, such as whether the guest OS sees an unclean removal or what permissions are required.

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 definition is four short lines with the action front-loaded and no filler. The telegraphic 'Service: ... Mutates state. Disruptive.' style is terse to the point of being fragmentary, but every line carries operational information.

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?

An output schema exists, so return values need not be described, and the description covers the essentials for a disruptive mutation: what it does, that it mutates, that it is disruptive, and how to confirm. The main gap is the absence of any permissions or error-condition context for an unannotated write tool, which keeps it below a 5.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it does for the only genuinely ambiguous parameter: 'confirm' is explained as mandatory-true with a defined refusal behavior. The remaining two parameters, server_id and volume_id, are self-describing by name and title, so the lack of prose about them costs little.

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 opens with a specific verb and resource: 'Detach a volume from a Nova server.' That is unambiguous and, by contrast with the sibling 'attach_volume', an agent can immediately tell which direction of the operation it is choosing. It stops short of naming an alternative explicitly, so it earns a 4 rather than a 5.

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?

It supplies a hard operational rule: 'Requires confirm=true. Refused when confirm is missing or false.' That is useful precondition guidance, but it is about how to invoke the tool, not when to prefer it over alternatives. There is no mention of prerequisites such as the volume actually being attached, or of what to do when the attachment does not exist.

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