Skip to main content
Glama

List files in a bucket

list_storage_files
Read-onlyIdempotent

Folders and files (name, size in bytes, last modified) in a bucket, one folder level at a time. Pass prefix to open a folder, e.g. "backups/2026/". Up to 200 entries.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "service_id": "<service_id>",
      "region": "<region>",
      "bucket": "<bucket>"
    },
    "name": "list_storage_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
bucketYesBucket name (3-63 lowercase letters, digits, dots, hyphens).
prefixNoFolder path ending in /, empty for the top level.
regionYesRegion code from storage_plans or storage_overview, e.g. fra (Frankfurt), usa (Virginia), sgp (Singapore).
service_idYesObject Storage service id, as returned by the matching list tool.

Output Schema

NameRequiredDescriptionDefault
filesNo
bucketNo
prefixNo
foldersNo
truncatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety bar is met elsewhere. The description still contributes real behavior: the listing is non-recursive (one level), returns specific fields, and is capped at 200 entries — the cap being important since it implies truncation, though it doesn't say how to page past it.

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?

Three short sentences, front-loaded with what is returned, then how to drill down, then the size limit. No filler and no repetition of schema or annotation content.

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?

An output schema exists so return shape needn't be explained, and the description supplies the two things an agent most needs: non-recursive scope and a 200-entry ceiling. The one gap is what happens when the 200 cap is hit — no pagination marker or continuation hint is mentioned.

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 all four parameters including prefix, region and service_id are already documented in the schema. The description reinforces prefix semantics with an example ('backups/2026/') but adds little beyond the schema's 'Folder path ending in /' definition, which is the baseline-3 case.

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 the resource (folders and files in a bucket) and the returned attributes (name, size in bytes, last modified), and the phrase 'one folder level at a time' implicitly distinguishes it from a recursive search_storage_files. It never uses the verb 'list' or names the sibling it differs from, so differentiation is inferential rather than explicit.

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 gives usable operational context: 'Pass prefix to open a folder' with a concrete example path, and 'one folder level at a time' tells the agent it is not recursive. It does not say when to prefer this over search_storage_files for deeper or filtered lookups, leaving that routing to inference.

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.