Skip to main content
Glama

browser_snapshot

Extracts a page outline of interactive elements and meaningful text with reference IDs for click and type actions; use offset pagination to inspect long pages.

Instructions

Text outline of the page: interactive elements + meaningful text, each with a ref like [ref=e12]. Use refs for click/type. Long pages are paginated — pass offset from the footer to get the next page.

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

Input Schema

NameRequiredDescriptionDefault
tabIdNo
offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does well on the disclosure that actually matters here: the return shape (outline with refs), the pagination behavior, and where the offset comes from. It says nothing about truncation limits, whether refs stay valid across snapshots, or which tab is targeted when tabId is omitted — real behavioral gaps for a read tool.

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?

Opens with the return format, then the usage rule, then the edge case. Three dense sentences, nothing repeated, and the most load-bearing detail (refs) is front-loaded.

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 no output schema and no annotations, the description ably covers the return value and the pagination loop, which is what an agent needs to call it correctly. The undocumented tabId param and the unstated ref-validity lifetime keep it from being complete.

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 fully explains offset — its pagination purpose and that the value comes from the footer. tabId is never mentioned, so an agent has no idea what it does or what happens when it is absent, which is the one meaningful shortfall.

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 concretely what the tool returns: a text outline of the page, interactive elements plus meaningful text, each tagged with a ref. That distinguishes it from browser_screenshot and browser_console_logs by output type rather than by naming them, so an agent can infer the difference but gets no explicit sibling contrast.

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

Usage Guidelines4/5

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

Gives concrete workflow guidance — 'Use refs for click/type' tells the agent this is the prerequisite step for browser_click and browser_type — and explains the pagination path via the footer offset. It stops short of saying when to prefer this over a screenshot or a full-page navigation.

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