Skip to main content
Glama
mac-doctor-mcp
by bmdy6

inspect_storage

Read-only

Finds storage items ranked by size under specified folders or default cleanup roots, helping locate space-heavy files for cleanup planning.

Instructions

Read-only. Largest items under the given folders (default: the allowed cleanup roots).

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

Input Schema

NameRequiredDescriptionDefault
topNo
rootsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and destructiveHint=false, so "Read-only" is redundant but consistent. The one piece of added behavior is that roots default to the allowed cleanup roots, which is useful; nothing is said about ranking order, recursion depth, or handling of unreadable folders/permission errors.

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?

Two short clauses, front-loaded with the safety qualifier and default scope. The leading "Read-only." duplicates the annotations and does not earn its place, but overall there is no padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter read-only listing tool with no output schema, the description covers scope and defaults but leaves the `top` parameter and the shape/ordering of results unexplained. Adequate to start a call, not complete enough to predict its output.

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 0%, so the description must carry both parameters. It does explain `roots` well, including what a null default means, but says nothing about `top` (apparently a result-count limit defaulting to 15), leaving half the schema undocumented.

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 fragment "Largest items under the given folders" identifies both the resource (folders/storage) and what is returned (largest items), which distinguishes it from capacity-style siblings such as inspect_hardware or inspect_memory. However, there is no explicit verb (list/rank) and no direct contrast with plan_cleanup, so it falls short of a 5.

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?

The stated default ("the allowed cleanup roots") implies the cleanup-discovery context and lets an agent call it with no arguments, which is genuine usage context. It never says when to prefer this over plan_cleanup or list_quarantine, and there are no exclusions or preconditions.

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