Skip to main content
Glama

Auditar HTML (estático)

audit_html
Read-onlyIdempotent

Analyzes HTML snippets or documents, including simple JSX/Vue/Angular templates, to flag common accessibility issues like missing alt text, unlabeled fields, and blocked zoom.

Instructions

Analisa um trecho ou documento HTML (inclui templates JSX/Vue/Angular simples) e aponta problemas comuns: alt ausente, campos sem label, botões sem nome, links vagos, títulos fora de ordem, tabindex positivo, div clicável, zoom bloqueado, mídia sem legenda etc. Heurístico: não substitui axe-core nem teste manual.

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

Input Schema

NameRequiredDescriptionDefault
htmlYesHTML a analisar

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed world, so the safety profile is covered. The description usefully adds the heuristic limitation and the scope of checks, but says nothing about the shape or severity of the findings returned, and there is no output schema to compensate.

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 the action and scope, followed by a compact caveat. The list of checked issues is dense but each item adds real information about coverage, and nothing is redundant.

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?

For a one-parameter, read-only analysis tool this is nearly complete: it covers input scope, example checks, and the heuristic caveat. The remaining gap is the absence of any indication of result format or severity, which matters because no output schema exists.

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?

There is a single required parameter with 100% schema description coverage ('HTML a analisar'), so the schema already carries the semantics. The description enumerates what is checked but adds no meaning about the input format, size limits, or how JSX/Vue/Angular templates should be supplied.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Analisa um trecho ou documento HTML') plus the class of findings it reports, so an agent knows exactly what it produces. It does not differentiate itself from the listed siblings such as check_color_contrast, and instead contrasts only with axe-core and manual testing, which keeps it short of a 5.

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 closing sentence gives a clear when-not signal: it is heuristic and does not replace axe-core or manual testing, which tells the agent not to treat results as authoritative. It gives no explicit routing to sibling tools, so there is context but no named alternative.

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