Skip to main content
Glama

read_page

Extract visible text or HTML from the current or specified browser tab, or from a CSS selector, to inspect page content.

Instructions

Devuelve texto visible o HTML de la página o de un selector.

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

Input Schema

NameRequiredDescriptionDefault
tabIdNoPestaña objetivo. Por defecto la pestaña actual del agente.
formatNo
maxCharsNo
selectorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the entire behavioral burden, and it discloses little beyond the return type. It says nothing about truncation when maxChars is hit, whether hidden or off-screen elements count as "visible", how dynamic/lazy content is handled, or whether the call is a cheap read or an expensive full-DOM extraction.

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, so it is efficiently sized and easy to scan. Its brevity is arguably too aggressive for a four-parameter tool, but nothing in the text is redundant or padded.

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 tool with four parameters, no annotations, no output schema and only 25% schema coverage, one sentence is not enough. An agent still lacks the default-output format, the truncation contract for maxChars, and any indication of what the returned payload actually looks like.

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 coverage is only 25% (just tabId is documented), so the description should compensate, and it only hints at two of the four: format (texto vs HTML) and selector. It says nothing about what maxChars does to the output — truncate, error, or default limit — nor that the target defaults to the agent's current tab, leaving the two most consequential parameters unqualified.

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 states a specific verb ("Devuelve") plus the resource and its two modes ("texto visible o HTML"), and scopes it to "la página o de un selector". That is enough to distinguish a content-extraction tool from action tools like click or navigate, but it never contrasts itself with close siblings such as snapshot, browser_data or evaluate, which also surface 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 only implied: an agent can infer you call this to pull readable text or raw HTML, optionally narrowed by a selector. There is no explicit when-to-use versus snapshot/evaluate/browser_data, and no statement of prerequisites such as whether the page must be loaded or navigated to first.

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