get_project_files
Get a project's file tree with file contents. Use this to read code before answering questions about it or proposing an update_project change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Project UUID (from list_projects) |
Get a project's file tree with file contents. Use this to read code before answering questions about it or proposing an update_project change.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Project UUID (from list_projects) |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare this as read-only, idempotent, and non-destructive, so the safety profile is covered. The description adds that the result includes file contents, but it does not mention size limits, truncation behavior, or binary/large-file handling, which matter for a tree-with-contents read.
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?
Two sentences, front-loaded with the core action and followed by the intended use case. There is no wasted wording.
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 read-only getter with annotations covering safety, the description is largely complete: it says what is returned at a high level and when to use it. It could be stronger by clarifying that the full tree with contents may be large or by mentioning practical limits, but no critical information is missing.
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 coverage is 100% for the single id parameter, including that it is a Project UUID from list_projects. The description adds no parameter-specific detail beyond what the schema already provides, so 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 and resource: get a project's file tree with file contents. This clearly distinguishes it from sibling tools like search_project_code and write_project_files, and the purpose is understandable without opening the schema.
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?
It gives clear usage context: read code before answering questions or proposing an update_project change. However, it does not explicitly name alternatives such as search_project_code or state when not to use this tool, so it stops short of full routing guidance.
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.