Skip to main content
Glama
1password-browser-mcp

1password-browser-mcp

Accessibility snapshot

browser_snapshot

Returns the active tab's accessibility tree with element refs, enabling content location and targeting click or type actions without screenshots.

Instructions

Return the accessibility tree of the active tab with element refs (e.g. [ref=e12]) usable by browser_click, browser_type, etc. Preferred over screenshots for reading or locating content.

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
maxCharsNoTruncate after this many characters (default 20000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does real work: it discloses the return shape (accessibility tree), the ref syntax, and the non-obvious interoperability fact that those refs are consumable by browser_click and browser_type. It leaves implicit that the call is read-only and says nothing about behavior when no tab is active or when output is truncated, which keeps it from a 5.

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 sentences, zero filler, and the most decision-relevant content (what it returns and the ref format) is front-loaded before the sibling preference. Nothing repeats the schema or the title.

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?

No output schema exists, so the description must characterize the return value, and the accessibility-tree-plus-refs phrase does enough for an agent to act on the result. Combined with complete parameter documentation, the only gap is a short note on truncated or empty-tree responses.

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?

The single maxChars parameter is fully documented in the schema, including its 20000 default, so the schema already does the heavy lifting. The description adds no guidance on when to raise or lower that limit, which is the baseline-3 outcome for 100% schema coverage.

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?

States a specific verb and resource ("Return the accessibility tree of the active tab") and names the concrete artifact it produces (element refs like [ref=e12]). That ref format immediately distinguishes it from browser_screenshot and browser_get_text without opening any schema.

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?

Explicitly says it is "Preferred over screenshots for reading or locating content," naming a real sibling and the condition that selects it. It stops short of stating when a screenshot is the better choice (visual rendering checks) or any prerequisite like an open tab, so not a full when/when-not pair.

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