Skip to main content
Glama

read_page

Read-only

Fetches the current page or navigates to a URL and returns its content as Markdown, visible text, or both, with HTTP status and page-state details for blocked or empty pages.

Instructions

Read the current page (or navigate to url first) as Markdown (default), its visible "text", or "both". Also returns http_status (the shown document's; null if unknown) and page_state: "blocked" (HTTP 401, 403, 429 or 503), "empty" (under 20 characters of visible text) or "ok". Long fields are cut; markdown_truncated / text_truncated say so.

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
urlNo
formatNomarkdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint/openWorldHint annotations: it enumerates the exact HTTP statuses that produce page_state "blocked" (401, 403, 429, 503), the concrete threshold for "empty" (under 20 characters of visible text), and the truncation flags for long fields. An agent knows precisely what failure and truncation look like before calling.

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?

Two sentences, front-loaded with the core action, then the return-field facts in a dense but scannable sequence. The nested quoting around "text" and "both" plus the parenthetical status-code list make it slightly harder to parse, but no clause is filler.

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 only two optional parameters and no output schema, the definition covers what an agent needs: inputs, output fields, and the sentinel states. It stops short of describing whether the read waits for page load or which tab is targeted, which matters for an open-world browser tool.

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?

Schema description coverage is 0%, so the description must carry the load, and it does: `url` is explained as a navigate-first trigger with a null default implied by "current page", and `format` is given meaning beyond the bare enum (Markdown default, visible text, or both). Minor gap: it does not say what happens to `url` resolution on failure or whether the shown document changes tab state.

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?

States a specific verb and resource ("Read the current page") plus the output representations (Markdown, visible text, both) and the optional navigation-first path. This implicitly separates it from get_page_html and navigate, but no sibling is named explicitly, so the differentiation is inferential rather than stated.

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?

The description explains that passing `url` navigates first, which is useful contextual guidance, but it never says when to choose read_page over get_page_html, evaluate_js, or page_elements, nor any when-not conditions. Usage is implied by the format options rather than argued.

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