Skip to main content
Glama
browser-stream

browser-stream

by sgreen7979

browser_snapshot

Captures the current page state and returns interactive elements with @e refs so you can target them in follow-up actions.

Instructions

Take a snapshot of the current page. Returns interactive elements with @e refs.

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

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden. It does disclose the return payload shape (@e refs on interactive elements), which is genuinely useful, but says nothing about whether the operation is read-only, token cost/size, ref invalidation after navigation, or whether the snapshot is a DOM or accessibility view.

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?

Two short sentences, front-loaded with the action and followed by the result. No filler or redundant restatement of the name.

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?

For a simple zero-param tool this is close to adequate, but with no output schema the description is the only place to explain return values, and it omits ref lifecycle (are @e refs stable across actions?) and any note on how the refs feed into browser_click/browser_fill.

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?

Zero parameters, so the baseline is 4; the description's reference to 'the current page' usefully clarifies that the target is implicit session state rather than an argument the agent must supply.

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 ('Take a snapshot of the current page') and adds what the result contains ('interactive elements with @e refs'). It is clearly distinct from mutation siblings like browser_click or browser_fill, though it never names a sibling explicitly.

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?

Usage is only implied: an agent can infer you snapshot the page before interacting with elements, but the description gives no explicit when-to-use, when-not-to-use, or precondition such as needing a loaded page.

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