list_directory
List directory entries to view files and subfolders at a specified path. Retrieve a structured listing for quick inspection.
Instructions
List directory entries
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No |
List directory entries to view files and subfolders at a specified path. Retrieve a structured listing for quick inspection.
List directory entries
| Name | Required | Description | Default |
|---|---|---|---|
| path | No |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description bears full responsibility for behavioral disclosure. It only states the basic action, but omits behavior like whether hidden files are included, sorting order, error handling for nonexistent paths, or return format.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single sentence that directly states the purpose with no filler. Perfectly concise for a simple tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity and one parameter, the description is minimally adequate, but it lacks important context like whether the listing is recursive, includes hidden files, or what happens on error. It's sufficient for a basic list operation but not comprehensive.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema has one parameter 'path' with type string and 0% coverage. The description does not explain the parameter, leaving its meaning to be inferred from the tool name. It adds no semantic value beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('List') and resource ('directory entries'), clearly distinguishing this from sibling tools like read_file and get_file_info.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is given on when to use this tool vs alternatives, such as get_file_info for a single file or search_code for content search. The usage must be inferred from the tool name.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/PushPullCommitPush/GPT-Commander---An-LLM-facing-software-engineering-substrate'
If you have feedback or need assistance with the MCP directory API, please join our Discord server