Skip to main content
Glama

Read page text

browser_read
Read-onlyIdempotent

Reads the text of a page in an agent tab, including scrolled-out content and long pages in chunks; use offset to continue cut-off pages. Read articles, results, or docs on a background tab.

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. 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.

Input Schema

TableJSON 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.5/5.0
Behavior4/5

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

Annotations already cover read-only/idempotent/open-world safety, but the description adds genuine behavioral context beyond them: it works on a background tab, includes scrolled-out content, and returns long pages in chunks with a stated stop point. The trailing 'Read-only' merely restates readOnlyHint, keeping this short of a 5.

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?

Front-loads what is read, then format, then usage/alternatives, then background-tab and chunking behavior. Every clause earns its place with no filler.

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?

For a full-coverage, fully-annotated read tool with no output schema, the description covers purpose, alternative routing, return shape (chunking + offset continuation) and safe concurrent use (background tab). Nothing needed to call 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% and all six parameters are documented in-schema, so the schema does the heavy lifting. The description only reinforces offset-based continuation, adding no syntax or semantics beyond what the schema already states, which is the baseline 3.

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 (read) plus resource (the page text in one of the agent's tabs) and even the output format (headings with #, paragraphs, lists, table text in reading order). It explicitly distinguishes itself from browser_snapshot, so an agent can route without opening either 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 explicit when-to-use cases (read an article, results or documentation) and names the alternative with its own use case (browser_snapshot to find something to click). The selection condition between the two read-oriented siblings is unambiguous.

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