Skip to main content
Glama
Web Validator by DigestSEO

Web Validator by DigestSEO

Compare same-language main content

content.duplicates
Read-onlyIdempotent

Compares static main text across one to eight HTML pages supplied by the caller. Reports high-confidence exact matches and conservative near matches only within the same language (and script). No network requests or storage.

Instructions

Compares static main text across one to eight HTML pages supplied by the caller. Reports high-confidence exact matches and conservative near matches only within the same language (and script). No network requests or storage. Output is limited to this sample, not site-wide uniqueness.

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": "content.duplicates"
  }
}

Input Schema

NameRequiredDescriptionDefault
pagesYesOne to eight HTML pages to compare; total HTML must be at most 1 MiB.

Output Schema

NameRequiredDescriptionDefault
errorNo
pairsYes
scopeYes
limitationsYes
total_pairsYes
sampled_pagesYes
skipped_pagesYes
eligible_pagesYes
pairs_truncatedYes
coverage_limitedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.53

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, closed-world, non-destructive), yet the description adds real value: no network requests or storage, matching restricted to the same language and script, conservative near-match policy, and results scoped to the supplied sample rather than the site. What's missing is how near-match thresholds are determined.

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?

Three short sentences, front-loaded with purpose, then the matching policy, then the scope limitation. Every sentence carries distinct information with no repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, return values need not be explained, and the input caps live in the schema. The description covers the no-network, no-storage, and same-language constraints. The only residual gap is how 'conservative near match' is operationalized.

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 coverage is 100%, so the nested url/htmlContent constraints (URI format, 250,000-byte cap, 1–8 pages, 1 MiB total) are already documented. The description restates the page count and the 'supplied by the caller' semantics but adds no new parameter meaning, so baseline 3 applies.

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 resource ('Compares static main text') plus the exact input scope ('one to eight HTML pages supplied by the caller'). It also bounds the result set ('this sample, not site-wide uniqueness'), which distinguishes it from site-wide duplicate analysis an agent might otherwise assume.

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?

Usage is implied: use it when you already have the HTML and want to know if pages duplicate each other. The 'not site-wide uniqueness' caveat helps steer selection, but there is no explicit when-to-use/when-not framing or named alternative among siblings (e.g., html.local, browser.dom_diff).

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