Skip to main content
Glama
objectlens

ObjectLens MCP Server

Official
by objectlens

get_object_metadata

Retrieve detailed metadata for a specific object in a bucket by providing bucket name and object key, including size, type, and timestamps.

Instructions

Get detailed metadata for a specific object in a bucket.

:param bucket: Name of the bucket. :param key: Unique key/path of the object. :param provider_id: Optional provider connection ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYes
bucketYes
provider_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are present, so the description must carry the full burden. It does not disclose that the operation is read-only, whether authentication is required, or any side effects. The description is too minimal to inform the agent about behavior beyond the basic action.

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?

The description is exceptionally concise: a single purpose sentence followed by structured parameter docs. It is front-loaded with the core action and contains no unnecessary words. The format is clean and easily parsed.

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?

The tool is simple and has an output schema, so return values need not be explained. However, the description lacks usage context and behavioral guarantees, and without annotations the agent is left to infer when to use this tool and whether it is safe. It is minimally complete but leaves important gaps.

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?

The input schema has 0% description coverage, but the description compensates with explicit param docs for all three parameters. It clarifies that bucket is the name, key is the unique path, and provider_id is an optional connection ID, adding meaningful semantics beyond the schema.

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?

The description clearly states the action ('Get detailed metadata') and the resource ('a specific object in a bucket'), using a specific verb and resource. This distinguishes it from siblings like get_object_preview (preview content) and list_bucket_objects (list objects).

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?

No guidance is provided on when to use this tool versus alternatives such as get_object_preview or scan_bucket. There is no mention of exclusions, prerequisites, or scenarios where a different tool would be more appropriate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/objectlens/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server