Skip to main content
Glama

object_acl_set

Destructive

Replace an object's ACL or a specific version's ACL with a canned ACL or explicit grants, then return the updated ACL; requires confirm=true.

Instructions

Replace an object's (or one version's) ACL with a canned_acl or explicit grants, as for bucket_acl_set, and return the new ACL. Trial accounts and accounts created after 2023-03-13 can't make objects 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>",
      "key": "<key>"
    },
    "name": "object_acl_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
bucketYes
grantsNo
regionNo
confirmNo
canned_aclNo
version_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true; the description adds substantive context beyond them: the operation is a full replace (not a merge) of the ACL, the new ACL is returned, confirm=true is mandatory, and there is an account-tier restriction on public ACLs. It does not say what happens to the previous ACL beyond replacement or whether the call is idempotent, but the key risk information is surfaced.

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?

Three short clauses with the destructive replace semantics front-loaded, followed by the account restriction and the confirm requirement. No filler sentences; the only mild weakness is that the bucket_acl_set cross-reference adds little for an agent unfamiliar with that tool.

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 the description still notes the new ACL is returned. For a destructive 7-parameter mutation it covers the essential risk and gating facts; the main residual gap is the unexplained region parameter and no statement on failure behavior.

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% with 7 parameters, so the description must compensate and it only partly does: it clarifies that canned_acl and grants are alternatives for specifying the ACL, that version_id targets a single version, and that confirm gates execution. bucket, key, and region receive no explanation beyond their titles.

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: 'Replace an object's (or one version's) ACL ... and return the new ACL', and clarifies the scope difference between whole-object and single-version. It does not differentiate itself from the sibling get/list ACL tools or other object mutators, referencing bucket_acl_set only as an analogy rather than as an alternative.

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?

Prerequisites are given (confirm=true required; trial or post-2023-03-13 accounts cannot make objects public), which is real usage context. However, there is no explicit statement of when to choose this over object_acl_get or other ACL/permission tools, and no when-not-to-use guidance beyond the account restriction.

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