Skip to main content
Glama

Old Large Files

old_large_files

Find large files that have not been modified for a set number of days and sort results by size to identify cleanup candidates.

Instructions

Find large files not modified for a long time, sorted by size.

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": {
      "csvPath": "<csvPath>"
    },
    "name": "old_large_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
csvPathYes
minSizeBytesNoMinimum file size in bytes (default 100 MB).
olderThanDaysNoOnly files older than this many days.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full disclosure burden, and it reveals almost nothing: it does not state that the operation is read-only, whether csvPath is a scan root or a destination, whether an output file is written, or what the response looks like. For a tool that takes a CSV path and could plausibly write or scan, this ambiguity is significant.

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 clause with zero filler and the sorting/scope qualifiers in the right order. Its brevity works against it only because so much is left unsaid, not because any sentence is wasted.

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

Completeness2/5

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

Four parameters, one required, no annotations, no output schema, and half the parameters undocumented - the definition is not complete enough for a caller to confidently supply csvPath or limit. The gaps are exactly in the areas the description was responsible for.

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 coverage is only 50%: minSizeBytes and olderThanDays are documented in the schema, but limit and csvPath are not, and the description does not compensate for either. It also adds no meaning to "large" or "a long time" beyond the defaults already present in the schema.

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 large files") plus two qualifying criteria (age threshold, size sorting), which is far more informative than the title alone. It does not name or contrast with the sibling tools that could also surface files (e.g., top_entries, search_entries), so the agent must infer the distinction itself.

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 sentence describes what is returned rather than when to choose this tool over alternatives; there is no mention of when-not-to-use, no prerequisites, and no pointer to a sibling. Only the implicit signal that this is the age-plus-size view is available to the caller.

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