Skip to main content
Glama

audit_accessibility

Read-onlyIdempotent

Run a lightweight WCAG accessibility audit on any page without a browser. It checks alt text, labels, headings, landmarks, ARIA and tabindex, then returns per-check results and an overall score.

Instructions

Run a lightweight WCAG accessibility audit on a page using Cheerio (no browser needed). Checks: lang attribute, form labels, empty buttons/links, image alt text, heading hierarchy, skip navigation, ARIA landmarks, document title, and tabindex issues. Returns per-check results and an overall score.

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": {
      "url": "<url>"
    },
    "name": "audit_accessibility"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe fully-qualified URL to audit for accessibility.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld and idempotent, so the safety profile is covered. The description adds real behavioral context beyond that: the Cheerio/no-browser implementation signals that JS-rendered content is not evaluated, and it discloses the return shape ('per-check results and an overall score').

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 sentences, front-loaded with the action and implementation method, followed by the check list and the return summary. The enumeration is informative rather than padding, and there is no redundant wording.

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 single-parameter, no-output-schema tool the description covers purpose, method, checks and return shape. The only gap is that it does not explicitly state the limitation that dynamically rendered content cannot be audited, though 'no browser needed' strongly hints at it.

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% and the single 'url' parameter is fully documented as a fully-qualified URL, so the schema carries the semantics. The description adds nothing further about the URL parameter, making the baseline 3 appropriate.

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 ('Run a lightweight WCAG accessibility audit on a page') and enumerates the nine checks, which makes clear it is the aggregate accessibility audit rather than a single-check sibling like analyze_headings or analyze_images.

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 phrases 'lightweight' and 'no browser needed' imply the appropriate context (static HTML, fast triage) but there is no explicit when-to-use or when-not guidance and no named alternative among the sibling tools for deeper or single-check analysis.

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