Skip to main content
Glama

screenshot

Capture a browser tab as PNG or JPEG, including background tabs without switching to them, while hiding Chromancer's pointer and frame by default.

Instructions

Screenshot a tab (background tabs are captured without switching to them). Chromancer's own pointer and frame are hidden unless showOverlay is true.

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

Input Schema

NameRequiredDescriptionDefault
tabIdNoTab ID from tabs_list. Omit for the active tab.
formatNo
profileNoChrome profile: folder ("Profile 3"), nickname, or unique display name. Omit to use the current profile.
showOverlayNoInclude Chromancer's pointer and working frame (default false: page only).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.4/5.0
Behavior3/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 two useful behaviors: background tabs are captured without activating them, and Chromancer's own pointer/frame are excluded by default. It says nothing about what the call returns (image payload vs. file path), size limits, or whether capture waits for rendering, which matters for a screenshot 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?

Two tight sentences with the core action front-loaded and the non-obvious background-tab behavior immediately after. No filler, though the overlay sentence overlaps with what the schema already says.

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 zero-required-parameter tool with no output schema, the definition should tell the agent what comes back and whether capture is synchronous or requires the tab to be ready. That information is absent, leaving a meaningful gap despite the otherwise adequate behavioral notes.

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 coverage is 75%, so the schema already documents tabId, profile, and showOverlay. The description's overlay note largely restates the schema's showOverlay description, and it adds no guidance on format selection or how tabId relates to the active-tab default.

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?

"Screenshot a tab" is a specific verb plus resource, and the parenthetical clarifies scope (background tabs, no focus switch). It does not distinguish itself from the DOM-oriented sibling 'snapshot', so an agent must infer which one produces an image versus a page structure.

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?

The description implies when this is useful (capturing a tab, including background ones) but never states when to prefer it over snapshot or get_text, nor any prerequisites such as the page needing to be loaded. Usage is implied rather than prescribed.

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