Skip to main content
Glama

List files

list_files
Read-onlyIdempotent

Retrieve a filtered list of files from the TokenLab MCP server, with optional purpose (batch, batch_output, user_data, vision), limit, and pagination cursor.

Instructions

List files

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
afterNo
limitNo
purposeNoOptional file purpose filter. batch and batch_output cover Batch API files; user_data and vision cover TokenLab image/reference file bindings. Anthropic Files API mode is selected by Anthropic headers rather than this query parameter.
Behavior2/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the agent understands it is a safe read operation. However, the description adds no behavioral details such as pagination (implied by 'after' and 'limit'), ordering, or whether it lists all files globally or per user.

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

Conciseness2/5

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

Extremely concise (two words) but at the expense of substance. Lacks front-loaded key info; every sentence should add value, but here there is no informative content.

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

Completeness1/5

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

No output schema exists, requiring the description to explain return values or behavior. The description is silent on what the tool returns (e.g., list of file IDs, metadata, etc.), and with three optional parameters, the description is severely incomplete.

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

Parameters1/5

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

Schema description coverage is only 33% (only 'purpose' has an inline description). The tool description fails to explain any parameter—what 'after' does, what 'limit' affects, or how 'purpose' filters. With low coverage, the description should compensate but does not.

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

Purpose2/5

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

Tautological: description restates name/title.

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?

No guidance on when to use list_files versus alternatives like retrieve_file or retrieve_file_content. An agent cannot determine the appropriate context from the description alone.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hedging8563/tokenlab-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server