Skip to main content
Glama

audit_url

Read-onlyIdempotent

Layer 0 render-and-capture audit: renders a LIVE URL at each viewport×theme, scroll-settles (fires whileInView/IntersectionObserver reveals; plays preload=none videos), optionally fires caller-supplied hover/focus/click interactions, and captures real pixels + the rendered DOM. Then runs the existing audit_page rule engine, per-element WCAG contrast, responsive-visibility (desktop-shown/mobile-hidden), blank-media detection, sliced-image edge symmetry, and hover-state white-wash detection over the captures. Every finding is tagged confirmed | likely-artifact | inconclusive with its evidence, ranked by severity. This is the tool that catches real-world visual nits invisible to HTML-string/geometry audits: cropped images, blank videos, hover white-wash, sliced exports, and hidden-on-mobile content. Requires headless chromium. audit_url is disabled on the hosted (remote) endpoint: one run drives a real browser through every requested viewport and theme, and was MEASURED at 95s in its cheapest single-viewport single-theme configuration and past 120s with defaults, which exceeds the per-call budget of the hosted clients that call it. Run it locally instead (npx raven-mcp) where there is no request deadline, or pass the page HTML to audit_page here for a static grade.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesURL to render and audit (http/https or file://)
themesNoThemes to toggle (prefers-color-scheme + data-theme/class). Default: ['light','dark']
compactNoDrop per-capture base64 screenshots; keep findings, counts, and summary. Default false. Use when screenshots would blow the tool-result budget.
timeoutMsNoPer-navigation timeout in ms. Default: 30000
viewportsNoViewports to render. Default: iphone 393×852, desktop 1440×900, wide 2160×1200
interactionsNoFire each interaction before capture; the resulting state is diffed against baseline to catch hover/click white-wash and obscured content.
scroll_settleNoStep through the page with short pauses to fire reveal-on-scroll/IntersectionObserver content, play videos, then return to the top before capture. Default: true
containerMaxWidthNoYour design system's canonical container width in px — makes the max-width check token-aware.
includeScreenshotsNoInclude the base64 full-page PNG per capture in the result. Default: false (screenshots are large).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / scroll_settle / description
      Previous value: -"Scroll to bottom to fire reveal-on-scroll/IntersectionObserver content and play videos before capture. Default: true"New value: +"Step through the page with short pauses to fire reveal-on-scroll/IntersectionObserver content, play videos, then return to the top before capture. Default: true"
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint/idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description layers substantial disclosure beyond that: headless-chromium requirement, disabled-on-hosted behavior with concrete measurements, scroll-settle/video-play semantics (fires whileInView, plays preload=none videos), and the three-tier evidence tagging. No contradiction with annotations — an audit tool reads and reports, consistent with readOnly=true.

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?

The best information is front-loaded into the first sentence (render-and-capture, live URL, viewports×themes), with operational details and limitations following in a logical cascade. It is dense, but every sentence carries unique value — cost, environment, alternatives, output contract — making the length justifiable for a tool this complex.

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?

With no output schema, the description owns the return contract and fulfills it: 'Every finding is tagged confirmed | likely-artifact | inconclusive with its evidence, ranked by severity'. It covers prerequisites (headless chromium), environment constraints (disabled on hosted with timing evidence), resource cost (~95–120s), and a fallback path (audit_page for static HTML), leaving no material question answered for the caller.

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 description coverage is 100%, so baseline is 3; the description meaningfully adds by explaining why behaviors matter (interactions are 'diffed against baseline to catch hover/click white-wash', scroll_settle 'fires reveal-on-scroll/IntersectionObserver content'). Only minor gap: the compact vs includeScreenshots false-default tension and their combined use is implicit rather than explicitly called out.

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?

Opens with a concrete verb+resource ('Layer 0 render-and-capture audit') and specifies exact scope: LIVE URL, viewport×theme matrix, scroll-settling, optional interactions, real pixels + rendered DOM. Actively differentiates from siblings by naming the exact class of bugs it catches ('cropped images, blank videos, hover white-wash, sliced exports, hidden-on-mobile') that are 'invisible to HTML-string/geometry audits', cleanly separating it from audit_page, audit_contrast, and audit_layout.

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?

Provides explicit when-to-use ('This is the tool that catches real-world visual nits...'), an explicit alternative for static input ('pass the page HTML to audit_page here for a static grade'), and deployment-specific instruction ('Run it locally instead (npx raven-mcp) where there is no request deadline'). Measured cost data (95s cheapest, >120s defaults) lets an agent reason about whether the call is worth the budget.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.