Skip to main content
Glama

Get WCAG audit kit

designesy_a11y_score
Read-onlyIdempotent

Audit a URL for WCAG 2.2 AA accessibility violations. Returns 11 conformance checks plus a Playwright + axe-core script to run locally.

Instructions

Get the Designesy WCAG 2.2 AA accessibility verification framework: 11 conformance checks (a01-a11) plus a ready-to-run Playwright + axe-core 4.13.0 script template targeting your URL. Use this to audit a site for accessibility violations. When NOT to use: for a full design-contract score (not just a11y), use designesy_score. Does NOT run the scan: axe-core needs a real browser DOM. Returns the 11 checks + a Playwright script you execute locally (npm i -D @axe-core/playwright). The score comes from your local run, not from this tool. Returns JSON: { checks[{id (a01-a11), name, status: "PENDING_EXECUTION"}], playwright_script, install_command, run_command }. Pass config (JSON string) to customize axe.configure(), for example with branding overrides or rule disables. Omit for standard WCAG 2.2 AA.

Input Schema

NameRequiredDescriptionDefault
urlYesURL to scan for accessibility. The returned script template will target this URL.
configNoBrand customization JSON for axe.configure() - branding, checks, rules, disableOtherRules.
rulesetNoRuleset tag (default: wcag22aa). Options: wcag2a, wcag2aa, wcag21aa, wcag22aa, best-practice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.13.8

TDQS

A4.8/5.0
Behavior5/5

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

Annotations (readOnlyHint/idempotent/non-destructive) cover the safety profile and the description is fully consistent with them. Beyond that, it discloses the crucial non-obvious behavior: the tool returns PENDING_EXECUTION checks and a script rather than results, requires a real browser DOM, and needs a local npm install to complete the audit.

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?

Long, but information-dense and front-loaded: purpose and the 11-check scope come first, then exclusions, then execution caveats, then return shape. A few parentheticals (axe-core version, npm command) could be trimmed, but nearly every sentence carries routing or behavioral value.

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

Completeness5/5

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

For a three-parameter tool with no output schema and no destructive surface, the description is complete: it spells out the return JSON shape, the PENDING_EXECUTION status semantics, the install/run commands, and the sibling tool to use instead. Nothing needed to call or interpret the result is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: it explains config's purpose (customizing axe.configure() via branding overrides or rule disables) and the default behavior when omitted ('Omit for standard WCAG 2.2 AA'). It does not discuss the ruleset parameter's tag options, which the schema already enumerates.

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: fetching the Designesy WCAG 2.2 AA verification framework with 11 checks (a01-a11) plus a Playwright + axe-core script template. It explicitly differentiates itself from the sibling designesy_score ('for a full design-contract score (not just a11y)'), so an agent can select it without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use ('audit a site for accessibility violations') plus a named when-NOT-to-use case routed to designesy_score. It also clarifies the boundary that this tool does not execute the scan and that the score is produced by the caller's local run.

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