Skip to main content
Glama
Dissimilis

DirForge

find_largest_directories

Identify directories consuming the most disk space by scanning recursively and sorting by total size, helping you manage storage efficiently.

Instructions

Find the largest directories by total recursive size, sorted by size descending.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoRelative path within the file server root. Empty string for root.
maxResultsNoMaximum results to return (default: 20, max: 100).
maxDepthNoMaximum depth to traverse (default: 10, max: 10).
excludeNoComma-separated glob patterns to exclude (e.g. 'node_modules, *.tmp'). Matching directories are skipped. Supports * and ? wildcards.
Behavior2/5

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

No annotations provided, so description should disclose behavioral traits. It only mentions sorting order. Missing details like whether it follows symlinks, excludes hidden directories, performance impact, or if results are real-time or cached.

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?

Single sentence with clear, front-loaded purpose. No unnecessary words. Could slightly expand on behavioral details without fluff.

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?

Tool has 4 parameters and no output schema or annotations. Description covers core purpose but omits default values for maxResults, maxDepth constraints, and exclude glob syntax. Schema fills some gaps, but overall adequate but not fully complete.

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 covers 100% of parameters with descriptions. Description adds no additional meaning beyond schema. Baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states verb 'Find', resource 'largest directories', scope 'by total recursive size', and ordering 'sorted by size descending'. Distinguishes from sibling tools like 'find_largest' (likely files) and 'disk_usage_summary' (summary vs listing).

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 use this tool versus alternatives like 'find_largest' or 'get_directory_tree'. No mention of prerequisites, context, or when not to use.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Dissimilis/DirForge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server