Skip to main content
Glama

browser_get_page_state

Retrieve lightweight page state and a DOM mutation sequence counter to detect page changes at zero cost across Chrome and Kitesurf.

Instructions

Get lightweight page state and DOM mutation sequence counter for zero-cost change detection across Chrome and Kitesurf.

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_get_page_state"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.13.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It discloses useful traits such as being lightweight, zero-cost, cross-browser, and returning a mutation sequence counter, but it does not explicitly state read-only safety, side effects, or the shape of the returned state.

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 definition is a single front-loaded sentence with no redundant wording. It states the resource, the distinctive mutation counter, and the intended use without burying the key information.

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

Completeness3/5

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

Complexity is low because there are no parameters, but the lack of annotations and output schema means the description should clarify what 'page state' includes and what the return value looks like. It is sufficient for basic tool selection but not fully complete for interpreting results.

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?

The tool takes zero parameters, so there is no parameter meaning for the description to supplement. The baseline for zero-parameter tools applies.

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 (Get) and two specific resources: page state and a DOM mutation sequence counter. It adds scope (Chrome and Kitesurf) and a use case (zero-cost change detection), but does not explicitly differentiate itself from potential siblings such as browser_diff_snapshot or browser_get_html.

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 phrase 'for zero-cost change detection' implies the intended use as a cheap change-detection read. However, it does not state when to prefer this over alternatives, when not to use it, or any exclusions.

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

Deploy Server

Other Tools