Skip to main content
Glama

Inspect a browser page

browser_inspect

Reads visible page text and a bounded list of labeled controls, excluding password fields and current field values.

Instructions

Read visible page text and a bounded list of labeled controls. Password fields and current field values are not returned.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tabId": "<tabId>"
    },
    "name": "browser_inspect"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose meaningful traits: output is bounded, password fields are excluded, and current field values are not returned — privacy-relevant behavior an agent cannot see in the schema. It leaves unstated whether the call has any side effects, requires a live/loaded tab, or how the bound is enforced.

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 tight sentences with the primary capability front-loaded and the exclusion caveat second; every clause carries information and there is no filler.

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 and no annotations, the definition covers purpose and privacy exclusions adequately. It is still thin on how to obtain tabId and on what 'bounded' and 'labeled controls' concretely mean in the returned payload.

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 parameter, tabId, has 0% schema description coverage, so the description would need to explain it and does not — an agent is not told where tabId comes from (presumably browser_tabs) or what a valid identifier looks like. The name is largely self-explanatory, which softens but does not close the gap.

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 uses a specific verb ('Read') with two concrete resources: visible page text and a bounded list of labeled controls. It is clearly a read/inspection operation, distinguishing it from likely mutation or navigation siblings, though it never names or contrasts with any of them.

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 explicit guidance on when to reach for this tool versus browser_devtools, browser_tabs, or browser_task, nor any prerequisites such as the page being loaded or an active connection. The purpose implies reading page content, but the agent must infer the selection context entirely.

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