Skip to main content
Glama

List volumes

list_volumes
Read-onlyIdempotent

Retrieve OpenStack project volumes with size, type, status, and attachments, using filters and paging to inspect block storage and find volumes by name or status.

Instructions

List volumes in the project with size (GiB), type, status and attachments.

Paged with limit and marker. Use get_volume for one volume by ID.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_volumes"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoExact volume name.
limitNoMaximum items to return (1-100, default 50).
markerNonext_marker from the previous page; omit for the first page.
statusNoVolume status filter, for example available or in-use.
project_idNoProject ID to work in; omit for the default project. Allowed values are listed by get_scope.

Output Schema

NameRequiredDescriptionDefault
itemsYes
limitYesMaximum number of items requested.
completeYesTrue when no more items exist beyond this page.
resourceYesResource type of the items.
project_idYesProject whose session produced the list.
next_markerNoPass as marker to read the next page; null when complete or when the API has no marker paging.
observed_atYesUTC time the list was read.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.2
    • addedInput schema / properties / name / description
      Added value: +"Exact volume name."
    • addedInput schema / properties / status / description
      Added value: +"Volume status filter, for example available or in-use."
  2. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds behavior beyond that: results are paginated via limit and marker, and the payload includes size, type, status and attachments. It stops short of noting filtering is exact-match on name or that an empty project yields an empty page, so it is strong but not exhaustive.

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?

Two sentences, front-loaded with what is returned and followed by paging and disambiguation guidance. No filler or restatement of the tool title.

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?

With an output schema, full parameter documentation and rich annotations, the description needs only to frame purpose, paging and the sibling boundary, which it does. A note on default page size or empty-result behavior would close the remaining gap, but nothing required for correct invocation is missing.

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 every parameter including the status enum and project_id is already documented, which sets the baseline at 3. The description only echoes the paging parameters and adds no semantics for name, status or project_id beyond what the schema states.

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?

States a specific verb and resource ("List volumes in the project") and enumerates the returned attributes (size in GiB, type, status, attachments). The second sentence distinguishes it from the get_volume sibling, so an agent can separate the list and single-item tools without opening either schema.

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

Usage Guidelines4/5

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

"Use get_volume for one volume by ID" gives an explicit alternative and the condition that selects it. It does not cover other adjacent tools such as list_volume_attachments or when to prefer filtering by status versus by name, but the core routing guidance is present.

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