Skip to main content
Glama

Save file from URL

save_file_from_url
Destructive

Download a file from a public http(s) URL and store it in the user's Second Brain as a file object. Use it when the user shares a direct link to a PDF, image, spreadsheet, or other file and asks to save, download, or keep it. The saved file shows up with their uploads and can be read afterwards with read_file. Not for web pages (that is read_web_page with save=true) and not for files behind a sign-in. Files over 50MB are refused.

Input Schema

NameRequiredDescriptionDefault
urlYesThe http(s) URL of the file to download.
filenameNoName to store the file under. Default: the name the server or URL suggests.

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?

Annotations already declare readOnlyHint=false and destructiveHint=true, and the description adds real behavior beyond that: the file lands in the user's uploads and is subsequently readable via read_file, plus a hard 50MB refusal. The notable gap is that with destructiveHint=true it never says what happens if the filename already exists (overwrite vs. duplicate), which is the exact risk the annotation signals.

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?

Four compact sentences in a single paragraph: capability first, then trigger, then post-conditions, then exclusions and limits. Nothing is redundant with the schema or annotations, and no sentence could be dropped without losing routing information.

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 download tool with no output schema, the description covers source type, destination, post-save readability, exclusions, and size limits. It stops short on failure/overwrite semantics and what identifier is returned, but nothing essential to invoking it correctly is missing.

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%, including the default behavior for filename ("the name the server or URL suggests"), so the schema already carries the parameter burden. The description adds no extra semantics such as filename collision behavior or extension handling; baseline 3 applies.

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 verb and resource ("Download a file from a public http(s) URL and store it ... as a file object") and implicitly distinguishes itself from read_web_page, read_file and save_text_file by naming them. An agent can tell exactly 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?

Gives an explicit trigger ("when the user shares a direct link to a PDF, image, spreadsheet, or other file and asks to save, download, or keep it") plus two hard exclusions that route to siblings: web pages go to read_web_page with save=true, and signed-in files are out of scope. The 50MB limit is stated up front, so the agent can pre-check the call.

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.