Skip to main content
Glama

Read page text

browser_read
Read-onlyIdempotent

Extract a page's text in reading order from any agent tab, including scrolled-out content, frames, lists and tables. Continue long pages with an offset or filter lines by query.

Instructions

Read the text of the page in one of the agent's tabs: headings marked with #, then paragraphs, lists and table text in reading order, including content scrolled out of view. Text inside frames (an embedded chat, a form from another site) follows the page's, each under a [frame "name"] line. Use it to read an article, results or documentation; use browser_snapshot to find something to click. Works on a background tab. Long pages come back in chunks: the result says where it stopped, and offset continues from there. Read-only.

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": {
      "tab_id": "<tab_id>"
    },
    "name": "browser_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoOnly return lines containing this text (case-insensitive), each with its neighbouring lines and the heading above it
offsetNoCharacter offset to start from, to continue a page that was cut off (default 0)
tab_idYestab_id of one of the agent's tabs, from browser_open_tab or browser_list_tabs
max_charsNoCharacters to return (default 20000, at most 200000)
session_idNoStable task or thread ID. Pass the same value on every browser call for this task. Different IDs isolate tabs and cleanup within one MCP process. Omit for the default process session.
include_linksNoAlso list the page's links as text and URL (up to 150)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.2

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent and open-world, but the description adds behavioral facts they cannot carry: chunked returns on long pages with a stop marker and offset continuation, frame content ordering under [frame "name"] lines, inclusion of content scrolled out of view, and background-tab operation. These are exactly the traits an agent needs to interpret and continue a read.

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?

Front-loaded with the core action and output format, and every sentence carries distinct information (output shape, frames, sibling routing, background tabs, chunking). It is dense but the chunking and offset guidance sits late, and 'Read-only' partially restates the readOnlyHint annotation.

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?

There is no output schema, so the description must describe what comes back, and it does: heading markers, reading order, frame sections, scrolled content, and the chunk boundary with offset continuation. Combined with 100% schema coverage of six parameters, nothing an agent needs in order to call or resume a call 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 description coverage is 100%, so every parameter including query, offset, max_chars and include_links is already documented in the schema. The description only echoes offset continuation, which the schema itself explains; it adds no new semantics such as format conventions for query or how include_links interacts with chunking. Baseline 3 applies when the schema does the heavy lifting.

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 ('Read the text of the page in one of the agent's tabs') and immediately describes the output shape: headings marked with #, then paragraphs, lists and table text in reading order. It explicitly separates itself from browser_snapshot ('use browser_snapshot to find something to click'), so an agent can pick correctly without opening a 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?

Names the use cases (read an article, results or documentation) and the explicit alternative (browser_snapshot) with the condition that selects it (finding something to click). It also notes it works on a background tab and how to continue a cut-off page via offset, so the agent knows both when and how to re-invoke.

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