Skip to main content
Glama

list_srs

Lists Storage Repositories (SRs) managed by Xen Orchestra / XCP-ng, returning name, type, capacity, used/free space, and sharing mode, with optional name, type, and shared-only filters.

Instructions

List all Storage Repositories (SRs) managed by Xen Orchestra / XCP-ng. Returns SR name, type, total size, used space, free space, and sharing mode.

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_srs"
  }
}

Input Schema

NameRequiredDescriptionDefault
name_filterNoFilter SRs by name (case-insensitive substring match)
shared_onlyNoOnly return shared SRs (accessible from multiple hosts)
type_filterNoFilter by SR type (e.g., 'ext', 'lvm', 'nfs', 'smb', 'iso', 'udev')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It establishes that this is a read/enumeration operation and enumerates the returned fields, but says nothing about pagination, result-set size, authentication/permissions needed against Xen Orchestra, or whether the call is expensive on large pools.

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?

Two sentences, no filler, with the identification of the resource front-loaded. The second sentence earns its place because there is no output schema, though the field list could be trimmed to 'name, type, capacity, and sharing mode' without loss.

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 read-only list tool with no annotations and no output schema, the description covers what is returned and what domain it belongs to, which is most of what an agent needs to call it correctly. Missing only result-volume/pagination behavior and confirmation that it is non-destructive.

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%, and all three filters (name_filter, shared_only, type_filter) are documented in the schema with substrings, defaults, and example types. The description adds no parameter detail beyond the schema, which is acceptable at full coverage but earns only the baseline.

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 uses a specific verb and resource ('List all Storage Repositories (SRs)') and scopes it to Xen Orchestra / XCP-ng, so an agent can distinguish it from singular lookups like get_sr. It stops short of explicitly naming the sibling it is not, so it lands at clear-but-undifferentiated.

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?

'List all' implies a browsing/enumeration use case and the three built-in filters hint at narrowing scenarios, but there is no explicit when-to-use or when-not-to-use statement and no pointer to get_sr or list_vdis for related lookups. Guidance is only implied.

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