Skip to main content
Glama

audit_static_accessibility

Read-onlyIdempotent

Inspect supplied static HTML with axe-core after explicit browser opt-in, isolating and sanitizing the DOM to flag accessibility issues without fetching URLs or claiming WCAG conformance.

Instructions

Explicit local browser opt-in only: require allowBrowser:true to inspect supplied HTML using axe-core on a sanitized static DOM. Runs a bounded isolated child; active documents rejected, source scripts and external resources removed, all browser requests aborted. No URL fetching, public gateway, OS-network-sandbox claim or WCAG-conformance score. Missing browser runtime is unavailable. Incomplete checks and dynamic/external styles require review.

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>",
      "allowBrowser": "<allowBrowser>"
    },
    "name": "audit_static_accessibility"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlYes
localeNoen
allowBrowserYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnly, openWorld=false, idempotent and non-destructive, yet the description adds substantial context beyond them: an isolated bounded child process, scripts and external resources stripped, all browser requests aborted, no URL fetching, and no OS sandbox guarantee. It also disclaims producing a WCAG-conformance score, which prevents a common misinterpretation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opt-in constraint is front-loaded and every clause carries security or scope information. It is dense and clause-heavy, reading more like a run-on caveat list than prose, but little is genuinely 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 tool with no output schema, it covers safety profile, rejected inputs, and limits of the result (no conformance score, incomplete checks). The remaining gap is the undocumented locale parameter and no indication of what the returned findings look like.

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 0%, so the description must compensate. It does explain the meaning and failure mode of allowBrowser (an explicit local opt-in gate), but it says nothing about the locale enum or about the html payload and its length limit, leaving two of three parameters unexplained.

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?

The description states a specific verb and resource: it inspects supplied HTML with axe-core on a sanitized static DOM for accessibility. That is concrete enough to distinguish it from live-crawl or document-structure siblings, though it never names an alternative tool.

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?

It sets a clear precondition ('require allowBrowser:true', 'missing browser runtime is unavailable') and states what is out of scope (active documents rejected, dynamic/external styles require manual review). It does not route to a sibling tool, but the when-to-use and when-it-fails conditions are explicit.

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