Skip to main content
Glama

s3-mcp

by KonMam
MIT License

head_object

Retrieve metadata for an S3 object without downloading its content. Specify bucket, key, ETag conditions, and version to fetch precise details efficiently.

Instructions

Retrieves metadata from an object without returning the object itself.

Args: bucket (str): The name of the bucket. key (str): The key (name) of the object. if_match (Optional[str]): Return object only if its ETag is the same. if_none_match (Optional[str]): Return object only if its ETag is different. version_id (Optional[str]): Version of the object.

Returns: str: JSON formatted S3 response.

Input Schema

NameRequiredDescriptionDefault
bucketYes
if_matchNo
if_none_matchNo
keyYes
version_idNo

Input Schema (JSON Schema)

{ "properties": { "bucket": { "title": "Bucket", "type": "string" }, "if_match": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "If Match" }, "if_none_match": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "If None Match" }, "key": { "title": "Key", "type": "string" }, "version_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Version Id" } }, "required": [ "bucket", "key" ], "type": "object" }

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/KonMam/s3-mcp'

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