Skip to main content
Glama

Run accessibility & markup audit

qa_run_audit

Runs a static, non-destructive accessibility and markup audit on the current DOM, returning issues like unlabeled controls, contrast failures, broken images, duplicate IDs, and positive tabindex.

Instructions

Run Qiksy's a11y/markup audit on the current DOM (unlabeled controls, missing names, WCAG AA contrast, broken images, duplicate ids, positive tabindex, …) and return the findings. Also refreshes the panel. Static, non-destructive — reads the DOM only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "qa_run_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
omitNoDrop these field paths and keep the rest — the cheap way to lose one huge field (["html"], ["steps"]) without listing everything you want.
tabIdNoTarget tab (from qa_tabs); omit for the active tab
selectNoKeep only these field paths, e.g. ["ok","fields[].name"]. Dots walk into objects, and a path through a list applies to every entry, keeping it a list. A path that matches nothing is reported back with the field names that ARE there.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.86.2

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden. It does well on the key safety question ('Static, non-destructive — reads the DOM only') and even flags a side effect ('refreshes the panel'), which is genuinely useful. It says nothing about whether it waits for the DOM to stabilize, how long it takes, whether it works across iframes, or what the findings payload looks like.

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?

Two sentences, front-loaded with the action and scope, then the safety/side-effect note. The parenthetical checklist is dense but earns its place by telling the agent what classes of findings to expect. Minor waste in the trailing ellipsis.

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 three-optional-parameter, no-output-schema tool, the description covers purpose and safety but not the return shape (no output schema exists to compensate) or the preconditions for a meaningful run. An agent still has to discover what 'findings' contains by calling it.

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 description coverage is 100%, so the schema already explains select, omit and tabId in detail, including the 'path that matches nothing' behavior. The description adds no parameter meaning of its own, so the baseline of 3 applies.

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 ('Run Qiksy's a11y/markup audit on the current DOM') and enumerates the checks it performs (unlabeled controls, contrast, broken images, duplicate ids, positive tabindex). It also mentions the panel refresh side effect. It does not differentiate itself from likely-overlapping siblings such as qa_axe or qa_findings, so it stops 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 Guidelines3/5

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

'On the current DOM' and the 'static, non-destructive' framing imply when it applies, and the omit/select schema descriptions hint at cost tradeoffs. However, there is no explicit guidance on when to reach for this versus qa_axe or other audit/findings tools, and no stated prerequisites (page loaded, frames, etc.).

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