Skip to main content
Glama

List files

list_files
Read-only

Every file in a project with its size, and the entry page.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project_id": "<project_id>"
    },
    "name": "list_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesThe project's id, from list_projects or create_project.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

B3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true; the description adds real behavioral content by disclosing that the result covers every file in the project, includes each file's size, and surfaces the entry page. That partially substitutes for the missing output schema, though ordering, pagination, and permissions go unmentioned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Extremely short with no wasted words, but it is a sentence fragment whose tail ('and the entry page') is ambiguous about what is returned. Front-loaded with the resource, which is good, but clarity suffers from the telegraphic style.

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

Completeness3/5

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

For a simple single-parameter read tool with annotations covering safety, the description is adequate but thin: it omits result ordering, whether the list can be large, and what 'entry page' means. Without an output schema, more detail on the return shape would be warranted.

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

Parameters3/5

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

Schema coverage is 100% and the single project_id parameter is fully documented with its provenance (from list_projects or create_project). The description adds no additional meaning about the parameter, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the resource and scope ('Every file in a project') but is a noun phrase rather than a verb+resource statement; the action (listing) must be inferred from the tool name. Contrast with siblings like list_projects or find_assets is left entirely to the name.

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

Usage Guidelines2/5

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

No guidance on when to use this versus alternatives such as find_assets, get_asset, or read_file. The only implicit cue is that it requires a project_id, so it applies at project scope, but that is inference rather than stated guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources