Skip to main content
Glama

Read the page

browser_snapshot
Read-onlyIdempotent

Read the whole page as a tree of elements with [ref=...] ids, dialogs first. Actions already return what is on screen; call this for the rest or when the page changed by itself. Up to 20000 characters, full: true 40000.

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
refNoRead only this element.
fullNoAllow up to 40000 characters.
tab_idNoA result's tab_id.
session_idNoOnly with several sessions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely useful context beyond that: dialogs are surfaced first, output caps at 20000 characters, and full:true raises it to 40000. It still says nothing about pagination, truncation behavior when the cap is hit, or cost/latency of a large read.

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?

Three short sentences, front-loaded with what is returned, then when to use it, then limits. Nothing is wasted. The telegraphic 'full: true 40000' phrasing is compressed almost to the point of ambiguity.

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?

With no output schema, the description carries the burden of describing the return value, and it does so reasonably: an element tree with [ref=...] ids, dialogs first. What is missing is what happens at the character cap and how a ref from a previous snapshot stays valid, which matters for a tool whose refs are the handles other actions consume.

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 coverage is 100%, so the baseline is 3, and the description earns the bump by supplying the default cap (20000) that the schema omits and confirming that full:true lifts it to 40000. It leaves ref, tab_id and session_id entirely to the schema descriptions.

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 whole page as a tree of elements with [ref=...] ids, dialogs first.' That tells an agent the return shape (element tree with refs) and ordering priority. It stops short of naming a distinct sibling like browser_find or browser_screenshot as the alternative for search or visual capture, so differentiation is partial.

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 a real decision rule: actions already return what is on screen, so call this 'for the rest or when the page changed by itself.' That covers the main when-to-use case against the whole action family. It does not state when not to use it (e.g. preferring a targeted find or a screenshot), so it falls short of explicit exclusion guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.