Skip to main content
Glama

Get accessibility snapshot

browser_snapshot
Read-onlyIdempotent

Capture a bounded accessibility snapshot of a page or a specified element/iframe scope, with options to filter to interactive nodes and continue paginated results via cursors.

Instructions

Inspect a bounded accessibility-oriented snapshot of one explicitly addressed page, optionally scoped by a locator including a bounded semantic iframe chain. BrowserMesh rejects oversized DOM sources before native ARIA serialization. Use interactiveOnly to retain interactive nodes with ancestor context and maxChildren to limit every node after filtering. A nextCursor continues the immutable captured serialization without rereading a changed DOM; cursors are page-scoped, expire after 30 seconds, and become stale on navigation or close. Semantic scope, depth, boxes, character/byte bounds, omissions, and truncation are explicit; partial content is aria-yaml-fragment. Non-empty password-input values are redacted before content crosses MCP. Optional 30-second element refs are separate short-lived action conveniences.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeNo
cursorNo
pageIdYes
maxRefsNo
maxBytesNo
maxCharsNo
maxDepthNo
sessionIdYes
timeoutMsNo
includeRefsNo
maxChildrenNo
interactiveOnlyNo
includeBoundingBoxesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
refsYes
pageIdYes
partialYes
snapshotYes
omissionsYes
sessionIdYes
paginationYes
truncationYes
operationIdYes
appliedBoundsYes
contentFormatYes
Behavior5/5

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

Beyond annotations (readOnly, idempotent), the description discloses many behaviors: rejection of oversized DOM, cursor expiration and staleness, password redaction, partial content as aria-yaml-fragment, and separate short-lived element refs. These add rich context not present in annotations and align with them.

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 dense but well-structured, front-loading the purpose first, then constraints and parameter-specific behaviors. Each sentence contributes unique information, though it is longer than necessary and could be more succinct while preserving value.

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?

Given the complexity and richness of the schema (13 parameters) and the presence of an output schema, the description covers many operational aspects: cursor semantics, truncation, redaction, and ref limitations. However, it still does not fully explain all parameter interactions or the exact output format, leaving some 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 0%, so the description must compensate for parameter explanations. It mentions interactiveOnly, maxChildren, nextCursor, and refs, but omits many parameters like maxDepth, maxBytes, maxChars, includeBoundingBoxes, and scope details. The vague statement 'Semantic scope, depth, boxes...' does not suffice for a 13-parameter tool.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool inspects a bounded accessibility-oriented snapshot of one explicitly addressed page, with options for scoping via a locator and iframe chain. It uses specific verbs and resources ('inspect', 'accessibility-oriented snapshot') and distinguishes from sibling tools like browser_observe by emphasizing accessibility and boundedness.

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?

The description provides clear context that this is for accessibility-oriented inspection, and mentions parameter usage like interactiveOnly and maxChildren. However, it does not explicitly state when to use this tool over alternatives (e.g., browser_observe) or list exclusion criteria — only implicit contextual guidance.

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

Install Server

Other Tools

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/scrollDynasty/BrowserMesh'

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