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

timeweb-s3-mcp-ai-cli

s3_get_bucket_config

Read a bucket's location, versioning, CORS, policy, and Object Lock configuration in one call to review settings before changing them.

Instructions

Read a bucket's configuration in one call: location, versioning status, CORS rules, bucket policy JSON and Object Lock configuration; read-only. Use it before changing any of them with the s3_put_bucket_* tools. Each section holds its value (versioning status is empty when versioning was never enabled), {"status":"absent"} when nothing is configured, or {"status":"unsupported"} when the provider lacks the feature. Needs whole-bucket scope: fails with scope_denied when only some prefixes of the bucket are allowed.

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_get_bucket_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
bucketYesBucket name, e.g. "backups". Must be inside the configured bucket scope.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.1
    • addedInput schema / properties / bucket / description
      Added value: +"Bucket name, e.g. \"backups\". Must be inside the configured bucket scope."
  2. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it declares the call read-only, explains the per-section value encoding (empty versioning status, {"status":"absent"} for unconfigured, {"status":"unsupported"} for provider gaps), and names the scope_denied failure mode. These are exactly the behavioral details an agent needs and none of them are recoverable from the schema.

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

Conciseness4/5

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

Three dense sentences, front-loaded with the resource and its returned sections, then usage, then constraints. Every clause carries information, though the middle sentence listing the three value states is packed tightly and could read more smoothly.

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 and no annotations, so the description must cover both return shape and safety profile, and it does: it names the returned sections, their encoding variants, the read-only nature, and the scope error. Nothing an agent needs to invoke or interpret this tool correctly is 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% and the single bucket parameter is already documented, so the baseline would be 3. The description earns an extra point by adding scope semantics for that parameter — it must be a whole bucket, prefix-limited scopes will be rejected — which the schema only hints at.

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 opens with a specific verb and resource ("Read a bucket's configuration in one call") and enumerates exactly what is returned: location, versioning status, CORS rules, bucket policy JSON and Object Lock configuration. That enumeration clearly separates it from the object-level siblings such as s3_get_object and s3_head_object.

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 when to use it ("before changing any of them with the s3_put_bucket_* tools"), naming the alternative tools that complement it. It also adds a hard precondition — whole-bucket scope required, otherwise scope_denied — which tells the agent in advance when this call will fail.

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