Skip to main content
Glama

List source files

list_files
Read-onlyIdempotent

List the exact current source-file paths and sizes for an app created by deploy_files. The backing source store is private and never exposed. Use read_files for content.

Input Schema

NameRequiredDescriptionDefault
project_idYesthe managed project id (from list_projects)

Output Schema

NameRequiredDescriptionDefault
commitYes
entriesYes
truncatedYes
project_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds genuine context beyond that: the backing store is private and never exposed, and the listing is limited to exact paths and sizes rather than content.

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

Conciseness5/5

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

Three short sentences, front-loaded with scope and followed by the privacy constraint and the read_files alternative. No sentence is redundant.

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

Completeness4/5

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

The output schema covers return values, and the description handles scope, privacy and the content-vs-listing boundary. It is essentially complete for a simple one-parameter read tool, with only minor sibling differentiation left implicit.

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?

There is a single required parameter with 100% schema description coverage, so the schema already carries the semantics. The description adds no further detail about project_id or its relationship to list_projects, which is acceptable at this coverage level.

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

Purpose5/5

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

States a specific verb and resource ('List the exact current source-file paths and sizes') and scopes it to apps created by deploy_files, which distinguishes it from generic listing siblings. An agent can tell this apart from read_files without opening either schema.

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

Usage Guidelines4/5

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

Explicitly routes content retrieval to read_files, giving a clear when-to-use-this-instead condition. It does not mention other nearby siblings such as list_objects, so the routing guidance is clear but not exhaustive.

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