Skip to main content
Glama

browser_read

Read a page subtree as text or Markdown with headings and links preserved, enabling clean content extraction from a live browser tab.

Instructions

Read a page subtree as text or Markdown, preserving headings and links.

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
refNoElement reference from browser_snapshot (e.g. "@e12"). Preferred over index; also used to target a scroll container.
tabIdNoOptional browser tab id to act on instead of the focused tab.
formatNo
maxCharsNo
selectorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the burden. "Read" implies a non-mutating operation and the sentence discloses the output serialization (text/Markdown, headings and links preserved), which is real behavioral value. However, it says nothing about truncation against maxChars, what scope is read when no selector/ref is supplied, or behavior on hidden/lazy-loaded content.

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 no filler, and the resource is named before the output details. It is efficient, though the terseness leaves too little room for the scoping and truncation details the agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter tool with no annotations, no output schema, and 40% schema coverage, the description is too thin. It omits the default read scope when no ref/selector is given and says nothing about truncation, both of which directly affect how the agent should call it and interpret results.

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

Parameters2/5

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

Schema description coverage is only 40%: ref and tabId are documented, but selector, maxChars, and format are not. The description only touches format ("text or Markdown"), and that merely restates a self-evident enum. It never explains what selector scopes to, how maxChars truncates, or that omitting both selector and ref reads the whole page.

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 gives a specific verb and resource ("Read a page subtree") plus the output shape ("as text or Markdown, preserving headings and links"), so an agent knows exactly what it produces. It does not distinguish itself from sibling content tools such as browser_snapshot or browser_extract, which keeps it from a 5.

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

Usage Guidelines2/5

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

There is no when-to-use guidance and no mention of alternatives. The agent must infer on its own when to choose browser_read versus browser_snapshot, browser_extract, or browser_eval, all of which could plausibly return page content.

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