Skip to main content
Glama

image_disk_usage

Read-only

Read Docker image disk usage, including total, shared, and reclaimable space, from system/df to diagnose image bloat on container hosts.

Instructions

[READ] Image disk usage from system/df (total, shared, reclaimable).

Args: target: Target name from config; omit for the default.

Input Schema

NameRequiredDescriptionDefault
targetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered, and the description reinforces it with a [READ] marker. It adds the concrete return fields (total, shared, reclaimable), but says nothing about permissions, target resolution failure modes, or rate/refresh behavior.

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 compact segments: a one-line purpose with return fields, then a single Args entry. Fully front-loaded with zero filler.

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?

With no output schema, the description usefully names the returned metrics (total, shared, reclaimable) and documents the lone optional parameter's default. For a simple read-only single-parameter tool this is nearly sufficient, missing only target resolution context.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must carry the single parameter, and it does: 'target' is a name from config and omitting it falls back to the default. That default behavior is meaningful semantics not present in the schema, though it does not say what valid target names look like.

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+resource (read image disk usage) and names the underlying source (system/df) plus the return fields (total, shared, reclaimable). It is clear but does not differentiate itself from close siblings such as system_df or image_and_volume_bloat.

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 on when to choose this over system_df (overall system usage) or image_and_volume_bloat (bloat analysis), and no exclusions or prerequisites. Usage is only implied by the tool name and the [READ] tag.

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