Skip to main content
Glama

sr_list

Read-only

List XCP-ng storage repositories (SRs) with capacity, physical usage, and virtual allocation, optionally filtered by pool, to assess storage consumption.

Instructions

[READ] List SRs with capacity, physical usage, virtual allocation.

Returns {"srs": [...], "returned": N, "limit": L, "truncated": bool}.
When truncated is true there are more SRs than were returned.

Args:
    pool: Optional pool uuid to filter by.
    limit: Max SRs to return after filtering (default 200).
    target: Xen Orchestra target name from config; omit for the default.

Input Schema

NameRequiredDescriptionDefault
poolNo
limitNo
targetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.9/5.0
Behavior4/5

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

readOnlyHint=true already covers the safety profile, and the description adds genuinely new behavioral context: the exact return envelope ({"srs", "returned", "limit", "truncated"}) and the meaning of the truncated flag with its follow-up implication. It does not mention auth requirements or rate limits, so it is not a 5.

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?

Front-loaded with the [READ] marker and the one-line purpose, followed by return shape, truncation note, and an args block — every line carries information. The pseudo-signature style of the Args section is slightly verbose but not wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description supplies the return envelope and the truncation semantics itself, and documents all three otherwise-undocumented parameters. An agent has everything needed to call this correctly and interpret the result.

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 carries the full burden and does so: pool is documented as an optional pool uuid filter, limit as the maximum returned after filtering with a default of 200, and target as the XO config target name with explicit omit-for-default behavior. Only the uuid format of pool is left unspecified.

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 states a specific verb and resource ("List SRs") and even names the payload fields returned (capacity, physical usage, virtual allocation), so an agent knows exactly what it fetches. It does not explicitly contrast with sr_get or sr_usage_rca, which are the closest siblings, so it falls short of 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?

The [READ] tag and the truncation note imply a read/list usage pattern, but no when-to-use conditions or alternatives are stated (e.g., use sr_get for a single SR, sr_usage_rca for capacity analysis). Usage is inferable from the verb but not guided.

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