Skip to main content
Glama

browser_read

Read-onlyIdempotent

Read the active page's visible text (up to 12000 characters; 8000 with a selector; longer text is cut and marked), optionally scoped to a selector.

Instructions

Read the active page's visible text (up to 12000 characters; 8000 with a selector; longer text is cut and marked), optionally scoped to a selector. When the page navigated while it was read: without a selector it returns page_changed (ask again); with one — a read that waits for a selector goes on across the page's own move to the next page — the first line of the result says so and gives both addresses.

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

Input Schema

NameRequiredDescriptionDefault
selectorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and non-destructive, so the safety profile is covered. The description goes further with concrete behavior: truncation thresholds, a visible truncation marker, and how navigation during a read surfaces as page_changed with both addresses. This is meaningful context the annotations cannot convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is tight and front-loads the limits and selector scoping. The second sentence, however, is a tangled em-dash construction about reads that wait across navigation, which takes several passes to parse and buries the actionable instruction.

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?

With no output schema, the description carries the burden of describing the return, and it covers the main cases: plain text up to a cap, truncation marking, and the page_changed sentinel with both addresses. What it omits is how the text is extracted (links, alt text, hidden elements) and whether waiting for a selector is default or bounded by a timeout.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single selector parameter has no schema description at all, so the description must compensate, and it does: it says the selector optionally scopes the read and, importantly, that a selector read has a lower character cap (8000 vs 12000). That adds real meaning beyond the bare string type.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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: reading the active page's visible text, with an optional selector scope. It is clear enough to distinguish from browser_screenshot or browser_evaluate, but it never explicitly contrasts itself with browser_snapshot, which is the nearest sibling for page content.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied rather than stated: read visible text, optionally narrow it with a selector. There is no explicit when-to-use versus browser_snapshot or when-not guidance, though the navigation notes do tell the agent to ask again on page_changed, which is a useful conditional behavior.

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