Skip to main content
Glama

Page Snapshot

snapshot

Captures page title, URL, visible text, interactive elements, console errors, and network failures to inspect page state for QA, scraping, and diagnostics.

Instructions

Return title, URL, capped visible text, interactive elements, console errors, and network failures.

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

Input Schema

NameRequiredDescriptionDefault
pageIdNoPage id. Defaults to the active page.
maxElementsNo
maxTextCharsNo
telemetryLimitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/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 transparently lists the returned payload, including console errors and network failures, but it does not explicitly state that the operation is read-only, whether it modifies page state, or what happens if no page is active.

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 a single front-loaded sentence with no wasted wording. It lists the returned fields efficiently and does not bury the key information in qualifications.

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?

With no output schema, no annotations, four optional parameters, and only 25% schema description coverage, the definition is too thin. The description lists return components but does not explain cap defaults, what telemetryLimit controls, or the structure of interactive elements, leaving an agent with meaningful gaps.

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 description coverage is only 25%, with pageId documented but maxElements, maxTextChars, and telemetryLimit unexplained in the schema. The description hints at capped visible text and interactive elements, but does not map these to parameter names, defaults, or limit behavior, especially for telemetryLimit.

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 uses a clear verb, 'Return', and enumerates the exact page information returned: title, URL, visible text, interactive elements, console errors, and network failures. This distinguishes it from a screenshot or element inspection tool, though it does not explicitly name sibling alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description states what the tool returns but gives no guidance on when to use it versus alternatives such as screenshot, element_info, or telemetry. It also does not mention prerequisites, typical scenarios, or exclusions.

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