Skip to main content
Glama

browser_download

Download PDFs, datasets, or other files through the browser's authenticated session, preserving cookies and access clearances, then save directly to disk.

Instructions

Download a PDF, Supporting Information (SI), dataset, or any file directly through the real browser's authenticated session (preserving cookies, TLS fingerprint, Cloudflare clearance, and institutional/campus access) and save it to disk.

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": "browser_download"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesFile URL to download (e.g. publisher PDF or SI link).
tab_idNoTab on the same origin/session to perform the authenticated fetch.
filenameNoOptional explicit filename override.
save_pathNoDestination file path or directory. Defaults to the server download directory.
timeout_msNoDownload timeout in ms (default: 60000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that cookies, TLS fingerprint, Cloudflare clearance, and campus access are reused, which is exactly the non-obvious behavior an agent needs. It omits failure/partial-download behavior and whether an existing file at save_path is overwritten, so it is not fully transparent.

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 the verb and outcome first, followed by the mechanism. The parenthetical list of preserved session artifacts is dense but each item earns its place by explaining why the browser path matters.

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?

All five parameters are schema-documented and the description explains the mechanism and destination, which is enough to invoke it correctly. With no output schema, it should say what the tool returns (file path, size, success indicator), which is the remaining gap.

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, tab_id, filename, save_path, and timeout_ms are already documented in the schema. The description reinforces the authenticated-session context that makes tab_id meaningful but adds no syntax, format, or default details beyond the structured fields.

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 (download) plus the resource classes it handles (PDF, Supporting Information, dataset, any file), the mechanism (real browser's authenticated session), and the outcome (save to disk). An agent can distinguish this from browser_extract_text or browser_network 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 Guidelines4/5

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

The phrase 'through the real browser's authenticated session' clearly signals the condition that selects this tool: files behind logins, Cloudflare, or institutional access. It does not state when-not to use it or name an alternative for plain unauthenticated fetches, so it stops short of explicit routing.

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