Skip to main content
Glama

Df

df

Check filesystem storage usage by retrieving free and used space statistics for a MicroPython board path or mount point.

Instructions

Get filesystem storage statistics (free/used space).

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

Input Schema

NameRequiredDescriptionDefault
pathNoFilesystem mount point (default: "/")./

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.6/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 burden, and it does implicitly signal a non-mutating informational read by framing the result as free/used statistics. It does not explicitly state that nothing is modified, whether the call can block on hung mounts, or anything about permissions. An output schema exists, so omitting return-value detail is acceptable.

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 short sentence, front-loaded with the verb and resource, with the parenthetical adding genuine disambiguation at no cost. There is no filler or redundancy.

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 zero-required-parameter read tool with full schema coverage and a declared output schema, the description says enough to call it correctly. The only shortfall is the absence of any behavioral note on side effects or mount semantics, which is minor at this complexity.

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 parameter already documents itself as a filesystem mount point defaulting to "/". The description adds nothing about the path parameter, such as whether per-mount or per-filesystem results are returned, so the baseline 3 applies with the schema doing all the work.

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?

The description gives a specific verb ("Get") and resource ("filesystem storage statistics") with the returned quantities parenthetically clarified as free/used space. This distinguishes it from siblings like list_files or read_file, though the name "df" itself does nothing to help, so the description is carrying the full identification burden without explicitly naming how it differs from other filesystem tools.

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 implied by the nature of the tool: an agent wanting disk capacity figures would pick this over list_files or read_file, and no exclusions are needed for such a narrow read. However, the description states no when-to-use condition, no prerequisites, and does not acknowledge any sibling at all, leaving routing to inference.

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