List project files
list_filesList project file metadata without loading full file contents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes |
list_filesList project file metadata without loading full file contents.
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes |
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds the useful behavioral note that contents are not loaded, but says nothing about pagination, ordering, or permissions for a project that may not exist.
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 front-loaded sentence with zero waste. The metadata-only constraint is stated immediately and nothing is repeated from structured fields.
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?
An output schema exists, so return values need not be explained, and the read-only annotations cover safety. However, for a listing tool the description omits pagination behavior, result ordering, and any projectId semantics, leaving meaningful gaps.
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 0% and the single required projectId parameter has no description in the schema or the tool description. "Project file" weakly implies projectId scopes the listing, but the UUID format and required nature are not explained by the description.
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?
States a specific verb and resource ("List project file metadata") and distinguishes itself from read_file by clarifying it does not load full file contents. It does not explicitly differentiate from the sibling search_files, so it falls just short of a 5.
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 phrase "without loading full file contents" implies this is the lightweight alternative to read_file, but no explicit guidance is given about when to use search_files instead or any preconditions. Usage must be inferred rather than stated.
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.