Skip to main content
Glama
timeweb-s3-mcp-ai-cli

timeweb-s3-mcp-ai-cli

s3_list_buckets

Discover accessible S3 bucket names and creation dates within the configured scope, paginating up to 1000 per page. Use it to find a bucket before listing its keys with s3_list_objects.

Instructions

List the buckets these credentials can see, filtered by the configured bucket scope; read-only, up to 1000 per page. Use it to discover bucket names; to list keys inside a bucket use s3_list_objects. Returns buckets[] (name, created_at) and continuation_token, which is empty on the last page. Buckets outside the allowed scope are omitted rather than reported as errors.

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": "s3_list_buckets"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_keysNoPage size, 1-1000 entries; default 1000.
continuation_tokenNoOpaque continuation_token from the previous response; omit for the first page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.1
    • addedInput schema / properties / continuation_token / description
      Added value: +"Opaque continuation_token from the previous response; omit for the first page."
    • addedInput schema / properties / max_keys / description
      Added value: +"Page size, 1-1000 entries; default 1000."
  2. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/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 so: it declares read-only semantics, the 1000-per-page limit, credential-based visibility, the configured scope filter, and that out-of-scope buckets are silently omitted rather than raising errors. It also sketches the return payload (buckets[] with name and created_at, plus continuation_token empty on the final page), which is essential given there is no output schema.

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 compact sentences, front-loaded with what the tool returns and scoped by, then the sibling routing, then the edge-case behavior. No filler and no repetition of the tool name or schema.

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

Completeness5/5

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

For a two-parameter, no-annotation, no-output-schema read tool, the definition covers scope semantics, pagination, error-omission behavior, and return shape. Nothing an agent needs to call it correctly appears to be missing.

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?

Schema coverage is 100%, so both parameters are already documented, giving a baseline of 3. The description adds genuine meaning beyond the schema by explaining that continuation_token is empty on the last page, which tells an agent how to detect completion rather than just how to pass the parameter.

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 buckets') plus scope ('these credentials can see, filtered by the configured bucket scope'), making clear it is a bucket-level enumeration rather than a key listing. Explicitly names the sibling s3_list_objects as the tool for keys, so an agent can discriminate without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a positive use case ('discover bucket names') and routes the agent to the alternative for the adjacent task ('to list keys inside a bucket use s3_list_objects'). It also warns that out-of-scope buckets are omitted rather than erroring, which is the kind of expectation an agent needs before deciding whether this tool is the right one.

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