Skip to main content
Glama
timeweb-s3-mcp-ai-cli

timeweb-s3-mcp-ai-cli

s3_presign_get

Generate a time-limited signed HTTPS GET URL for one S3 object so a person or program can download it directly instead of reading bytes through the API. The URL expires after a set period.

Instructions

Create a time-limited signed HTTPS GET URL for one object; read-only, signs locally and does not check that the key exists. Use it to hand a large object to a human or another program instead of reading bytes through s3_get_object. Returns url, method, headers and expires_seconds (default 3600). Anyone holding the URL can download the object until it expires, so share it only with the intended recipient.

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": "s3_presign_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesFull object key inside the bucket, without the bucket name, e.g. "daily/archive.tar".
bucketYesBucket name, e.g. "backups". Must be inside the configured bucket scope.
version_idNoObject version ID from s3_list_object_versions; omit for the current version.
expires_secondsNoURL lifetime in seconds, from 1 up to the provider maximum (presign_max_seconds); default 3600 (one hour).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.1.1
    • addedInput schema / properties / bucket / description
      Added value: +"Bucket name, e.g. \"backups\". Must be inside the configured bucket scope."
    • addedInput schema / properties / expires_seconds / description
      Added value: +"URL lifetime in seconds, from 1 up to the provider maximum (presign_max_seconds); default 3600 (one hour)."
    • addedInput schema / properties / key / description
      Added value: +"Full object key inside the bucket, without the bucket name, e.g. \"daily/archive.tar\"."
    • addedInput schema / properties / version_id / description
      Added value: +"Object version ID from s3_list_object_versions; omit for the current version."
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and mostly meets it: it declares the operation read-only, says signing happens locally, warns that the key's existence is not verified, states the default expiry, and flags the security exposure of the resulting URL. Minor gaps remain, such as required credentials/permissions and what happens if expires_seconds exceeds the provider maximum.

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?

Three tight sentences with the action and its scope front-loaded, followed by routing guidance and then the security caveat. No sentence is filler; each adds a distinct fact an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-parameter, no-annotation, no-output-schema tool, the description covers purpose, alternative routing, return fields (url, method, headers, expires_seconds), and the key behavioral caveat. Nothing essential for correct invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and each parameter already carries a description, so the baseline is 3. The description only restates the default of 3600 for expires_seconds and adds no syntax, constraints, or interaction details 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 opens with a specific verb and resource: 'Create a time-limited signed HTTPS GET URL for one object.' It immediately distinguishes this from s3_get_object by framing the output as a URL rather than object bytes, so an agent can pick between them without reading either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit when-to-use: handing a large object to a human or another program, and an explicit alternative: s3_get_object when you actually want the bytes. The selection condition is stated, not implied.

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