Skip to main content
Glama

ck_fs_find

Read-onlyIdempotent

Find files or directories by path fragment or glob pattern within a project root. Supports optional subdirectory scoping and result limits, read-only.

Instructions

Find files or directories whose path contains a given fragment, searching within the bound project root. Read-only — no files are modified. query is the path fragment or glob pattern to match against file and directory names. path scopes the search to a subdirectory (relative to project root); omit to search the entire project. limit caps the number of results (default 50). Use ck_fs_find to locate files by name or path. Use ck_fs_grep to search by file content. Use ck_fs_read to read a file at a known path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoFile or directory path relative to the project root.
limitNo
queryYesSearch query string for filtering or full-text search.
session_idNoUnique session identifier for correlating findings, proofs, budget, and audit trail.
project_rootNoAbsolute path to the project root directory on the local filesystem.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
totalNo
resultsNo
Behavior4/5

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

Annotations already provide readOnlyHint and idempotentHint. The description adds context by clarifying that query is a path fragment or glob pattern and that the search is non-destructive. No contradictions; behavioral traits are well-explained beyond annotations.

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?

The description is concise (several sentences) and well-structured: purpose, read-only note, parameter explanations, usage guidelines. No redundant or filler text. Front-loaded with the core action.

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

Completeness5/5

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

Given the tool has 5 parameters, an output schema, and rich annotations, the description covers all essential aspects: what it does, parameter semantics, scope, and when to use alternatives. It feels complete for an AI agent.

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 for query ('path fragment or glob pattern'), path ('scopes search to subdirectory'), and limit ('default 50'), which go beyond the schema. Schema description coverage is 80%, so baseline 3 is elevated to 4 due to these clarifications.

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 starts with a specific verb and resource: 'Find files or directories whose path contains a given fragment, searching within the bound project root.' It clearly distinguishes from sibling tools by naming ck_fs_grep and ck_fs_read for alternative 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 explicitly states when to use this tool ('Use ck_fs_find to locate files by name or path') and provides alternatives for content search (ck_fs_grep) and reading known files (ck_fs_read). It also declares the tool is read-only, indicating it should not be used for modifications.

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