Skip to main content
Glama
Kurtzi9
by Kurtzi9

browser_snapshot

Read-only

Capture an accessibility snapshot of the current page to read its structure and text content, providing a text-based alternative to screenshots. Supports bounding boxes, depth limits, and saving to markdown.

Instructions

Capture accessibility snapshot of the current page, this is better than screenshot

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
boxesNoInclude each element's bounding box as [box=x,y,width,height] in the snapshot. Coordinates are viewport-relative, in CSS pixels (Element.getBoundingClientRect)
depthNoLimit the depth of the snapshot tree
targetNoExact target element reference from the page snapshot, or a unique element selector
filenameNoSave snapshot to markdown file instead of returning it in the response.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.0.77

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already provide readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds the behavioral framing of an 'accessibility snapshot' and a quality comparison to screenshots, but it does not disclose what the output actually contains, how large it can be, or that it returns element references (which is only revealed in the parameter schema).

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?

The description is a single sentence with no filler and the core action is front-loaded. The comparative phrase 'this is better than screenshot' is concise but slightly vague, preventing a perfect score.

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?

There is no output schema, so the description is responsible for clarifying what the tool returns. It only says 'snapshot' without stating it is a textual or markdown accessibility tree; the schema hints at this via the filename and target parameters, but the description alone under-specifies the return format and practical scope.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema description coverage, all four parameters are already well-documented in the schema. The description itself adds no additional parameter-level meaning, so the baseline score of 3 is appropriate.

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 clearly identifies the action ('Capture') and the resource ('accessibility snapshot of the current page'), making the tool's basic function evident. It also gestures at differentiation by claiming it is 'better than screenshot', which separates it from browser_take_screenshot, though it does not define what an accessibility snapshot is.

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 only usage guidance is the implied preference for this tool over screenshots ('this is better than screenshot'), which hints at using it when accessibility/structure is needed. However, it does not explicitly state when to prefer this over other siblings like browser_evaluate, nor does it give any exclusions or conditions.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Kurtzi9/playwright-mcp-render-mto6ljjz'

If you have feedback or need assistance with the MCP directory API, please join our Discord server