Skip to main content
Glama

get_sr

Retrieve detailed Storage Repository information—free and total space—by UUID or Xen Orchestra object ID to check available capacity.

Instructions

Get detailed information about a specific Storage Repository including free and total space.

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": {
      "id": "<id>"
    },
    "name": "get_sr"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesSR UUID or Xen Orchestra object ID

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 must carry the behavioral load. The verb 'Get' signals a read-only operation and it discloses that free and total space are included, but it is silent on error behavior for invalid IDs and on the remaining returned fields.

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?

One front-loaded sentence with no filler; the resource and the notable payload detail ('free and total space') are both stated up front.

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

Completeness3/5

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

This is a simple single-parameter lookup, and the required ID is fully documented in the schema, so the core is covered. However, with no output schema present, the description names only two of the returned fields and leaves the rest of the response shape unspecified.

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 the single `id` parameter is already documented as an SR UUID or Xen Orchestra object ID. The description adds no format hints, alternative identifier forms, or lookup behavior 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 ('Get detailed information about a specific Storage Repository') and names a distinguishing scope ('specific' vs. the sibling list_srs). No explicit comparison to siblings, so it stops 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?

Usage is only implied by the singular 'specific Storage Repository', which suggests it is for looking up one known SR rather than enumerating them. It never says when to prefer this over list_srs or what to do if the ID is unknown.

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