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

timeweb-s3-mcp-ai-cli

s3_list_objects

List current object keys under a bucket prefix to browse stored files; read-only paginated results include sizes, ETags, and continuation tokens.

Instructions

List one page of current object keys under a prefix in a bucket; read-only. Use it to browse objects; use s3_list_object_versions for old versions and delete markers, and s3_largest_objects or s3_prefix_usage for size analysis across many pages. Returns objects[] (key, size in bytes, etag, last_modified, storage_class), truncated, and continuation_token for the next page. Fails with scope_denied outside the configured bucket/prefix scope.

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": {
      "bucket": "<bucket>"
    },
    "name": "s3_list_objects"
  }
}

Input Schema

NameRequiredDescriptionDefault
bucketYesBucket name, e.g. "backups". Must be inside the configured bucket scope.
prefixNoKey prefix that limits the results, e.g. "daily/"; omit for the whole bucket. End it with "/" to match one folder only. In a prefix-restricted scope it must start with an allowed prefix followed by "/".
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. Changed4 schema fields changedv0.1.1
    • addedInput schema / properties / bucket / description
      Added value: +"Bucket name, e.g. \"backups\". Must be inside the configured bucket scope."
    • 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."
    • addedInput schema / properties / prefix / description
      Added value: +"Key prefix that limits the results, e.g. \"daily/\"; omit for the whole bucket. End it with \"/\" to match one folder only. In a prefix-restricted scope it must start with an allowed prefix followed by \"/\"."
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/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 well: it declares read-only behavior, one-page-at-a-time semantics, the exact return fields, and the scope_denied failure mode for out-of-scope buckets/prefixes. It stops short of permission/auth specifics or consistency guarantees, which keeps it from 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.

Conciseness5/5

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

Three dense sentences with zero filler, front-loaded with purpose and read-only status, followed by sibling routing and return/error details. Every sentence adds information an agent would otherwise have to guess.

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?

There is no output schema, but the description enumerates the response fields (objects[], truncated, continuation_token) and the error case, and the input schema fully covers parameters. Nothing material is missing for correct invocation.

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 coverage is 100%, so the schema already documents bucket, prefix, max_keys, and continuation_token thoroughly. The description adds only the paging framing ("one page", "continuation_token for the next page"), which is already implied by the schema; the odd max_keys minimum of 0 is left unexplained.

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 gives a specific verb and resource with scope qualifiers: "List one page of current object keys under a prefix in a bucket; read-only." It immediately distinguishes the tool from version-listing and aggregation siblings, so an agent can identify it without opening the schema.

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?

It states the primary use case ("Use it to browse objects") and explicitly routes the agent elsewhere: s3_list_object_versions for old versions and delete markers, s3_largest_objects or s3_prefix_usage for size analysis across many pages. Both when-to-use and when-not-to-use are covered.

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