Skip to main content
Glama

Get an upload link for a large file

storage_upload_link
Idempotent

A private upload link (valid 15 minutes) for sending a file of any size straight into a bucket with an HTTP PUT, for example: curl -T file.zip "". Use it when the file is over 100 MB or lives on the customer's own computer or server. The result also has dashboard_upload_url: a page where the customer can drag the files into that folder without a terminal; for several or large attachments you cannot send yourself, give them that page. It replaces an existing file with the same key.

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": {
      "service_id": "<service_id>",
      "region": "<region>",
      "bucket": "<bucket>",
      "key": "<key>"
    },
    "name": "storage_upload_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesWhere the file will be saved.
bucketYesBucket name (3-63 lowercase letters, digits, dots, hyphens).
regionYesRegion code from storage_plans or storage_overview, e.g. fra (Frankfurt), usa (Virginia), sgp (Singapore).
confirmNoMust be true. Set it only after the customer has explicitly confirmed this exact change.
service_idYesObject Storage service id, as returned by the matching list tool.

Output Schema

NameRequiredDescriptionDefault
urlNo
curlNo
methodNo
expires_in_secondsNo
dashboard_upload_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations, the description discloses the 15-minute link validity, the HTTP PUT mechanics with a curl example, and — importantly — that 'It replaces an existing file with the same key', an overwrite behavior the idempotentHint/destructiveHint pair alone does not spell out. It does not mention permission or auth prerequisites for minting a link, which is the remaining 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?

Three tight sentences, front-loaded with the primary fact (private link, 15-minute expiry, PUT target) before the example and the alternate dashboard path. The dashboard_upload_url sentence is slightly dense and advisory in tone, but each sentence carries operative information.

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?

With an output schema present, the description needn't document return values, yet it still flags the second return field dashboard_upload_url and its purpose, which is genuinely useful. Link expiry and overwrite semantics are covered; only permission/auth preconditions remain unstated for what is a link-minting, write-enabling operation.

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 100%, so key, bucket, region, service_id and confirm are already documented precisely in the schema. The description reinforces the key's meaning only obliquely through 'replaces an existing file with the same key' and adds no format or constraint detail beyond the structured fields, so baseline 3 applies.

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 concrete verb+resource ('private upload link ... for sending a file of any size straight into a bucket with an HTTP PUT') and even shows the curl usage. It implicitly separates itself from the small-file sibling via the 'over 100 MB or lives on the customer's own computer' condition, but it never names the alternative tool, so the agent must infer the boundary.

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?

It gives a clear selection condition ('Use it when the file is over 100 MB or lives on the customer's own computer or server') and a fallback path when the caller can't transfer the bytes (hand the customer dashboard_upload_url). There is no explicit 'do not use this when...' exclusion or named sibling, so it stops short of full routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.