Skip to main content
Glama

upload_from_url

Fetch a file from any URL and upload it directly to an S3-compatible bucket, returning a public URL for use in issues or pull requests.

Instructions

Fetch a file from a URL and upload it to the S3 bucket

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

Input Schema

NameRequiredDescriptionDefault
keyNoCustom object key. Auto-generated if omitted
urlYesURL to fetch the file from
filenameNoOverride filename for key generation. Inferred from URL if omitted

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose the meaningful behavior that the fetch is server-side (the tool retrieves the URL and uploads the result), but it omits overwrite semantics for an existing key, size/timeout limits, failure behavior for unreachable URLs, and what is returned after upload.

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?

A single front-loaded sentence with zero filler that conveys the whole mechanism. Minor imprecision in 'the S3 bucket' (which bucket?) is the only cost.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple three-parameter upload tool with no output schema, the description is minimally adequate but leaves the agent without return information (e.g., the generated key) and without any note on overwrite behavior or error conditions when the fetch fails.

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 url, key, and filename are already documented, including the auto-generation fallback rules. The description adds no meaning beyond the schema, so the baseline of 3 applies.

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 specific two-step verb (fetch then upload) and a concrete resource (a file to the S3 bucket), with the URL source distinguishing it from upload_base64 and upload_file. It stops short of naming those siblings explicitly, so differentiation is inferred rather than stated.

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?

Usage is only implied: the phrase 'from a URL' suggests it is the choice when the file already lives at a remote address rather than in a local file or base64 payload. There is no explicit when-to-use/when-not-to-use statement and no prerequisites such as URL accessibility or auth needs.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.