Skip to main content
Glama

browser_snapshot

Captures a text accessibility snapshot of the active page so you can read its structure and choose reliable selectors.

Instructions

Ambil accessibility snapshot halaman aktif dalam bentuk teks (untuk membaca struktur dan memilih selector).

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
maxCharsNoBatas panjang teks, default 28000

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. 'Ambil' (take) signals a read-only, non-mutating operation, but the description says nothing about what a 'snapshot' contains, whether it is truncated, or what happens when no page is active.

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?

A single compact sentence with the action front-loaded and the purpose bracketed afterwards. Nothing is wasted, though the parenthetical is slightly terse rather than fully self-explanatory.

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 one-parameter read tool with no output schema, the description covers what it does and roughly what it returns (text). It omits prerequisites (an active page/tab being required) and any sense of snapshot size or format, which an agent would need before relying on it.

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?

Schema coverage is 100% and there is only one optional parameter (maxChars), which the schema already documents with its default. The description adds no further meaning about truncation behavior or sizing, so the schema does the work — baseline 3.

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 names a specific action and resource: take an accessibility snapshot of the active page, returned as text. Saying 'dalam bentuk teks' implicitly separates it from the sibling browser_screenshot (image capture), though it never names that alternative outright.

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 parenthetical '(untuk membaca struktur dan memilih selector)' supplies a concrete use case — reading page structure to pick selectors — which implies when to reach for it. It gives no explicit when-not conditions and does not name an alternative such as browser_screenshot or browser_integrated_read.

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