Skip to main content
Glama

list_workspace_files

List file metadata within an allowed directory, bounded by a path and limit to ensure safe read access.

Instructions

List bounded file metadata under an allowed read root.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNotestdata
limitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It discloses a bounded read scope ('allowed read root') but does not explain behavior such as recursion, sorting, hidden files, error handling, or whether the limit applies per directory. The description is too thin to fully inform an agent about the tool's behavior.

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?

The description is a single concise sentence with no filler. It front-loads the action and resource. However, it is so brief that it sacrifices useful detail, though conciseness itself is not a flaw.

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 no annotations, 0% schema coverage, and an output schema present but not described, the description is incomplete. An agent cannot tell what the returned metadata looks like, how the limit behaves, or what path format is expected. The tool has 8 siblings, so more context is needed to route correctly.

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 0%, so the description must compensate, but it only mentions 'file metadata' and 'allowed read root'. It does not explain the 'path' parameter semantics (e.g., relative vs absolute, directory vs file) or the 'limit' parameter behavior (e.g., max results, pagination). The description adds minimal meaning beyond the schema.

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

Purpose4/5

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

The description states a specific verb ('list') and resource ('file metadata') with a scope constraint ('under an allowed read root'). It is clear enough to distinguish from siblings like read_text_excerpt or get_file_metadata, though it does not explicitly name a sibling alternative.

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

Usage Guidelines3/5

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

The phrase 'under an allowed read root' implies a sandboxed/workspace context and suggests the tool is for safe listing within permitted paths. However, it does not explicitly state when to use this tool versus search_file_names or get_file_metadata, nor does it mention any exclusions.

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