Skip to main content
Glama

scout_capture

Captures a PNG of one element with its bounds and margin from a live screenshot, saving it under .scenescout/captures/ so people can see how that element looks.

Instructions

Save a PNG of ONE element — its bounds plus a margin, from a real screenshot — under .scenescout/captures/, to show a person how it looks. Give the element's ref from the latest scout_snapshot. Not a way to judge design: scout_design_audit measures it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNoInstead of a ref: the element's key from an earlier scout_capture result, to capture the same element on another deployment
refNoThe element's ref from the latest scout_snapshot
nameNoThe file's name: letters, digits and dashes. Default: capture
marginNoCSS pixels kept around the element. Default 8
sessionNoTarget this session directly instead of the active one — pass it explicitly when dispatching to MULTIPLE sessions in one turn (e.g. two scout_click calls with different `session`), which then run CONCURRENTLY rather than queueing. Omit for single-session sequential use.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.14.1

TDQS

A4/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. It discloses the output format (PNG), content (element bounds plus margin), and write location (.scenescout/captures/), but does not address permissions, error cases, overwrite behavior, 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.

Conciseness5/5

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

Three sentences, front-loaded with the core action and output path. The ref-sourcing instruction and the design-audit exclusion each earn their place, with no wasted wording.

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 no-output-schema, no-annotation tool with five parameters, the description covers purpose, element selection, output location, and sibling routing well. It does not state what the tool returns (e.g., a capture key), though the schema's key parameter implies a return artifact.

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 all five parameters are already documented in the schema. The description reinforces that ref comes from the latest scout_snapshot and adds conceptual meaning to margin, but does not add syntax or constraints beyond what the schema provides.

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: save a PNG of ONE element from a real screenshot, with scope (bounds plus margin) and output location (.scenescout/captures/). It distinguishes itself from the full-page sibling scout_screenshot by emphasizing 'ONE element' and from scout_design_audit by name.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Tells the agent to supply the element's ref from the latest scout_snapshot, and explicitly routes design judgment to scout_design_audit. It implies the contrast with full-page scout_screenshot via 'ONE element' but does not name that alternative directly.

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