Skip to main content
Glama
rafaelgaspar

longhorn-mcp

by rafaelgaspar

Purge volume snapshots

volume_snapshot_purge

Purge removed snapshots from a Longhorn volume to reclaim storage space. Use only with explicit user authorization.

Instructions

Purge removed snapshots of a volume. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.12.1/snapshots-and-backups/setup-a-snapshot/

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
Install Server

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are present, so the description carries the behavioral burden. It discloses that the operation is destructive and requires explicit user authorization, which is valuable. But it does not say whether the purge is permanent/irreversible, what data is freed, or what side effects occur beyond removal.

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 plus a docs link; the core action is front-loaded and the safety warning follows directly. No redundant phrasing, and the link adds value without bloating the description.

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

Completeness2/5

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

For a destructive tool with no annotations, no output schema, and a single undocumented parameter, the description provides a safety warning but omits how success is confirmed, prerequisites, and the precise meaning of 'removed snapshots' in Longhorn. The docs link partially compensates, but the definition remains incomplete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the only parameter 'name' is undocumented in the schema. The description implies the target is a volume ('of a volume') but never explicitly states that 'name' refers to the volume name, leaving ambiguity about whether a snapshot name could also be expected.

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 (purge) and target (removed snapshots of a volume). The phrase 'removed snapshots' distinguishes it from sibling volume_snapshot_delete, which targets existing snapshots, though it does not explicitly name that alternative.

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?

Provides an explicit when-not-to-call rule: only with user authorization, never proactively, speculatively, or as a side effect. It does not, however, state when this tool is appropriate relative to alternatives like volume_snapshot_delete.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rafaelgaspar/longhorn-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server