Skip to main content
Glama

ck_fs_ls

List files and directories in a project root without modifying any files. Browse directory structure by providing a relative path or omit to view root.

Instructions

List files and directories inside the bound project root. Read-only — no files are modified. path is a relative directory path to list; omit to list the project root. Use ck_fs_ls to browse directory structure. Use ck_fs_find to locate files by name fragment. Use ck_fs_read to read a specific file. Use ck_fs_grep to search file contents.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNo
project_rootNoAbsolute path to the project root directory on the local filesystem.
session_idNoUnique session identifier for correlating findings, proofs, budget, and audit trail.
Behavior4/5

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

Despite no annotations, the description clearly states 'Read-only — no files are modified', which is the key behavioral trait. It could additionally mention edge cases (e.g., permission errors, symlinks) but is sufficient for a simple listing tool.

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?

Two clear sentences plus a bullet-like list of usage guidelines. Every sentence is purposeful: purpose, safety guarantee, parameter usage, and sibling differentiation. No fluff.

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?

Given no output schema and no annotations, the description covers purpose, safety, parameter usage, and tool selection. It does not explain behavior on invalid paths or output format, but the sibling differentiation and clarity make it mostly complete for the use case.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds meaning to the 'path' parameter ('relative directory path to list; omit to list the project root') beyond the schema, which only defines type string. For 'project_root' and 'session_id', the schema descriptions are adequate; description does not repeat them. Overall, the description compensates for the 67% schema coverage by clarifying the primary parameter.

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?

The description states 'List files and directories inside the bound project root' with a specific verb ('List') and resource ('files and directories'). It distinguishes from sibling tools (ck_fs_find, ck_fs_read, ck_fs_grep) by explicitly stating their use cases.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance on when to use this tool ('Use ck_fs_ls to browse directory structure') and when to use alternatives ('Use ck_fs_find to locate files by name fragment', etc.). This leaves no ambiguity about tool selection.

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/aryaminus/controlkeel'

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