Skip to main content
Glama

List files

list_files
Read-onlyIdempotent

Files stored for a project (optionally one environment). Requires projects:read.

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": "<project>"
    },
    "name": "list_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNo
searchNo
projectYesProject slug or id
environmentNoEnvironment slug or id, e.g. development, preview or production

Output Schema

NameRequiredDescriptionDefault
filesYes
nextCursorYesPass as cursor to read the next page; null at the end

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuinely useful context the annotations do not carry: the required scope "projects:read". It says nothing about pagination behavior, result caps (limit max 200), or whether an empty environment returns an empty list.

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

Conciseness4/5

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

Two short sentences with no filler and the scope qualifier front-loaded. The brevity is efficient, though it edges toward under-specification rather than true conciseness.

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

Completeness2/5

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

With five parameters, a 40% coverage schema, and pagination plus free-text search in the input, an agent needs to know how to page and how search interacts with project/environment scoping. The description supplies the permission requirement but leaves the bulk of invocation behavior to inference; the output schema covers return shape but not enumeration semantics.

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

Parameters2/5

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

Schema description coverage is only 40%, so the description must compensate, and it does not. It only implicitly touches project and environment; the limit, cursor and search parameters — including cursor-based pagination and substring search semantics — receive no explanation anywhere.

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 phrase "Files stored for a project (optionally one environment)" identifies the resource and its scope, but omits an explicit verb (list/retrieve) and never distinguishes itself from the sibling get_file, which returns a single file. An agent can guess it enumerates files, but only from the name and title, not the description.

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?

The only guidance is the parenthetical that an environment filter is optional. There is no statement of when to use this versus get_file or list_environments, no note on paginating through results, and no mention of how the optional search parameter should be used to narrow results.

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