Skip to main content
Glama

browser_image

Reads an image using a browser snapshot element reference and returns its bytes as MCP image content.

Instructions

Read an image by snapshot ref, returning its bytes as MCP image content.

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": {
      "ref": "<ref>"
    },
    "name": "browser_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesElement reference from browser_snapshot (e.g. "@e12"). Preferred over index; also used to target a scroll container.
tabIdNoOptional browser tab id to act on instead of the focused tab.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.0

TDQS

B3.4/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 disclosure burden. It does state the return shape (image bytes as MCP content), which is genuinely useful, but it says nothing about ref lifetime/validity, error behavior for a missing or non-image element, or whether reading consumes or invalidates the ref. For a tool with zero annotation coverage this leaves meaningful behavioral gaps.

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?

A single front-loaded sentence that names the input, the action, and the return type with no filler. Nothing could be removed without losing information.

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?

For a two-parameter read tool with a fully documented schema, the description covers what the tool does and what it returns, which is enough since there is no output schema to describe. The omission of failure modes and sibling differentiation keeps it just short of complete.

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 both parameters (ref and tabId) are already fully documented, including the "@e12" format and the index-vs-ref preference. The description adds only the phrase "by snapshot ref," which the schema already covers more thoroughly; baseline 3 is appropriate.

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 pairs a specific verb ("Read") with a specific resource ("image") and states the selector mechanism ("by snapshot ref") plus the output form ("bytes as MCP image content"). It is not just a restatement of the name; the only gap is that it does not contrast itself with the screenshot sibling, so an agent must infer that distinction from the resource type alone.

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 implied rather than stated: the agent can infer it should call this when it already holds a snapshot ref for an image element. There is no explicit guidance on when to prefer browser_screenshot or browser_read instead, and no mention of what happens if the ref is stale or no longer resolves.

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