Skip to main content
Glama

list_recent_files

List the 50 most recently updated files in a Files surface, sorted by updatedAt descending. Flat surface-wide list; ignores folder structure. Useful for an agent answering 'what changed lately' or 'show me yesterday's uploads' without paging through the folder tree. Folders are omitted from this view.

Input Schema

NameRequiredDescriptionDefault
slugYesThe workspace slug. Accepts either the bare slug or the org-prefixed form ('my-org/my-workspace') as shown in the dashboard URL.
surface_slugYesFiles-kind surface slug within the workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose key traits: a hard cap of 50 results, descending updatedAt ordering, surface-wide scope, and that folders are excluded. It omits auth/permission requirements and whether any pagination or cursor exists beyond the implicit 50-item ceiling.

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?

Front-loaded with the core behavior (what is listed, how many, in what order) before the use-case framing. Mild redundancy remains: 'ignores folder structure' and 'Folders are omitted from this view' say the same thing twice.

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?

There is no output schema or annotation block, so the description must stand alone for a two-parameter read tool. It covers scope, limit, ordering, and exclusions adequately, but leaves the return shape (which file fields appear) and any truncation/pagination semantics unstated.

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 description coverage is 100%, so slug and surface_slug are already fully documented in the schema. The description references the 'Files surface' concept, loosely tying to surface_slug, but adds no syntax, format, or disambiguation between the two identifiers. Baseline 3 is appropriate.

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 50 most recently updated files in a Files surface') plus scope and ordering ('sorted by updatedAt descending'). The flat-vs-folder-tree distinction functionally separates it from list_files, so an agent can tell the two apart 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?

Gives concrete trigger scenarios ('what changed lately', 'show me yesterday's uploads') and implies the alternative path ('without paging through the folder tree'). It never names list_files as the contrasting tool or states an explicit when-not-to-use, so it falls short of a 5.

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.