Skip to main content
Glama
yarenty

emperor-folder

list

Read-onlyIdempotent

Enumerate files and directories in a folder while skipping hidden and .gitignored entries; optionally filter by glob and recurse into subfolders.

Instructions

List files and directories in a folder. Skips hidden and .gitignored entries. Optional glob filter; recursive for subfolders.

Input Schema

NameRequiredDescriptionDefault
globNoGlob on paths as shown, e.g. "*.md" or "src/**/*.rs".
pathNoDirectory to list; omit or "." for the top.
recursiveNoInclude subdirectories (default false: one level).
max_entriesNoMost entries to return; capped by the server limit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so safety is covered. The description adds genuine context beyond them: hidden and .gitignored entries are skipped, glob applies to displayed paths, and max_entries is capped by a server limit — the last point being a behavior an agent cannot see elsewhere.

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?

Three short sentences with zero waste, and the core action is front-loaded before the filtering and recursion caveats.

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

Completeness4/5

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

For a low-complexity, no-output-schema listing tool, the description covers filtering, recursion, limits and skip rules, which is enough to call it correctly. Only return ordering or output shape is unspecified, a minor gap given the tool's simplicity.

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 100%, so all four parameters are already documented in the schema. The description only echoes the glob filter and recursion at a high level without adding syntax or format detail beyond what the schema provides; baseline 3 applies.

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 ('List files and directories in a folder') and adds scope details (hidden/gitignored skipping, glob filter, recursion). It does not explicitly name why an agent would pick this over the sibling 'search', so it stops short of full sibling 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: an agent infers this is for enumerating a directory's contents. There is no explicit 'use this instead of search when...' or statement of prerequisites, and the relationship to siblings read/search/stat is left entirely to inference.

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

Deploy Server

Other Tools