Skip to main content
Glama

presign_put

Generates a time-limited URL that lets anyone holding it upload to a specified bucket key via HTTP PUT, optionally requiring a matching Content-Type header.

Instructions

A presigned URL that lets anyone holding it upload to this key with HTTP PUT, valid for expires_seconds (60 to 604,800; default 3,600). With content_type, the upload must send that Content-Type header.

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

Input Schema

NameRequiredDescriptionDefault
keyYes
bucketYes
regionNo
content_typeNo
expires_secondsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, and destructiveHint=false, so the safety profile is partly covered. The description adds genuinely non-obvious behavior: the URL is bearer-authorizing ('anyone holding it'), the expiry bounds and default, and that content_type becomes a binding constraint on the uploader. It does not say whether an upload overwrites an existing object at that key, which is the main remaining behavioral gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with what the tool produces before its constraints. Density is high and nearly every clause earns its place, though cramming the expiry range into the opening sentence slightly buries the parameter details.

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 return-shape explanation is unnecessary, and the annotations cover the mutation/safety profile. What an agent needs to call it correctly is mostly present—expiry bounds, content-type coupling, and the bearer-URL consequence—with region semantics and overwrite behavior the notable omissions.

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 0%, so the description must carry parameter meaning, and it does explain expires_seconds (60–604,800, default 3,600) and content_type (must match the Content-Type header sent). Bucket, key, and especially region receive no semantics beyond 'this key', leaving several parameters undocumented in both schema and description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: it produces a presigned URL that permits an HTTP PUT upload to the given key. That implicitly separates it from presign_get and other object-write siblings, but no sibling is named explicitly, so differentiation relies on the reader inferring 'upload' means PUT rather than GET.

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 'lets anyone holding it upload' implies the intended workflow (hand the URL to a third party), but the description never states when to choose this over multipart_upload_presign or object_put_text, nor any exclusions. Usage is inferable rather than prescribed.

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