Skip to main content
Glama

s3_presign_put

Generate a temporary presigned S3 PUT URL for uploading an object to a specified bucket and key without handling the upload; optionally set expiry and required Content-Type.

Instructions

Create a presigned PUT URL. Service: S3 API. Does not upload by itself.

expires_in defaults to 3600 seconds and cannot exceed 7 days. If content_type is set, the upload must send that Content-Type.

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

Input Schema

NameRequiredDescriptionDefault
keyYes
bucketYes
expires_inNo
content_typeNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose two real constraints: the 3600-second default with a 7-day ceiling, and the binding effect of content_type on the eventual upload. It says nothing about permissions/credentials required to sign, whether the URL is single-use, whether it overwrites an existing object, or what happens if the bucket or key is invalid — meaningful gaps for a signing operation.

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 core action and its most important caveat are in the first sentence, followed by two tight constraint lines with zero filler. Nothing is repeated from the schema verbatim and no sentence is wasted.

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?

An output schema exists, so return-value documentation isn't needed, and the tool is conceptually simple. But with no annotations and no schema parameter descriptions, the definition leaves the agent without key/ bucket semantics or the safety profile (no readOnly/destructive hints) that would normally be covered elsewhere.

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 description coverage is 0%, so the description must compensate and it only partly does: it explains expires_in's default and 7-day cap and the behavioral consequence of content_type. bucket and key — the two required parameters — get no semantic detail (naming format, path/prefix conventions, existence requirements), leaving half the surface undocumented.

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 specific verb and resource ("Create a presigned PUT URL") and immediately adds the key disambiguator "Does not upload by itself," which separates it in practice from s3_put_object even though that sibling isn't named. An agent can tell what this produces — a URL, not an upload — without opening the schema.

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

Usage Guidelines4/5

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

"Does not upload by itself" plus "If content_type is set, the upload must send that Content-Type" gives clear context that this tool is for handing a client a time-boxed upload target rather than performing the write. It lacks an explicit routing statement (e.g., "use s3_put_object to upload the bytes directly from the agent"), so the alternative-selection guidance is implied rather than stated.

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