Skip to main content
Glama

bucket_lifecycle_get

Read-only

Retrieve a bucket's lifecycle rules to verify expiration and transition settings, returning {"configured": false} when no rules are configured.

Instructions

Show a bucket's lifecycle rules, or {"configured": false} when it has none.

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

Input Schema

NameRequiredDescriptionDefault
bucketYes
regionNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds a genuinely useful behavioral detail the annotations do not: the empty-state return of {"configured": false} when no rules exist, which prevents misinterpretation of an empty response.

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?

A single sentence with the primary purpose front-loaded and zero filler. The empty-case clause is appended compactly without burying the main verb.

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

Completeness3/5

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

With an output schema present, return-value explanation is largely optional, and the empty-case note is a good supplement. However, for a 2-parameter tool with 0% schema coverage, leaving region entirely unexplained is a real completeness gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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 and does not: it never mentions the region parameter or its null default, nor any bucket naming/format expectation. Only the implicit notion of 'a bucket' is conveyed.

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 ('Show a bucket's lifecycle rules') and names the negative-result shape. A reader can distinguish it from bucket_lifecycle_set/delete by the verb alone, though no sibling is named explicitly.

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?

Usage is only implied by the name: read lifecycle config rather than mutate it. There is no explicit 'use this when…' guidance, no mention of prerequisites (e.g., needing bucket_get for existence, or bucket_lifecycle_set for changes).

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