Skip to main content
Glama

Generate validation report

generate_validation_report
Read-onlyIdempotent

Use this when HTML markup is already supplied. Combines Nu HTML validation with local CSS, SEO, accessibility-signal, and JSON-LD syntax checks. It does not fetch a webpage from base_url; use audit_public_webpage for a live URL.

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": {
      "html": "<html>"
    },
    "name": "generate_validation_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
cssNoOptional raw CSS source. Linked stylesheets are not fetched.
htmlYesRaw HTML markup supplied by the user; this is not a webpage URL.
base_urlNoOnly resolves relative links when check_links is true; it does not fetch this webpage.
max_linksNoMaximum links to check, from 1 to 20.
check_linksNoWhether to contact eligible public links found in the supplied HTML.

Output Schema

NameRequiredDescriptionDefault
errorNo
linksYes
overviewYes
html_infoYes
redirectsYes
css_errorsYes
seo_issuesYes
css_checkedYes
html_errorsYes
broken_linksYes
css_messagesYes
seo_findingsYes
failed_checksYes
healthy_linksYes
html_messagesYes
html_warningsYes
links_checkedYes
schema_issuesYes
seo_truncatedYes
eligible_linksYes
html_truncatedYes
links_requestedYes
links_truncatedYes
schema_findingsYes
schema_truncatedYes
unverified_linksYes
unreachable_linksYes
html_total_messagesYes
schema_blocks_checkedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / properties / eligible_links
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / links_truncated
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / schema_findings / items / properties / code
      Added value: +{
      +  "description": "Stable machine-readable audit rule identifier.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / schema_findings / items / required
      Previous value: -[
      -  "severity",
      -  "category",
      -  "message"
      -]New value: +[
      +  "code",
      +  "severity",
      +  "category",
      +  "message"
      +]
    • addedOutput schema / properties / seo_findings / items / properties / code
      Added value: +{
      +  "description": "Stable machine-readable audit rule identifier.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / seo_findings / items / required
      Previous value: -[
      -  "severity",
      -  "category",
      -  "message"
      -]New value: +[
      +  "code",
      +  "severity",
      +  "category",
      +  "message"
      +]
    • addedOutput schema / properties / unverified_links
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "html_errors",
      -  "css_errors",
      -  "seo_issues",
      -  "schema_issues",
      -  "links_checked",
      -  "broken_links",
      -  "html_warnings",
      -  "html_info",
      -  "html_messages",
      -  "css_messages",
      -  "seo_findings",
      -  "schema_findings",
      -  "links",
      -  "seo_truncated",
      -  "schema_truncated",
      -  "html_total_messages",
      -  "html_truncated",
      -  "schema_blocks_checked",
      -  "healthy_links",
      -  "redirects",
      -  "unreachable_links",
      -  "links_requested",
      -  "css_checked",
      -  "failed_checks",
      -  "overview"
      -]New value: +[
      +  "html_errors",
      +  "css_errors",
      +  "seo_issues",
      +  "schema_issues",
      +  "links_checked",
      +  "eligible_links",
      +  "links_truncated",
      +  "broken_links",
      +  "unverified_links",
      +  "html_warnings",
      +  "html_info",
      +  "html_messages",
      +  "css_messages",
      +  "seo_findings",
      +  "schema_findings",
      +  "links",
      +  "seo_truncated",
      +  "schema_truncated",
      +  "html_total_messages",
      +  "html_truncated",
      +  "schema_blocks_checked",
      +  "healthy_links",
      +  "redirects",
      +  "unreachable_links",
      +  "links_requested",
      +  "css_checked",
      +  "failed_checks",
      +  "overview"
      +]
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, and destructiveHint=false. The description adds useful behavioral context by clarifying that it validates supplied markup locally and does not fetch the base_url webpage, though it does not discuss the network behavior of optional link checking (covered in the schema).

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?

The description is compact and front-loaded: the first sentence establishes the use case, the second states the combined checks, and the third prevents a key misuse. Every sentence earns its place.

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?

Given the moderate parameter count, 100% schema coverage, annotations, and an output schema, the description is complete enough. It covers the core use case, scope of checks, non-fetching behavior, and the main alternative tool without needing to restate return values.

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 input schema already documents all five parameters. The description reinforces that HTML is supplied markup rather than a URL and that base_url is not fetched, but it does not add parameter details beyond what the schema provides.

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 states a specific operation: combining Nu HTML validation with local CSS, SEO, accessibility-signal, and JSON-LD syntax checks on supplied HTML markup. It also distinguishes the tool from audit_public_webpage by stating that this tool does not fetch a live webpage.

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?

The description explicitly gives the when-to-use condition ('when HTML markup is already supplied'), the when-not-to-use condition ('does not fetch a webpage from base_url'), and the alternative ('use audit_public_webpage for a live URL'). This leaves little ambiguity about tool selection.

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.