Skip to main content
Glama

CMO Studio: deploy and host AI-built apps

Get file upload link

get_file_upload_url

Upload a file from the person's computer (needs a terminal, i.e. Claude Code): returns a one-time link (30 minutes) and the curl command, up to 100 MB. Run: curl -sS -T .

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": {
      "project": "<project>",
      "bucket": "<bucket>",
      "path": "<path>"
    },
    "name": "get_file_upload_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath in the bucket, e.g. documents/report.pdf
bucketYesBucket name
projectYesProject slug

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only supply destructiveHint=false, so the description carries most of the behavioral burden and does it well: one-time link, 30-minute expiry, 100 MB maximum, and the exact invocation. It leaves open whether an expired or unused link can be reissued and whether the upload overwrites anything at the target path.

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 outcome, limits, and prerequisite in a single dense sentence, then the literal command an agent can copy. The parenthetical prerequisite interrupts the sentence slightly, but no wording is wasted.

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 no output schema, the description usefully describes the return value (link + curl command) and the key constraints (expiry, size, one-time use). Remaining gaps — overwrite behavior, re-issuance, and whether the link can be used by someone else — are modest for a three-parameter URL-minting tool.

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 100%, so project, bucket, and path are already documented with examples. The description's only parameter-adjacent content is the placeholder <file> in the curl template, adding no meaning about bucket/project scoping or path constraints beyond the schema.

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?

States a concrete outcome: it returns a one-time upload link plus a ready-made curl command, with a size cap and expiry. The framing 'Upload a file from the person's computer' describes the workflow rather than the tool's own action (it mints a URL, it does not upload), which is slightly loose, and it does not distinguish itself from siblings like get_deploy_upload_url, get_import_url, or write_file.

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?

Gives a real prerequisite — it needs a terminal, i.e. Claude Code — which tells the agent when this path is viable. It stops short of naming an alternative for environments without a shell or for cases where import_file/write_file would be the right choice, so the agent must infer routing.

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.