Skip to main content
Glama

ZFS Pool Status

zfs_status
Read-onlyIdempotent

Check ZFS pool health, capacity, and ARC memory usage over SSH on Unraid servers. Reports clearly when ZFS is unavailable.

Instructions

Read-only. ZFS pool health and capacity (zpool list) plus ARC memory usage from /proc/spl/kstat/zfs/arcstats, over SSH. Start here for ZFS, then use zfs_dataset_list for per-dataset usage and zfs_snapshot_list for snapshots. Per-device errors and scrub progress are not included (run zpool status through shell_exec for those). Reports clearly when ZFS is not available. ZFS ships with Unraid 6.12+.

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": "zfs_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
response_formatNo`detailed` returns full JSON instead of readable text.concise

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.3
    • addedInput schema / properties / response_format / description
      Added value: +"`detailed` returns full JSON instead of readable text."
  2. First observedv0.1.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, yet the description adds real context: data sources (zpool list, /proc/spl/kstat/zfs/arcstats), SSH execution, graceful handling when ZFS is absent, and a version prerequisite (Unraid 6.12+). It stops short of describing response shape or failure modes beyond 'ZFS not available,' which keeps it at 4.

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?

Four tight sentences, front-loaded with the safety profile and the 'start here' routing, with no filler. Every sentence carries either scope, an alternative, or a limitation.

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 single-parameter read tool with no output schema, this covers sources, routing, exclusions, and prerequisites well. The only gap is a hint at what the report actually contains (health fields, capacity units) and what `detailed` changes, though the output-schema absence keeps that a minor miss.

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?

Only one optional parameter (response_format) and the schema documents it at 100% coverage, including the enum values and default. The description adds nothing about it, so the baseline of 3 applies.

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?

States a specific verb+resource (pool health and capacity via `zpool list`, plus ARC memory from arcstats) and names the transport (SSH). An agent can distinguish it from zfs_dataset_list and zfs_snapshot_list without opening any schema.

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

Usage Guidelines5/5

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

Explicitly says 'Start here for ZFS,' routes per-dataset usage to zfs_dataset_list and snapshots to zfs_snapshot_list, and states what is out of scope (per-device errors, scrub progress) with the exact alternative (`zpool status` via shell_exec). Both when-to-use and when-not-to-use are covered.

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