Skip to main content
Glama

sweep

Scans multiple pages to capture screenshots and console errors, returning a consolidated report so you can verify shared component changes did not break anything.

Instructions

Scan multiple pages: take screenshots and collect console errors on each. Returns a consolidated report. Use after changing shared components to check nothing broke.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "urls": "<urls>"
    },
    "name": "sweep"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsYesArray of URLs or paths to check. Paths like '/about' are resolved against the detected dev server.
checksNoWhat to check on each page. Default: ['screenshot', 'console'].
viewportNoViewport. Default: desktop.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It discloses the per-page behavior and the consolidated return, but says nothing about cost/latency across many URLs, whether the scan waits for page load, how failures on individual pages are handled, or whether the operation is purely read-only. For a multi-page tool these are meaningful omissions.

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 short sentences: capability, return value, then the triggering scenario. Nothing is redundant and the core capability is front-loaded before the usage hint.

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?

With three parameters, no annotations, and no output schema, the description covers the core purpose and the return type but leaves operational behavior (page-count limits, load waiting, partial-failure handling) unspecified. Adequate to call correctly, but not fully complete for a batch scan tool.

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 documents urls, checks, and viewport including defaults and path resolution. The description only echoes the screenshot/console checks that map to the 'checks' parameter and adds no syntax or constraint detail beyond the schema, so the baseline 3 applies.

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 opens with a specific verb and scope ('Scan multiple pages') and enumerates exactly what happens per page (screenshots, console errors) plus the return shape ('consolidated report'). It distinguishes itself from single-page siblings by the multi-page sweep framing, though it never names an alternative to contrast against.

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 a concrete trigger: 'Use after changing shared components to check nothing broke.' That is a clear when-to-use signal rather than vague context. It stops short of when-not-to-use guidance or pointing at single-page siblings like screenshot or console_logs for narrower checks.

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