Skip to main content
Glama
1password-browser-mcp

1password-browser-mcp

Get text

browser_get_text

Extracts visible text from the current page or a specified element so you can inspect content without parsing raw HTML.

Instructions

Return the visible text of the page or of an element.

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_get_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoElement ref from browser_snapshot, e.g. "e12"
maxCharsNoDefault 30000
selectorNoPlaywright selector (CSS, text=..., role=..., xpath=...) used when no ref is given

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. The word 'visible' usefully implies that hidden elements are excluded, but the definition says nothing about read-only safety, whether the page must already be loaded, how truncation behaves, or what happens with an invalid ref — significant gaps for a zero-annotation tool.

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 short sentence with the verb front-loaded and no filler. It is efficient, though the minimalism leaves nothing to structure.

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?

With 3 params fully covered by the schema and no annotations, the main remaining burden is return-value shape, and there is no output schema. The description does not say what the returned text looks like, whether truncation is marked, or how errors are surfaced, leaving a real gap for a simple but unannotated tool.

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 description coverage is 100%, so ref, selector, and maxChars (with its 30000 default) are already fully documented in the schema. The phrase 'of the page or of an element' loosely maps to the selector/ref choice, but adds no syntax or precedence detail beyond what the schema states.

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 ('Return the visible text') plus the scope ('of the page or of an element'), which is enough to distinguish it from structural siblings like browser_snapshot. It never names an alternative, so differentiation is implicit rather than explicit.

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?

The description gives no when-to-use or when-not-to-use guidance and does not point to browser_snapshot, browser_evaluate, or browser_find as alternatives for reading page content. An agent must infer from the description alone which extraction tool is appropriate.

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