Skip to main content
Glama

find_large_files

Read-onlyIdempotent

Locate large files under a specified root path, with optional extension and minimum-age filters, to identify storage-heavy items for cleanup or review.

Instructions

Find the largest files under root_path, optionally filtered by file extensions (e.g. ['.iso', '.zip', '.exe', '.mp4']) and minimum age in days.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "root_path": "<root_path>"
    },
    "name": "find_large_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
root_pathYes
extensionsNo
min_size_mbNo
timeout_secNo
older_than_daysNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and closed-world scope, so the safety profile is covered. The description adds nothing beyond that: it never mentions the default minimum size threshold, the 50-result cap, or the scan cost/timeout, which are the behaviors an agent would most want to know before calling on a large tree.

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 sentences with the primary scope front-loaded and the optional filters following. Every clause carries information and nothing is wasted.

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?

Because an output schema exists, return values need no explanation, and the read-only annotations cover the safety story. Still, for a 6-parameter scan tool with 0% schema coverage, omitting the default 100 MB floor and the result cap leaves an agent unable to predict what it will actually get back.

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 carries real weight, and it does explain root_path, extensions (with concrete format examples like ['.iso', '.zip']) and older_than_days. However, three parameters — limit, min_size_mb (default 100) and timeout_sec — get no mention, and min_size_mb silently shapes every result.

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 and resource ('Find the largest files') plus a scope ('under root_path'), so an agent knows exactly what it returns. It does not distinguish itself from siblings like find_dev_artifacts, so an agent must infer which discovery tool fits a given cleanup scenario.

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?

The description notes two optional filters but gives no when-to-use, when-not-to-use, or alternative-tool guidance. Nothing tells an agent whether to reach for this versus find_dev_artifacts or analyze_directory when investigating disk usage.

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