Skip to main content
Glama

Discover the app's routes and audit all of them

visual_crawl

Audits every route discovered from a start URL and aggregates defects across pages, collapsing duplicates into one root cause with a route count. Use dryRun to preview routes first.

Instructions

Same-site crawl: follows links from the start URL (bounded depth and count), audits every route, and aggregates defects ACROSS routes — one root cause with a route count instead of N duplicates. Use dryRun:true first to see which routes it would visit without paying for any audit. For a single page use visual_audit; this is the whole-app sweep. Each route gets its own sessionId, so visual_describe still works per page. Cost is roughly routes x a single audit, so it is capped harder (3 viewports, 15 findings per route).

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": {
      "url": "<url>"
    },
    "name": "visual_crawl"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesStart URL (absolute, relative to baseUrl, or a local HTML file).
modeNoAudit mode per route. Default fast.
dryRunNoOnly discover and list routes. No auditing. Cheap.
engineNoEngine for both discovery and audit.
routesNoExplicit route list. Skips discovery entirely — use when you know the routes.
excludeNoNever follow URLs containing these substrings (e.g. /logout).
includeNoOnly follow URLs containing one of these substrings.
maxDepthNoHow many link hops from the start. Default 2.
maxRoutesNoCap on routes to visit. Default 10.
concurrencyNoRoutes audited at the same time. Default 3. Each route gets its own browser context, so results are identical at any value; this only trades wall-clock for memory.
maxFindingsPerRouteNoBudget per route. Default 15.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.3

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description still discloses cost structure (routes x a single audit), hard caps (3 viewports, 15 findings per route), and that defects are deduplicated across routes with a route count. Per-route sessionId behavior is also explained, which is genuinely useful context. It stops short of stating whether the crawl is read-only/safe against the target site or how auth/errors are handled, so it is not fully complete.

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?

Front-loads the core behavior, then the dry-run tip, then the sibling comparison, so the most decision-relevant facts come first. It is dense and slightly run-on in places, but nearly every clause carries information an agent would use.

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 an 11-parameter tool with no annotations and no output schema, the description covers purpose, cost, caps, deduplication, and per-route session handling well. It does not describe what the aggregated result or dryRun route list looks like, and says nothing about failure or permission behavior, which is the remaining gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds cross-parameter meaning the schema lacks: dryRun is framed as a cost-free preview and the cost model ties maxRoutes/maxFindingsPerRoute to real spend. The concurrency trade-off is left to the schema, so it is a modest gain over baseline rather than exceptional.

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 ('same-site crawl: follows links from the start URL... audits every route') plus the distinctive aggregation behavior. It explicitly contrasts with the sibling visual_audit ('this is the whole-app sweep'), so the agent can separate the two without opening schemas.

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

Usage Guidelines5/5

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

Gives explicit routing guidance: dryRun:true first to preview cheaply, and visual_audit for a single page versus this tool for the whole-app sweep. The schema also names the bypass case for explicit route lists, so when-to-use and when-not are both covered.

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