Skip to main content
Glama

Get a file upload link

request_upload_link
Destructive

Create a one-time upload link for a LARGE file (up to 100MB) that cannot pass through the conversation as base64. Returns a public drag-and-drop page URL the caller opens in a browser and drops the file onto — no login needed (the link's token is the authorization, and it is single-use). Provide 'filename'; optional 'note_id' (link the resulting document to a note), 'size_hint_bytes', and 'expires_minutes' (5..1440, default 60). Poll 'get_upload_status' with the returned token to learn when the file has arrived. Additive; runs the propose→confirm gate. CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.

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": {
      "filename": "<filename>"
    },
    "name": "request_upload_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
note_idNo
filenameYes
expires_minutesNo
size_hint_bytesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations it discloses the security model (public page, token IS the authorization, single-use, no login), the 100MB ceiling, the expiry window, and the full propose→confirm gating with status='confirmation_required', action_id and plan_token. The word "Additive" sits in mild tension with destructiveHint=true, but it is a scoping claim rather than a contradiction of the annotation.

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?

Front-loaded with the primary purpose and the size constraint, then parameters, then the follow-up, then the confirmation contract. Slightly redundant: "Additive; runs the propose→confirm gate" is restated at length in the CONFIRMATION sentence that follows.

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?

No output schema exists, and the description compensates by describing the returned value (public drag-and-drop page URL), the token, and the polling path. For a mutating, confirmed-write tool with an open-world public link, everything an agent needs before calling it is present.

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

Parameters4/5

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

With 0% schema coverage the description carries the full burden and mostly delivers: it marks filename as required, explains note_id links the resulting document to a note, and gives expires_minutes its range (5..1440) and default (60). size_hint_bytes is listed but its effect is never explained, leaving one parameter's semantics thin.

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 gives a specific verb and resource ("Create a one-time upload link") and immediately scopes it to a LARGE file that cannot pass through the conversation as base64, which implicitly distinguishes it from the base64 upload and from the read-only sibling get_upload_status. An agent can select it 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?

It states the selecting condition clearly (file too large for base64, up to 100MB) and names the follow-up tool get_upload_status with the returned token. It stops short of explicitly naming the smaller-file alternative tool, but the condition that would route an agent elsewhere is spelled out.

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.

Resources