Skip to main content
Glama

JustMarkdown

Request a direct upload URL (large files)

request_upload_url

Get a short-lived URL to upload a large file straight to storage, then call convert_upload with the returned file_key. API-key only. Use this instead of convert_base64 when the file exceeds the base64 size limit.

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_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYesOriginal file name, used for format detection.
size_bytesNoOptional declared size in bytes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it discloses the key traits: the URL is short-lived, the operation is API-key only (an auth constraint an agent would otherwise hit as a runtime failure), and the result is a file_key that must be fed to convert_upload. It stops short of stating the actual URL lifetime, the HTTP method/headers for the upload, or whether requesting a URL reserves quota/storage, which would be the remaining behavioral gaps.

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 short sentences, front-loaded with the core action, then the follow-up step, then the auth and selection caveat. No filler and nothing buried.

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?

For a two-parameter write-path tool with no output schema, the essentials are covered: auth requirement, the returned file_key, and the mandatory next call. The notable omission is that the return value's actual shape (URL field name, expiry) goes unexplained and there is no output schema to fall back on.

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 filename and size_bytes are already documented in the schema, and the description only implies the 'large file' context. Baseline 3 — no additional meaning is added beyond what the structured field descriptions provide.

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 action (get a short-lived upload URL) on a specific resource (direct-to-storage upload) and immediately differentiates itself from convert_base64 by naming that sibling and the condition that selects it. An agent can tell what this does and what it does not do 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit routing rule: 'Use this instead of convert_base64 when the file exceeds the base64 size limit,' plus the required follow-up ('then call convert_upload with the returned file_key'). This is a when-to-use, a when-to-use-something-else, and a workflow hand-off in one sentence.

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