Skip to main content
Glama

read_page

Read the current page's main text after navigation, waiting for DOM stability on JS-heavy sites. Returns visible or full-page text for AI analysis.

Instructions

Read the text content of the current page. When to use: as the FIRST step after navigating to understand what is on the page. Automatically waits for DOM stability on JS-heavy sites. Returns main content prioritized over sidebars/nav/footer, capped at ~8K chars. Related: get_dom_snapshot (get structured element data with selectors for interaction), navigate (go to a page first), scroll (scroll to load more content before reading). Multi-agent: agent-scoped tabs; cross-agent reject with TAB_NOT_OWNED; cap configurable (default 8, 1-64). Pass tab_id only when this agent owns multiple tabs; auto-resolves otherwise.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fullNoIf true, read entire page; if false (default), read visible viewport only
tab_idNoOptional. Tab id this read targets. Omit when the calling agent owns exactly one tab; required to disambiguate when the agent owns multiple. Single-tab agents and legacy popup/sidepanel/autopilot do not need to pass this.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses that the tool waits for DOM stability on JS-heavy sites, prioritizes main content over sidebars/nav/footer, caps output at ~8K chars, enforces agent-scoped tab ownership with a TAB_NOT_OWNED rejection, and supports a configurable cap (default 8, range 1-64).

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?

The description is front-loaded with purpose and usage, then proceeds through behavior, related tools, and multi-agent details. Every clause adds information an agent needs; there is no filler or repetition.

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?

With no annotations and no output schema, the description compensates well by explaining the return content (main content prioritized, capped at ~8K chars), DOM-stability waiting, tab scoping, and error behavior. It gives an agent enough context to invoke the tool correctly.

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 the schema already documents both parameters. The description's tab_id guidance ('Pass tab_id only when this agent owns multiple tabs; auto-resolves otherwise') largely restates what the schema says, adding no new syntax or format detail beyond the structured field.

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 first sentence states a specific verb and resource: 'Read the text content of the current page.' The Related section explicitly differentiates this tool from get_dom_snapshot (structured element data), navigate (navigation), and scroll (loading more content), so an agent can distinguish it from key siblings without opening schemas.

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?

It gives an explicit usage rule: 'When to use: as the FIRST step after navigating to understand what is on the page.' It also names alternatives with their conditions (get_dom_snapshot for interaction, navigate to go to a page, scroll to load more before reading), leaving little inference for an agent.

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