Skip to main content
Glama
Web Validator by DigestSEO

Web Validator by DigestSEO

Verify multilingual hreflang clusters

site.hreflang
Read-onlyIdempotent

Compares head-only hreflang and canonical declarations across up to sixteen supplied static HTML pages, including x-default, reciprocal references and same-locale target consistency.

Instructions

Compares head-only hreflang and canonical declarations across up to sixteen supplied static HTML pages, including x-default, reciprocal references and same-locale target consistency. No URLs are fetched, and unsampled targets are not declared broken. Works across authorized domains; no browser, files or storage.

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": {
      "pages": "<pages>"
    },
    "name": "site.hreflang"
  }
}

Input Schema

NameRequiredDescriptionDefault
pagesYesUp to sixteen page observations; total supplied HTML must be at most 1.5 MB.

Output Schema

NameRequiredDescriptionDefault
errorNo
scopeYes
findingsYes
limitationsYes
sampled_pagesYes
eligible_pagesYes
total_findingsYes
coverage_limitedYes
locales_observedYes
findings_truncatedYes
unobserved_targetsYes
invalid_declarationsYes
pages_with_alternatesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.53

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish that this is a read-only, idempotent, non-open-world operation. The description adds useful behavioral detail beyond that: it does not fetch URLs, does not declare unsampled targets broken, works across authorized domains, and does not use a browser, files, or storage.

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 text is compact and front-loaded with the purpose. The second sentence efficiently communicates key scope limits without unnecessary repetition.

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?

For a one-parameter tool with an output schema and annotations, the description covers the essential constraints: head-only analysis, supplied HTML, page count, no fetching, and unsampled-target limitations. The output schema can carry return-value details, so the definition is complete enough.

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 schema already explains the pages array, URL labels, supplied HTML, item limits, and size cap. The description reinforces that pages are supplied static HTML and that URLs are not fetched, but it does not add syntax or meaning beyond the schema.

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 verb and resource: it compares head-only hreflang and canonical declarations across supplied static HTML pages. It also names concrete checks such as x-default, reciprocal references, and same-locale target consistency, making it clearly distinct from link-graph, sitemap, or generic HTML tools.

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

Usage Guidelines3/5

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

It makes the input context clear: pages must already have static HTML supplied, up to sixteen pages are supported, and no URLs are fetched. However, it does not explicitly say when to choose this tool over alternatives such as site.links or content.metadata, nor does it state when not to use it.

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