Skip to main content
Glama
Enrique-S-J

sysops-mcp

by Enrique-S-J

get_disk_usage

Read-onlyIdempotent

Check disk usage per partition and flag any above a warning threshold. Optionally inspect a specific mount point; read-only mounts are listed but never flagged.

Instructions

Get disk usage per partition, flagging any above a warning threshold.

Read-only mounts are listed but never flagged, since space cannot be reclaimed on them (Linux snap squashfs mounts sit at 100% by design).

Returns: str: Markdown summary or JSON object with keys: partitions (list of {mountpoint,device,fstype,total_gb,used_gb,percent,read_only,warning}), warnings (count), warn_percent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoSpecific mount point or path to inspect (e.g. '/', '/var'). Omit to list all mounted partitions.
warn_percentNoUsage percentage above which a partition is flagged as WARNING.
response_formatNo'markdown' for human-readable output, 'json' for structured data.markdown

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare a safe, read-only, idempotent profile. The description adds meaningful behavioral detail: read-only mounts are listed but never flagged, and snap squashfs mounts are 100% by design. This is exactly the kind of non-obvious behavior an agent needs.

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?

The description is compact, front-loaded with the core purpose, and every sentence adds value. The edge-case explanation and return structure are included without unnecessary bulk.

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?

The description covers purpose, optional path behavior, the warning threshold, read-only edge cases, and the exact return shape. An agent has everything needed to select and invoke this tool correctly.

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%, so the parameters are already fully documented. The description reinforces the warning threshold and output formats but does not add significant meaning beyond the schema, so the baseline score of 3 is appropriate.

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 uses a specific verb-resource pairing ('Get disk usage per partition') and adds a distinctive behavior (flagging above a warning threshold). This clearly separates it from sibling status tools like get_cpu_status and get_memory_status.

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?

The context is clear: agents can infer this is the tool for partition capacity inspection, and the optional path parameter explains how to narrow scope. It does not explicitly name alternatives or exclusion cases, but no sibling tool competes for the same resource.

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

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/Enrique-S-J/sysops-mcp'

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