Skip to main content
Glama

multipart_upload_presign

Generate presigned PUT URLs for each part of a multipart upload, enabling direct large-object uploads and ETag collection for completion.

Instructions

Start a multipart upload and return its upload_id and one presigned PUT URL per part (part_count 1 to 10,000), valid for expires_seconds (60 to 604,800). Upload each part with HTTP PUT, keep each response's ETag, then call multipart_upload_complete.

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>",
      "part_count": "<part_count>"
    },
    "name": "multipart_upload_presign"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
bucketYes
regionNo
part_countYes
content_typeNo
expires_secondsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/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 description's job is to add operational context. It does so by stating the credential validity window (60 to 604,800 seconds) and the requirement to preserve ETags for the completion call, which are behaviors not encoded in the annotations. It omits what happens to an abandoned upload session, but that is a modest gap.

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 output and validity constraints front-loaded ahead of the follow-up workflow. Every clause carries information an agent needs.

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 values need no explanation, and the description covers the essential ranges and next step for a six-parameter open-world setup call. It could say more about region/bucket selection and cleanup via multipart_upload_abort, but nothing critical to 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 description coverage is 0%, so the description must carry parameter meaning and only partially does. It documents useful ranges for part_count (1 to 10,000) and expires_seconds (60 to 604,800), but bucket, key, region, and content_type are left entirely unexplained.

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: it starts a multipart upload and returns the upload_id plus one presigned PUT URL per part. It also names the follow-up tool multipart_upload_complete, so an agent can distinguish this initiation step from completion or abort without opening a 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?

The description gives a clear operating sequence: PUT each part, retain each response's ETag, then call multipart_upload_complete. It does not explicitly say when to prefer this over presign_put for a single-object upload, which is the main alternative, so the guidance is strong but not exhaustive.

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