Skip to main content
Glama
Web Validator by DigestSEO

Web Validator by DigestSEO

Review static images, video and media-loading evidence

media.diagnostics
Read-onlyIdempotent

Local-only, offline review of caller-supplied HTML image alt/name evidence, responsive picture fallbacks, intrinsic dimensions, lazy loading/decoding/fetchpriority hints, video sources and caption tracks.

Instructions

Local-only, offline review of caller-supplied HTML image alt/name evidence, responsive picture fallbacks, intrinsic dimensions, lazy loading/decoding/fetchpriority hints, video sources and caption tracks. Bounded and redacted; never fetches or renders media, executes scripts, measures layout, validates caption contents or certifies accessibility/performance.

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": {
      "htmlContent": "<htmlContent>"
    },
    "name": "media.diagnostics"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlContentYesCaller-supplied static HTML markup to inspect offline; no URL, resource or local file is fetched.

Output Schema

NameRequiredDescriptionDefault
errorNo
scopeYes
findingsYes
limitationsYes
total_findingsYes
images_observedYes
videos_observedYes
coverage_limitedYes
pictures_observedYes
findings_truncatedYes
images_with_empty_altYes
media_elements_checkedYes
track_elements_observedYes
image_sources_unobservedYes
media_elements_truncatedYes
source_elements_observedYes
images_without_explicit_altYes
picture_fallbacks_unobservedYes
videos_without_caption_trackYes
videos_without_observed_sourceYes
images_without_intrinsic_dimensionsYes
lazy_images_without_intrinsic_dimensionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.53

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is covered structurally. The description still adds real behavioral context beyond that – no fetching, rendering, script execution or layout measurement, plus 'bounded and redacted' – which is useful but does not specify bound sizes or what specifically gets redacted.

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?

Two sentences, front-loaded with what it inspects and closed with a hard boundary list. Every clause carries distinct information; no restatement of the title or name.

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?

An output schema exists, so return-value explanation is unnecessary, and the description instead supplies the scope and negative guarantees an agent needs before invoking. For a one-parameter read-only inspector, nothing material is missing.

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?

With a single parameter at 100% schema coverage, the schema already defines htmlContent's type and length. The description reinforces the parameter's meaning by stressing 'caller-supplied' and 'never fetches', clarifying that the value must be literal markup rather than a URL or file path – a distinction the schema does not spell out as forcefully.

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 a precise resource set: image alt/name evidence, responsive picture fallbacks, intrinsic dimensions, lazy loading/decoding/fetchpriority hints, video sources and caption tracks. The explicit exclusions ('never ... certifies accessibility/performance', 'validates caption contents') distinguish it from siblings such as browser.wcag and schema.markup 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?

The description makes the usage contract clear: it operates on caller-supplied static HTML, locally and offline, so an agent knows to route here only with markup in hand, not a URL. No sibling tool is named as an alternative for the URL case (e.g. html.url), so the routing guidance is strong but not exhaustive.

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