Skip to main content
Glama

object_legal_hold_set

Destructive

Place or release a legal hold on a stored object or object version to prevent deletion until the hold is released.

Instructions

Place (on=true) or release (on=false) a legal hold on an object or one version. A held object can't be deleted until the hold is released. 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>",
      "on": "<on>"
    },
    "name": "object_legal_hold_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
onYes
keyYes
bucketYes
regionNo
confirmNo
version_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the description is not carrying the safety profile alone; it adds real substance by explaining the enforcement effect (deletion blocked until release) and the required confirm=true guard. It stops short of stating idempotency (re-applying a hold), permission requirements, or whether region/version targeting changes the scope of the mutation.

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?

Two sentences, both load-bearing: the first front-loads the operation and its polarity mapping, the second adds the enforcement consequence and the confirm gate. No filler, no restatement of the tool name.

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, so return values need not be explained, and the destructive/confirm aspects are covered. For a destructive, open-world mutation with three required parameters and zero schema documentation, gaps remain around permissions, idempotency, and what region/version_id targeting does.

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% — every parameter is documented only by a bare title — so the description must supply meaning, and it covers just two of six: the boolean polarity of 'on' and the confirm=true requirement. The phrase 'one version' gestures at version_id without naming it, and bucket, key, and region carry no added semantics at all.

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?

Names a specific verb pair with the parameter that selects between them ('Place (on=true) or release (on=false) a legal hold') plus the exact resource scope ('an object or one version'). This distinguishes it cleanly from the sibling reader object_legal_hold_get without either schema being opened.

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?

The description gives the consequence-driven context ('A held object can't be deleted until the hold is released'), which implies when a hold is relevant, and the confirm=true gate. It never names or excludes alternatives such as object_retention_set or object_compliance_set, so the agent must infer which of the several lock/compliance siblings to pick.

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