Skip to main content
Glama
rafaelgaspar

longhorn-mcp

by rafaelgaspar

Update a volume setting

volume_update_setting

Update a Longhorn volume's per-volume settings by specifying the volume name, setting key, and new value to configure options like replica count, data locality, or backup compression.

Instructions

Update one of Longhorn's per-volume settings. Valid "setting" values: replicaCount, replicaAutoBalance, rebuildConcurrentSyncLimit, dataLocality, accessMode, snapshotDataIntegrity, snapshotMaxCount, snapshotMaxSize, replicaRebuildingBandwidthLimit, ublkQueueDepth, ublkNumberOfQueue, backupCompressionMethod, unmapMarkSnapChainRemoved, replicaSoftAntiAffinity, replicaZoneSoftAntiAffinity, replicaDiskSoftAntiAffinity, freezeFilesystemForSnapshot, backupTargetName, offlineReplicaRebuilding. Longhorn docs: https://longhorn.io/docs/1.12.1/nodes-and-volumes/volumes/create-volumes/

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
valueYes
settingYes
Install Server

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only says the tool updates a setting; it does not mention whether changes apply immediately, require restarts, are reversible, validate values, or cause side effects on running volumes.

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?

The description is a single front-loaded sentence with the core action and scope first, followed by the valid settings list and a documentation link. The list is long but directly relevant; the structure is efficient.

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?

With no annotations, no output schema, and three required parameters, the description is incomplete. It does not explain the meaning of the volume 'name' parameter, how to choose the correct 'value' type for each setting, or what success/failure responses look like. The docs link helps but does not substitute for inline guidance.

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%, so the description needed to compensate, but it only repeats the enum values already present in the schema. It adds no explanation for what 'name' refers to, no type-to-setting mapping, and no guidance on how to format 'value' for different settings.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action ('Update'), a specific resource ('one of Longhorn's per-volume settings'), and narrows scope with 'per-volume', which distinguishes it from the sibling setting_update that targets global settings. The list of valid setting names reinforces the tool's purpose without ambiguity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is given about when to use this tool versus alternatives such as setting_update for global settings, volume_update for other volume properties, or volume_expand for size changes. The description only states what the tool does, not when to prefer it.

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