Skip to main content
Glama

bucket_acl_set

Destructive

Replace a bucket's access control list with a canned ACL or explicit grants, then return the new ACL. Requires confirm=true.

Instructions

Replace a bucket's ACL with a canned_acl (private, public-read, public-read-write, authenticated-read) or explicit grants ({"permission", and one of "id", "uri", "email"}), and return the new ACL. Trial accounts and accounts created after 2023-03-13 can't make buckets public. 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_acl_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
bucketYes
grantsNo
regionNo
confirmNo
canned_aclNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already declare destructiveHint and readOnlyHint=false, and the description reinforces this with "Replace" (not append) plus the confirm=true gate. It adds behavior the annotations cannot express: the account-age/trial restriction on public ACLs and the fact that the resulting ACL is returned. It does not say what happens to existing grants that are omitted or what errors occur on invalid combinations.

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 effect statement is front-loaded and every clause carries information an agent needs (modes, legal values, grant shape, account restriction, confirm). The nested-quotes formatting around the grant keys is slightly hard to parse but no sentence is wasted.

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 five-parameter mutation with an output schema, this covers the decision-relevant facts: replacement semantics, mutual-exclusive input modes, value vocabulary, and the confirm gate. Missing details are secondary, such as whether grants and canned_acl may be combined and whether an empty grants list clears all permissions.

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?

With 0% schema description coverage the description must carry the load, and it does for the two complex parameters: it enumerates the four canned_acl values and spells out the grants object shape (a "permission" plus one of "id", "uri", "email"), which the schema only types as a generic string map. It also explains the confirm flag. bucket and region are left to the schema, which is the main 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?

States a specific verb and resource ("Replace a bucket's ACL") plus the two accepted input modes, so an agent can separate it from the object-level ACL siblings by scope alone. It also states that the new ACL is returned, making the full effect visible.

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?

Gives real context: use canned_acl for the four named canned values or grants for explicit per-principal permissions, and notes the confirm=true prerequisite. The hard restriction (trial accounts and accounts created after 2023-03-13 cannot make buckets public) is exactly the kind of when-not guidance that prevents failed calls. It stops short of naming the read counterpart (bucket_acl_get) for inspecting the current ACL first.

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