Skip to main content
Glama

bucket_lifecycle_delete

Destructive

Deletes all lifecycle rules from a specified bucket, requiring confirm=true to prevent accidental removal.

Instructions

Delete all of a bucket's lifecycle rules. 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>"
    },
    "name": "bucket_lifecycle_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
bucketYes
regionNo
confirmNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered structurally. The description adds real value by disclosing that the whole ruleset is wiped and that a confirm=true gate must be passed (the schema defaults confirm to false). It still omits what happens on a bucket with no rules, whether the call is idempotent, or any permission/region requirement.

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?

Two short, front-loaded sentences with no filler; the destructive scope leads and the operational requirement follows. Nothing superfluous, though the second sentence could carry slightly more detail at the same length.

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 values need not be explained, and annotations cover the destructive/open-world profile. For a three-parameter destructive tool the definition is nearly complete, with only region semantics and no-op behavior left unstated.

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 0%, so the description must compensate. It explains the most consequential parameter (confirm must be true) but says nothing about bucket or region, leaving two of three parameters to inference from naming and defaults. Partial but not full compensation.

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?

States a specific verb and resource with an explicit scope qualifier: 'Delete all of a bucket's lifecycle rules.' The word 'all' usefully distinguishes it from a per-rule deletion and the sibling bucket_lifecycle_set, though it never names those siblings directly.

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?

The only guidance is the precondition 'Needs confirm=true,' which tells the agent how to call it rather than when to prefer it over bucket_lifecycle_set or bucket_delete. Usage is implied by the verb ('remove lifecycle configuration'), but no alternatives or when-not conditions are stated.

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