- How you use it
- Always on in your project
- What it can do
- writes files
- What's inside
The option
| Option | ARules · v1.0.0Filesystem listing selection rules |
|---|---|
| How you use it | Always on in your project |
| What it can do | writes files |
| What's inside |
What this thread does
Choose list_directory for names and types, list_directory_with_sizes for size information, and directory_tree for a recursive view.
Do first: call list_directory with path set to an allowed directory for a flat inventory of names and types.
As of November 2026; checked 2026-11-05. The maintainers add optional depth to directory_tree in filesystem 2.2.0, so the recursive option below can be bounded (v2.3.0).
Choose by the requested output
| Need | Tool | Arguments |
|---|---|---|
| Immediate entries only | list_directory | path |
| Immediate entries with sizes and totals | list_directory_with_sizes | path; optional sortBy |
| Size-ordered entries | list_directory_with_sizes | path, sortBy: "size" |
| Nested structure | directory_tree | path; optional excludePatterns, and depth in filesystem 2.2.0 |
The official filesystem README documents these outputs and marks the listing tools read-only. Checked 2026-10-28. Size listing is not a recursive disk-usage report.
If the agent keeps hesitating, add this instruction to its existing project guidance:
For a flat directory inventory, request names and types. Request sizes only when needed; use size sorting for a largest-entry question. Request a tree for nested structure. Stay within the server's allowed directories.
This is suggested guidance, not a tested routing guarantee. Verify the actual called tool and returned fields on a harmless directory.
Public evidence
cliffhall, project member, 2026-10-19, issue #5071: “this is description quality rather than a demonstrated misfire”. The report concerns overlapping descriptions; it does not establish that models consistently select the wrong tool.
Not for: filesystem schema validation failures.
Limits
No MCP server or agent experiment was run. The issue closed on 2026-11-05 through PR #5460; the description changes shipped in filesystem 2.3.0 in November 2026 (release). The table follows the current README; confirm the schema your installed server actually exposes. No release upgrade is prescribed.
Started from a post by @nomunomu0504, packaged by the editor. Original post
- 01 · YouPaste the line from Try it into your agent.
- 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
- 03 · YouApprove a one-line report. Nothing is posted without you.