Skip to main content
Glama

List uploaded files

list_files
Read-only

list previously uploaded files with fresh download urls. requires an authenticated (oauth) session.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
pageNopage number (default 1)
limitNofiles per page (default 50, max 200)
file_typesNocomma-separated stored types (e.g. "png,jpeg,mp4")
inputs_onlyNotrue = only user-uploaded files, excluding generated outputs
upload_statusNofilter: not_uploaded, uploading, or uploaded

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds two facts the annotations do not: an OAuth session is required (a concrete failure mode) and the returned URLs are fresh, implying they are regenerated or expiring. It does not describe response shape or ordering, keeping it below a 5.

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, front-loaded with the action and followed by the prerequisite, with no filler. Slight terseness (sentence-fragment style, no mention of paging despite five params) keeps it at 4 rather than 5.

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?

Five documented params, a read-only annotation set, and no output schema mean the description only needs to cover behavior. It omits return shape (a list of file objects with URLs?) and paging semantics, which matter for an agent deciding how to iterate results, so it is adequate but not complete.

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%; every parameter including page, limit, file_types, inputs_only, and upload_status carries its own description with defaults and a max. The description adds no filtering or syntax detail beyond this, so the baseline of 3 applies.

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 gives a clear verb and resource ('list previously uploaded files') and adds a meaningful qualifier: results carry freshly minted download URLs. It does not distinguish this tool from the file-related sibling get_file_url or explain the relationship, so it stops short of a 5.

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?

It states a prerequisite ('requires an authenticated (oauth) session'), which is real usage context, but gives no when-to-use versus alternatives, no exclusion like 'use get_file_url to re-fetch a single file', and never mentions paginating. Usage is implied rather than guided.

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