find_folder_by_path
Find a folder by its codebase root path
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root_path | Yes | The codebase root path to search for |
Find a folder by its codebase root path
| Name | Required | Description | Default |
|---|---|---|---|
| root_path | Yes | The codebase root path to search for |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must carry the behavioral burden. It only says 'find', implying a read operation, but does not disclose whether the path must be exact, whether multiple folders can match, what happens when no folder is found, or what the return value looks like.
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?
The description is a single clear sentence with no filler or repetition. It is appropriately sized for a simple lookup tool, though it could have included more behavioral context without becoming bloated.
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?
For a one-parameter lookup without annotations or output schema, this is minimally adequate: the agent knows what to search by and what resource will be returned. However, missing return/error semantics and match-behavior details leave some ambiguity.
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?
Schema description coverage is 100%, so the schema already documents root_path. The description adds no meaning beyond the schema; it restates the parameter's role. Baseline 3 is appropriate.
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 states a specific verb ('find'), a specific resource ('folder'), and a precise lookup criterion ('codebase root path'). It clearly distinguishes this tool from the sibling find_page_by_root_path and from generic search/get tools.
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?
The description implies this tool is for locating a folder by its exact root path, which gives some usage context. However, it does not explicitly state when to prefer it over alternatives like search_folder or get_folder, nor does it mention any exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.