Skip to main content
Glama

Upload a public HTTPS file

upload_remote_file

Download a public HTTPS document (PDF, JPEG, PNG, WebP, TIFF, HTML, Markdown, or plain text, up to 10 MB) and stage it for conversion. Call this first when converting a remote file, then pass the returned upload id to create_conversion; returns { id, filename, pages, finalUrl }.

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

Input Schema

NameRequiredDescriptionDefault
urlYesPublic HTTPS URL of the file to fetch (standard port 443, no private hosts or embedded credentials, e.g. "https://example.com/report.pdf").

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / url / description
      Added value: +"Public HTTPS URL of the file to fetch (standard port 443, no private hosts or embedded credentials, e.g. \"https://example.com/report.pdf\")."
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already flag openWorldHint=true, readOnlyHint=false, idempotentHint=false and destructiveHint=false, so the network-touching, non-idempotent nature is partly covered; the description adds that the file is staged rather than converted and returns { id, filename, pages, finalUrl }. It does not mention failure modes for unreachable URLs or rate limits, so it stops short of full disclosure.

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?

Two sentences, front-loaded with the action and constraints, then the downstream call and return shape. No filler, and the ordering information an agent needs is in the second sentence where it belongs.

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?

With one parameter, no output schema, and safety behavior covered by annotations, the description supplies everything else needed: accepted formats, size limit, staging semantics, the sibling to call next, and the returned fields.

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?

The single 'url' parameter is fully described in the schema (HTTPS, port 443, no private hosts or credentials), so the baseline is 3; the description earns a bump by constraining what the URL must point at — supported formats and the 10 MB ceiling — which the schema does not express.

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 ("Download a public HTTPS document ... and stage it for conversion") plus the accepted formats and 10 MB cap, which tells an agent exactly what this tool ingests versus what create_conversion does.

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 explicitly sequences the workflow: "Call this first when converting a remote file, then pass the returned upload id to create_conversion." That is clear routing guidance, though it never states when not to use it (e.g., for local files or already-uploaded documents).

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