Skip to main content
Glama

find_large_files

Read-only

Identify the largest files under a specified path to locate disk space hogs. Scans a single filesystem, skips unreadable directories, and filters results by minimum size.

Instructions

Find the largest files under a path (stays on one filesystem, skips unreadable dirs).

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

Input Schema

NameRequiredDescriptionDefault
pathNo~
limitNo
min_size_mbNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, yet the description still adds real behavioral context: traversal stays on one filesystem and unreadable directories are skipped silently. That prevents surprises about completeness of results, though nothing is said about ordering, pagination, or what happens when limit is exhausted.

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?

A single front-loaded sentence with a compact parenthetical caveat; every clause carries information. The parenthetical is slightly dense but well placed.

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?

With an output schema present, return values need no explanation, and the traversal caveats cover the risky behavior. However, for a three-parameter tool with zero schema descriptions, the definition leaves two parameters semantically undefined, which is a meaningful gap for correct invocation.

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

Parameters2/5

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

Schema description coverage is 0%, so the three parameters (path, limit, min_size_mb) are documented only by names and defaults. The description covers 'path' implicitly but leaves 'limit' and 'min_size_mb' unexplained — whether limit is a count of files, whether min_size_mb filters before or after ranking, and the units/defaults are not clarified.

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 under a path'), which is distinct from the aggregate-oriented sibling disk_usage. It doesn't name a sibling explicitly, so it stops short of full differentiation.

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 only implied by 'largest files under a path'; there is no statement of when to prefer this over disk_usage or top_processes, nor any prerequisites or exclusions beyond the traversal caveats.

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