Skip to main content
Glama
ahmedselimmansor-ctrl

IBM Cloud MCP Server

cos_set_bucket_lifecycle

Define lifecycle rules for Cloud Object Storage buckets by setting an expiration period in days to automatically delete or transition objects, with optional prefix filtering.

Instructions

Set lifecycle rules on a bucket

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bucket_nameYes
prefixNo
expiration_daysYesDays after which to expire objects
regionNo
Behavior2/5

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

No annotations provided, so description must disclose behavioral traits. It only states the action without explaining whether rules are appended or replaced, required permissions, or impact on existing objects.

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

Conciseness3/5

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

Single sentence is concise but too brief; could include more detail without significant bloat.

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

Completeness2/5

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

Given 4 parameters, no output schema, and no annotations, the description lacks necessary context such as parameter roles, prerequisite bucket existence, or explanation of lifecycle rule behavior.

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?

Only 25% schema description coverage (expiration_days has description). Description does not add meaning for bucket_name, prefix, or region parameters, leaving their purposes unclear.

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?

Description clearly states 'Set lifecycle rules on a bucket' with specific verb and resource, distinguishing it from sibling tools like cos_set_bucket_cors and cos_create_bucket.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

No guidance on when to use this tool vs alternatives, no prerequisites (e.g., bucket must exist), and no mention of consequences like overwriting existing rules.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ahmedselimmansor-ctrl/IBM_cloud_MCP_SERVER'

If you have feedback or need assistance with the MCP directory API, please join our Discord server