Skip to main content
Glama

Get volume attachment

get_volume_attachment
Read-onlyIdempotent

Retrieve a Cinder volume attachment record by ID to inspect block storage attachment metadata without connection details.

Instructions

Get one Cinder attachment record by ID, without connection details.

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": {
      "attachment_id": "<attachment_id>"
    },
    "name": "get_volume_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idNoProject ID to work in; omit for the default project. Allowed values are listed by get_scope.
attachment_idYesAttachment ID, as returned by list_volume_attachments.

Output Schema

NameRequiredDescriptionDefault
idYes
statusNo
instanceNo
volume_idNo
attach_modeNo
attached_atNo
detached_atNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.2
    • addedInput schema / properties / attachment_id / description
      Added value: +"Attachment ID, as returned by list_volume_attachments."
  2. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so the safety profile is covered. The description adds one genuinely useful behavioral note — the record is returned 'without connection details' — telling the agent the payload is a subset, but says nothing about permissions, project scoping, or error behavior for missing IDs.

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

Conciseness5/5

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

A single short sentence with the object of retrieval front-loaded and no redundant restatement of the title. The one qualifier, 'without connection details', is the only additional information and it earns its place.

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 two-parameter read tool with full schema coverage, an output schema and complete safety annotations, the description covers what the tool returns and how it differs from listing. It leaves only the choice among sibling get_* tools unaddressed, which is a minor gap given how narrow this tool is.

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 coverage is 100% and both parameters carry their own descriptions, including the project_id pointer to get_scope and the attachment_id provenance from list_volume_attachments. The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

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 ('Get one Cinder attachment record by ID') and pins the retrieval to a single record rather than a listing, which clearly separates it from list_volume_attachments. It stops short of naming sibling tools such as get_volume, so routing is inferred rather than stated.

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 is only implied: 'by ID' signals a lookup-once-you-have-an-identifier pattern, and the schema note that the ID comes from list_volume_attachments reinforces this. There is no explicit statement of when to prefer this over get_volume or when the tool should not be used.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.