Skip to main content
Glama

screenshotAndAnnotate

Read-only

Capture a browser screenshot correlated with IDE state: dev server URL, diagnostics, and git diff. Specify URL, wait for selector, or capture full page.

Instructions

Correlate browser state with IDE state: dev server URL, diagnostics, git diff summary, and Playwright steps to capture screenshot.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoURL to screenshot. If omitted, derived from package.json dev script.
waitForSelectorNoCSS selector to wait for before screenshotting (e.g. '#app')
fullPageNoCapture full scrollable page (default: false)
Behavior3/5

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

Annotations already indicate readOnlyHint=true, so the description need not repeat safety. The description adds behavioral context by listing what the tool returns (dev server URL, diagnostics, git diff summary, Playwright steps), which informs the agent of the tool's output beyond the name. However, it does not elaborate on any side effects or state changes.

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?

The description is a single sentence that packs multiple elements, making it dense but not easily parseable. It could be improved by front-loading the primary action and structuring the output items more clearly.

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?

Given no output schema, the description lists key outputs (dev server URL, diagnostics, git diff summary, Playwright steps, screenshot) but lacks details on format or structure. It provides a reasonable overview for a complex tool but leaves some ambiguity about the exact return shape.

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 100% with descriptions for all three parameters. The description does not add additional meaning beyond the schema; it only mentions 'dev server URL' indirectly relating to the url parameter. The agent can infer parameter usage from schema alone.

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 clearly states the tool correlates browser and IDE state and captures a screenshot, distinguishing it from the sibling 'captureScreenshot' by emphasizing context gathering. However, the verb 'Correlate' is somewhat vague, and the tool's primary action could be more explicitly stated as capturing an annotated screenshot.

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?

No guidance is provided on when to use this tool versus alternatives like 'captureScreenshot'. The description does not mention contexts where correlation is beneficial or when to prefer other tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Oolab-labs/patchwork-os'

If you have feedback or need assistance with the MCP directory API, please join our Discord server