Skip to main content
Glama

object_legal_hold_get

Read-only

Checks whether an object or specific version is under legal hold, helping verify retention compliance before deletion or modification.

Instructions

Show whether an object (or one version) is under legal hold.

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_legal_hold_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
bucketYes
regionNo
version_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description consistently adds the version-scoping nuance, but discloses nothing about error behavior when the object is missing, whether a hold lookup requires special permissions, or how the hold value is reported.

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?

A single compact sentence with the resource and scope front-loaded and no filler. It is efficient, though the extreme brevity is part of why parameter and usage detail is absent.

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?

For a simple two-required-parameter read with an output schema and full annotation coverage, the description is adequate in the essentials. The undocumented region and version_id semantics and the lack of sibling differentiation leave real gaps for an agent choosing among the many object/bucket lock tools.

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%, so the description carries the burden, but it only hints at version_id via 'or one version'. It says nothing about bucket, key, or region — region in particular is ambiguous (bucket region? lookup region?) and is left entirely unexplained.

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 gives a specific verb+resource: it reports legal-hold status for an object, with the scope qualifier 'or one version' that maps to versioned lookups. It does not name or distinguish itself from close siblings such as object_retention_get or object_compliance_get, which an agent could easily confuse with this one.

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?

There is no guidance on when to use this versus object_legal_hold_set, object_retention_get, or object_compliance_get, and no stated prerequisites (e.g. whether object lock must be enabled on the bucket). The only implied usage is 'check hold status', which the agent could infer from the name alone.

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