Skip to main content
Glama

page_read

Reads the current browser page into numbered actionable elements plus visible text, letting an agent inspect controls and decide what to click or type.

Instructions

读当前页面:每个可操作元素一行,[编号] 角色 名称;编号在页面不跳转时一直有效。page 翻看更多元素,ref 只看某个元素里面。之后附可见文字(截断)。

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

Input Schema

NameRequiredDescriptionDefault
refNo
pageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does reasonably well: it discloses the output layout, that indices remain valid only while the page does not navigate, that visible text is appended and truncated. It omits side-effect guarantees (presumably read-only) and pagination limits, but the index-stability note is genuinely valuable behavioral context an agent could not get from the schema.

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?

Very compact and front-loaded: the core behavior comes first, then index validity, then the two parameters, then the trailing visible-text note. No clause is redundant, and it fits in a single dense sentence without burying the reader.

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?

There is no output schema and no annotations, so the description must define the response, and it does roughly (element list format plus truncated visible text). For a two-optional-parameter read tool this is close to sufficient; edge cases such as no page being open or the meaning of an empty result are the only notable gaps.

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 compensate, and it does: 'page' is explained as paging through more elements and 'ref' as restricting output to the inside of one element. Both optional parameters get meaning beyond their bare integer types; only the value conventions (e.g., whether paging starts at 1) are left unstated.

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+resource (读当前页面 / read the current page) and even sketches the return shape: [编号] 角色 名称, one actionable element per line. It implicitly separates this from the action siblings (page_click, page_type), but never explicitly contrasts it with page_shot, the other inspection-style sibling, so an agent must infer the text-tree vs. image distinction.

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 described only at the parameter level ('page 翻看更多元素,ref 只看某个元素里面'), which tells an agent how to widen or narrow a read but not when to choose page_read over page_shot or page_eval. There is no explicit prerequisite such as 'call this first to obtain indices before page_click'; usage is implied rather than stated.

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