Skip to main content
Glama
Web Validator by DigestSEO

Web Validator by DigestSEO

Compare isolated mobile and desktop rendering and native interaction evidence

browser.viewport_parity
Read-onlyIdempotent

V09 local-only: compare the SAME authorized HTML in two fresh, network-denied Chromium viewports (375x812 touch/mobile and 1440x900 desktop), or fetch one robots-allowed public HTML 200 response for that isolated comparison.

Instructions

V09 local-only: compare the SAME authorized HTML in two fresh, network-denied Chromium viewports (375x812 touch/mobile and 1440x900 desktop), or fetch one robots-allowed public HTML 200 response for that isolated comparison. Detects mobile main content hidden vs absent in DOM, visible navigation/link differences, title/description/H1/robots/canonical/JSON-LD counts, horizontal overflow, bounded keyboard tab targets, small control dimensions and one safe native details tap/Enter. All page scripts and external CSS/JS/API assets are disabled, no arbitrary links/buttons clicked or forms submitted. Fixed counts/codes only, no raw text, URLs, IDs or screenshots in output. Not Google WRS, full-site SEO parity, full accessibility certification, or real hydrated browser behavior.

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": {
      "mode": "<mode>"
    },
    "name": "browser.viewport_parity"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoOnly public_html: safe query-free HTTP(S) URL; robots.txt checked before a single public HTML GET.
htmlNoOnly supplied_html: static/inline-CSS markup evaluated without scripts, network or remote assets.
modeYesSupplied HTML is rendered twice offline; public mode first fetches one robots-allowed page HTML response then compares it offline.
page_urlNoOnly supplied_html: public same-origin page URL label for resolving links/canonicals; never fetched.

Output Schema

NameRequiredDescriptionDefault
errorNo
scopeYes
mobileYes
desktopYes
findingsYes
limitationsYes
h1_equivalentYes
total_findingsYes
browser_executedYes
coverage_limitedYes
scripts_disabledYes
blocked_resourcesYes
robots_equivalentYes
titles_equivalentYes
findings_truncatedYes
canonicals_equivalentYes
descriptions_equivalentYes
mobile_missing_dom_tokensYes
mobile_missing_visible_linksYes
mobile_missing_internal_linksYes
mobile_missing_visible_tokensYes
structured_data_count_equivalentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.53

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, the description discloses the execution envelope: fresh network-denied viewports, all page scripts and external CSS/JS/API disabled, no arbitrary links/buttons clicked, no forms submitted, robots.txt checked before a single GET, and a bounded tab-target and one-tap interaction budget. It also constrains the output shape (fixed counts/codes only, no raw text, URLs, IDs, or screenshots), which is behavior an agent cannot infer from readOnlyHint/openWorldHint alone.

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 core action and mode choice are front-loaded in the first sentence, followed by the detection list and then explicit non-goals. It is dense and every clause carries information, though the long enumeration of detected signals could be tightened slightly without losing meaning.

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 an output schema present, the description correctly avoids restating return values while still telling the agent the output is fixed counts and codes with no raw content. For a read-only, dual-mode comparison tool with full annotation and schema coverage, the remaining gaps (exact code vocabulary, timing limits) are minor.

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 value by pinning the two fixed viewport sizes and touch emulation that give the comparison meaning, and by clarifying that supplied HTML is rendered twice offline while public mode fetches once then compares offline. It does not add format or validation detail for url/page_url beyond what the schema already documents.

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 names a specific action and resource: compare the same authorized HTML in two fixed, network-denied Chromium viewports (375x812 touch and 1440x900 desktop), with an alternate single-fetch public mode. It also lists the concrete signals it compares (hidden vs absent main content, nav/link differences, metadata counts, overflow, tab targets, control dimensions, one details tap/Enter), which distinguishes it from siblings like browser.dom_diff or browser.wcag without naming them.

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 clearly frames when the tool applies: an isolated two-viewport parity check on supplied HTML, or a one-shot public HTML 200 fetch for that same offline comparison. It also states what the tool is not (Google WRS, full-site SEO parity, accessibility certification, hydrated behavior), which bounds usage well, but it does not name which sibling to use instead when hydrated or full-audit behavior is needed.

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