Skip to main content
Glama

object_get_info

Read-only

Inspect an object’s metadata—size, content type, ETag, last modified time, user metadata, storage class, version, and Object Lock status—without downloading the file.

Instructions

Show an object's size, content type, ETag, last modified time, user metadata, storage class, version and any Object Lock retention or legal hold, without downloading it.

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

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

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered; the description's real contribution is confirming the call is non-destructive in the data-transfer sense (no object body is fetched). It says nothing about error behavior for a missing key or version, nor about whether the version_id parameter selects the version being described.

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?

One front-loaded sentence with no filler; every clause names a distinct returned field or the key differentiator (no download). Nothing repeats the tool name or the schema.

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 the return values need no further explanation here, and annotations cover the read-only/open-world profile. The remaining gap is the undocumented parameter set at 0% schema coverage, which for a four-parameter tool is a meaningful but not disqualifying omission.

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% across four parameters, so the description carries the full burden and mostly fails to meet it. Bucket, key, region and version_id are never explained; the word 'version' appears only as a reported output field, leaving it unclear whether passing version_id changes which version's info is returned or whether region is required for cross-region buckets.

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 concrete verb ('Show') against a concrete resource (an object's metadata) and enumerates the exact fields returned: size, content type, ETag, last modified, user metadata, storage class, version, retention/legal hold. The closing clause 'without downloading it' cleanly separates it from content-fetching siblings such as object_get_text.

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 phrase 'without downloading it' implies the use case (metadata inspection rather than retrieval) and implicitly points away from object_get_text, but no alternative is named and no explicit when-not condition is given. It also never addresses when an agent should prefer the narrower siblings object_retention_get, object_legal_hold_get or object_compliance_get, whose scope overlaps the retention/legal-hold fields listed here.

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