Skip to main content
Glama

Browser snapshot

browser_snapshot
Read-only

Capture a text snapshot from a live browser debug session page to inspect the current UI state during development.

Instructions

Read a text snapshot from a browser debug session page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_textNo
selectorNo
session_idYes
max_elementsNo
Behavior3/5

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

The readOnlyHint annotation already indicates a read operation, and the description's 'Read' wording is consistent. The description adds some context by specifying 'text snapshot' and 'browser debug session page', but it does not disclose output scale, potential side effects, or preconditions. No contradiction with annotations.

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 concise sentence, front-loaded with the action and resource. Every word earns its place, with no redundancy or filler.

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?

Although the core concept is simple, the tool has 4 parameters and no output schema. The description does not explain what the text snapshot includes, how selector or size limits work, or what the return value looks like, leaving notable gaps for correct invocation.

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

Parameters1/5

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

The schema has 4 parameters with 0% description coverage, so the description must compensate. It provides no information about session_id, selector, max_text, or max_elements, leaving the agent to infer semantics solely from the parameter names.

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 states the action ('Read') and the resource ('a text snapshot from a browser debug session page'). It distinguishes the tool from similar siblings like browser_screenshot, though it does not explicitly differentiate from get_runtime_snapshot.

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?

There is no guidance on when to use this tool versus alternatives such as browser_screenshot or browser_console_logs. The description provides only the basic function, with no context, prerequisites, or exclusions.

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/Xsxdot/super-dev'

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