Skip to main content
Glama

reproleaf

audit_html_document

Read-onlyIdempotent

Audit supplied static HTML for canonicals, hreflang, encoding/mojibake, H1-H6 outline and robots meta without fetching URLs.

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": "audit_html_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
htmlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare the safe, offline, idempotent profile, and the description adds real scope information beyond them by listing exactly which document aspects are inspected and confirming no network access occurs. It stops short of describing what an audit result looks like, which matters given there is no output 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?

A single dense sentence with no filler, front-loading the input type and then the checked dimensions. Every clause carries distinct information.

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

Completeness3/5

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

For a multi-check analyzer with two undocumented parameters and no output schema, the definition explains scope but not inputs or expected return shape. An agent knows what the tool checks but not what to pass in 'url' or how to interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry the parameter burden, and it does not: it explains nothing about the required 'html' payload (size limits, whether it must be a full document) and says nothing about the optional 'url' parameter. The 'without fetching URLs' claim actively leaves the role of 'url' ambiguous — base for relative-link resolution, or ignored.

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?

Names a specific verb (audit) and resource (supplied static HTML) and enumerates the exact checks performed: canonicals, hreflang, encoding/mojibake, H1-H6 outline, robots meta. The clause 'without fetching URLs' cleanly separates it from live-crawl siblings such as audit_live_crawl_hreflang, so an agent can route without opening either schema.

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?

The phrase 'supplied static HTML' implies the precondition (you already hold the markup) and 'without fetching URLs' implies the boundary versus crawl-based audits, but neither is stated as explicit when-to-use or when-not guidance. No alternative tool is named for the case where the page must be fetched first, so the routing has to be inferred.

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.