Skip to main content
Glama

bucket_lifecycle_set

Destructive

Replace all lifecycle rules on a bucket with S3-form rules for object expiration, noncurrent version expiration, or aborting incomplete multipart uploads; transitions are rejected.

Instructions

Replace all of a bucket's lifecycle rules with rules in S3 form (ID, Status, Filter with Prefix/Tag/And/ObjectSize*, and Expiration, NoncurrentVersionExpiration or AbortIncompleteMultipartUpload); transitions are rejected because Wasabi has one storage class. Rules run daily at 00:00 UTC and take 24-48 hours to apply, can't delete locked objects, and can't be set while MFA Delete is on. Needs confirm=true.

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>",
      "rules": "<rules>"
    },
    "name": "bucket_lifecycle_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
rulesYes
bucketYes
regionNo
confirmNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the destructiveHint/openWorldHint annotations, the description discloses that this is a full replacement of existing rules, the daily 00:00 UTC evaluation cadence, a 24-48 hour apply delay, locked-object limitations, and the MFA Delete blocker. These are exactly the operational risks an agent needs before calling a destructive write.

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?

The description is front-loaded with the operation, and the parenthetical rule-shape list is dense but useful, so it does not read as padding. The single long sentence with three nested clauses is harder to scan than it needs to be.

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?

For a destructive four-parameter mutation tool, the description covers replacement semantics, timing, prerequisites, and the rules payload. Return values need not be explained because an output schema exists. Only the region parameter's meaning is left unaddressed.

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 description coverage is 0%, so the description carries the burden, and it does so for the most important parameter: it enumerates the S3 rule shape (ID, Status, Filter, Prefix/Tag/And/ObjectSize, and the three permitted actions) and explains which action is rejected. It also explains confirm=true. The region parameter is never mentioned, leaving one gap.

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: 'Replace all of a bucket's lifecycle rules with rules in S3 form'. The word 'Replace all' also distinguishes it from the get and delete siblings, so an agent can identify the operation 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 Guidelines4/5

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

It gives concrete preconditions and exclusions: transitions are rejected, rules cannot be set while MFA Delete is on, and confirm=true is required. It does not explicitly contrast itself with sibling tools such as bucket_lifecycle_get or bucket_lifecycle_delete, though 'replace all' implicitly covers that.

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

Deploy Server

Other Tools