Skip to main content
Glama

capture

Save screenshots and probe results for each route at laptop and phone sizes, reporting HTTP status and JavaScript errors to the report folder.

Instructions

Save a screenshot and the probe results of each route, at laptop size (1440 by 900) and then at phone size (390 by 844), in the report folder. Use it right after start_review, before walking the core jobs. Returns, for each route and size, the files saved, the HTTP status and any JavaScript errors. It opens pages on the app's own origin only, 12 routes at most.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
routesNoPaths to capture, such as / and /pricing. A path with a parameter, such as /flows/:id, needs a real id. When left out, it captures the routes the scan found, or / when it found none.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.6
    • changedInput schema / properties / routes / description
      Previous value: -"Routes such as / and /pricing"New value: +"Paths to capture, such as / and /pricing. A path with a parameter, such as /flows/:id, needs a real id. When left out, it captures the routes the scan found, or / when it found none."
  2. First observedv0.4.5

TDQS

A4.5/5.0
Behavior5/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 so well: it discloses side effects (files saved in the report folder), constraints (only the app's own origin, max 12 routes), and return information (files saved, HTTP status, JS errors). This goes well beyond a basic statement of what the tool does.

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 dense sentences, each earning its place: the operation, the workflow timing, and the return value/constraints. No filler or repetition of schema content.

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

Completeness5/5

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

The description explains inputs (with schema covering defaults), behavior, side effects, constraints, and return values despite no output schema. An agent has everything needed to invoke it correctly at the right point in the review workflow.

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 the schema already fully documents the routes parameter, including examples and default behavior. The tool description adds no parameter-level meaning beyond that, which matches the baseline for high coverage.

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?

The description uses a specific action ('Save a screenshot and the probe results of each route') with a clear resource (routes) and concrete detail (two viewport sizes, report folder). This distinguishes capture from sibling tools like screenshot or probe by framing it as a composite operation, so an agent can identify when this tool is the right one.

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?

It gives explicit timing: 'Use it right after start_review, before walking the core jobs.' It does not name alternatives or state when not to use it, but the workflow placement is clear enough to guide selection.

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