Skip to main content
Glama
mcp-server-visual-stack-browser

mcp-server-visual-stack-browser

by cadivus

take_screenshot

Captures the current page as a PNG image for visual inspection of layout, images, or visual structure. Use when you need to analyse visual elements, not for reading text.

Instructions

Returns the current page as a PNG image blob for visual inspection. Use only when you need to analyse layout, images, or visual structure. For reading text or locating text buttons use ocr_screenshot instead — it is faster and costs no vision tokens.

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": {
      "session_id": "<session_id>"
    },
    "name": "take_screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
session_idYesSession ID returned by start_browser.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4.4/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 the return type (PNG blob) and a real cost characteristic (consumes vision tokens). It leaves out error behavior for an invalid or expired session_id and does not explicitly confirm the call is non-mutating, which a no-annotation tool would ideally state.

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?

Three short sentences, each earning its place: what it returns, when to use it, and what to use instead. The primary use case is front-loaded before the alternative.

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 single-parameter read tool with no output schema, the description covers return type, purpose, cost, and the alternative, which is close to sufficient. Minor gaps are session-validity or failure behavior, which matter less here given the schema already documents the only input.

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?

Only one parameter and the schema description coverage is 100%, so the schema already explains that session_id comes from start_browser. The description adds no further semantics about the parameter, which matches the baseline-3 expectation when the schema does the work.

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 (returns the current page) plus the output format (PNG image blob) and the reason it exists (visual inspection). It contrasts itself against ocr_screenshot, so an agent can distinguish it from siblings 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit when-to-use condition (layout, images, visual structure), names the alternative for the other case (ocr_screenshot), and explains why the alternative is preferable (faster, no vision-token cost). Nothing about routing is left to inference.

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