Skip to main content
Glama

browser.read_download

Read a downloaded text-based file by ID or latest completed download to inspect CSV, JSON, TXT, or HTML content with paging and PII scrubbing; binary files return an artifact URL.

Instructions

Read a downloaded file as text (CSV, JSON, TXT, HTML, ...), by download_id from browser.list_downloads or, if omitted, the latest completed download. Paged like browser.get_html. Binary files (PDF, XLSX, images) are refused with their artifact URL. With PII scrubbing on, the text is scrubbed; pii_scrub says whether it was and how many redactions were made.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "browser.read_download"
  }
}

Input Schema

NameRequiredDescriptionDefault
offsetNoCharacter to start from. A result with truncated=true gives the next_offset to continue from.
max_charsNoMost characters to return.
session_idNoTarget session id, from browser.create_session or browser.list_sessions. Optional when exactly one session is live; observe and act tools create one when none is.
download_idNoid from browser.list_downloads. Omit to read the most recent completed download.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.8.1

TDQS

A4.2/5.0
Behavior4/5

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

The description adds substantial behavior beyond the annotations: text-only handling, binary refusal with artifact URL, PII scrubbing effects, and a pii_scrub result field. It does not explain why annotations mark the tool as not read-only, such as possible session creation when session_id is omitted, so a small gap remains.

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 tightly written sentences, front-loaded with the core action and followed by important caveats. Every clause carries useful information without repetition.

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 read tool with no output schema, the description covers major return behavior: text content, binary refusal with artifact URL, PII scrubbing, and pii_scrub status. It could say more about the exact response shape, but the core behavior needed for correct invocation is present.

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%, so all four parameters are already documented. The description reinforces download_id sourcing and the omitted-download default, and adds that paging mirrors browser.get_html, but it does not add much parameter meaning beyond the schema.

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 names a specific verb and resource: read a downloaded file as text. It distinguishes itself from browser.list_downloads by sourcing download_id from it, and from browser.get_html by noting that paging works the same way.

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 clearly explains when download_id is required versus omitted and what happens when omitted. It also states that binary files are refused, which is useful usage guidance, but it does not explicitly contrast itself with alternatives beyond browser.list_downloads and browser.get_html.

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