Skip to main content
Glama
ingsamcas

R2 Bucket MCP

by ingsamcas

list_files

List objects in an R2 bucket with optional prefix filter and pagination via continuation token.

Instructions

List objects in the R2 bucket. Optional prefix filters keys (e.g. vitalo/ or vitalo/2.1.0/). Combines with global R2_KEY_PREFIX if set. Use continuationToken to paginate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
prefixNoKey prefix filter (e.g. vitalo/ or vitalo/2.1.0/)
maxKeysNoMax objects per page (default: 100, max: 1000)
continuationTokenNoPagination token from a previous list_files response
Behavior3/5

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

No annotations are provided, so the description must bear the burden. It describes the listing behavior and mentions combination with a global prefix, but it doesn't explicitly state that the operation is read-only or non-destructive, nor does it mention rate limits or authentication needs.

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?

The description is two sentences, no fluff, front-loaded with the main action. Every clause earns its place, and it's easy to scan.

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?

With no output schema, the description should explain the return format (e.g., keys, continuationToken). It does not. The parameter coverage is fine, but the missing return info is a gap for a listing tool.

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

Parameters4/5

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

The schema covers all three parameters with descriptions, achieving 100% coverage. However, the description adds value by explaining the combination with global R2_KEY_PREFIX and giving concrete prefix examples, which goes beyond the schema.

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?

The description clearly states the tool lists objects in an R2 bucket, with optional prefix filtering and pagination. It distinguishes from sibling tools (delete, get, upload) which perform different operations.

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?

The description provides clear usage context: listing objects, filtering by prefix, and paginating. It doesn't explicitly state when not to use it, but the sibling tools cover other operations, making the intent clear.

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/ingsamcas/r2_mcp'

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