Skip to main content
Glama

create_file_upload_url

Destructive

Get a one-time upload address for a file in the agent file store — NEVER send file content as base64 through a tool. Required: name (e.g. bericht.pdf). Upload the raw bytes with PUT (curl -X PUT --data-binary @file -H 'Content-Type: …' '<upload_url>'), then pass the returned path to upload_remote_file (put it into Google Drive/OneDrive/Dropbox/ownCloud) or get_file_link (a link to share). Valid 2 hours.

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

Input Schema

NameRequiredDescriptionDefault
nameYesName of the file

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / name / description
      Added value: +"Name of the file"
  2. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=false; the description adds real value beyond that with the 2-hour URL validity, one-time nature, and the required PUT/binary-body upload protocol. However, it never explains why a URL-creation tool is flagged destructive or what state is consumed/expired, leaving the mutation profile partly opaque.

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 purpose and the key prohibition, then the mechanics — good ordering with no filler sentences. The embedded curl command is dense but each clause (protocol, header, quoting) is operationally necessary.

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, so the description must cover the return value — it does ('the returned path') and explains exactly what to do with it. Combined with TTL, one-time semantics, and upload protocol, nothing an agent needs to invoke this correctly is missing.

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?

Schema coverage is 100% with a single documented parameter, so the schema carries the load; the description only adds an example filename ('bericht.pdf') and reiterates that name is required. Baseline credit applies, with the filename example as a modest extra.

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 concrete verb and resource — 'Get a one-time upload address for a file in the agent file store' — and immediately contrasts it with the wrong approach ('NEVER send file content as base64 through a tool'). The follow-on tools (upload_remote_file, get_file_link) are named, so its position in the workflow is unambiguous.

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?

Gives clear when-to-use context plus explicit next steps: PUT the raw bytes, then hand the returned path to upload_remote_file or get_file_link. It does not distinguish this from the similarly-named create_document_upload_url sibling, so the agent must guess between the two upload-URL tools.

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.