Skip to main content
Glama

bucket_policy_delete

Destructive

Deletes a bucket policy to revoke all access granted by it; requires confirm=true to prevent accidental removal.

Instructions

Delete a bucket's policy, removing every access it granted. 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_policy_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

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and openWorldHint=true, so the safety profile is largely covered. The description adds the useful consequence ('removing every access it granted') and the confirm requirement, but says nothing about reversibility, whether the call fails or no-ops when confirm is omitted, or permission requirements.

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 compact sentences with the core effect stated first and the prerequisite second; no filler. Slightly terse given the destructive nature, but every sentence earns its place.

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?

An output schema exists and annotations cover destructiveness, so the description needn't explain returns. However, for a destructive 3-parameter tool at 0% schema coverage, the unexplained region parameter and the unclear failure mode when confirm is absent leave gaps.

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 carries extra weight. It explains the confirm parameter meaningfully (must be set true), beyond the bare schema default of false, but leaves region completely unexplained and merely restates bucket.

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?

The description uses a specific verb and resource ('Delete a bucket's policy') and adds scope ('removing every access it granted'), which distinguishes it from bucket_policy_get and bucket_policy_set. It stops short of naming those siblings explicitly, so differentiation relies on the agent inferring from names.

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?

It gives one concrete prerequisite, 'Needs confirm=true', which is real invocation guidance. It does not say when to prefer this over editing the policy via bucket_policy_set, nor any condition to avoid deleting.

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