Skip to main content
Glama

list_vdis

List Virtual Disk Images in a Xen Orchestra storage repository to inspect disk name, size, usage, and snapshot status; filter by name or show only snapshots.

Instructions

List Virtual Disk Images (VDIs) in a specific Storage Repository. Returns disk name, size, usage, and whether it is a snapshot.

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": {
      "sr_id": "<sr_id>"
    },
    "name": "list_vdis"
  }
}

Input Schema

NameRequiredDescriptionDefault
sr_idYesStorage Repository UUID or Xen Orchestra object ID
name_filterNoFilter VDIs by name (case-insensitive substring match)
snapshots_onlyNoOnly return VDIs that are snapshots

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; 'List' plus the described return fields make the read-only nature clear. It does not disclose pagination, result ordering, limits on large repositories, or behavior for an invalid/unknown sr_id, and there is no output schema to fall back on.

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 compact sentences with the resource and scope front-loaded, then the return shape. Nothing is repeated and nothing is wasted.

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 three-parameter read-only list tool with no output schema, the description covers purpose, scope, and the returned fields, which is most of what an agent needs. Minor gaps remain around empty results, ordering, and large-result handling.

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 sr_id, name_filter, and snapshots_only are already fully documented in the schema. The description adds only indirect meaning (the SR scoping requirement and that snapshot status is a returned attribute) without syntax or format detail beyond the schema.

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?

States a specific verb and resource ('List Virtual Disk Images (VDIs)') plus the scope ('in a specific Storage Repository'), and enumerates the fields returned. It does not explicitly contrast with neighbors such as list_snapshots or list_srs, so an agent must infer the boundary from the domain vocabulary.

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 implied: call this when you need VDIs belonging to one storage repository. There is no explicit when-not guidance, no mention of what to use for all-VDI or snapshot inventory queries, and no prerequisites stated beyond the sr_id requirement.

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