Skip to main content
Glama
Browser MCP Server

Browser MCP Server

mark_page_and_screenshot

Marks page elements and captures a screenshot so visual AI agents can understand and interact with browser content.

Instructions

Mark page + screenshot. Best for visual agents.

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": "mark_page_and_screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageIdNo
fullPageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2/5.0
Behavior2/5

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

With no annotations, the description bears the full burden of behavioral disclosure and provides almost none. It implies a compound operation (marking plus capturing) but never says whether marking mutates page state, whether the screenshot is of the marked page, what permissions or browser state are required, or what is returned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short, front-loaded sentences with no filler, so nothing is wasted. However, the brevity comes from under-specification rather than disciplined editing, so compactness does not translate into clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a compound tool with no annotations, no output schema, and two fully undocumented parameters, the description supplies essentially nothing an agent needs to invoke it correctly. The relationship between marking and screenshotting, and their ordering, is left entirely implicit.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for both parameters. The description never mentions pageId or fullPage, so it adds no meaning beyond the bare schema keys; the agent must guess what pageId identifies and that fullPage controls screenshot capture scope.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Mark page + screenshot" essentially restates the tool name without explaining what marking a page actually does or what the combined result is. "Best for visual agents" is an unverifiable endorsement rather than a description of the operation. An agent cannot distinguish this from calling mark_page and take_screenshot separately based on this text.

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?

"Best for visual agents" is the only usage hint, and it is vague and unactionable. No guidance is given on when to prefer this combined tool over the sibling mark_page or take_screenshot, nor any exclusions or prerequisites.

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