Skip to main content
Glama

Delimit Story Accessibility

delimit_story_accessibility
Read-onlyIdempotent

Catch WCAG accessibility issues in HTML/JSX/TSX before merge: missing alt text, labels, empty buttons, heading order, and aria-hidden on focusable elements.

Instructions

Scan HTML/JSX/TSX for WCAG accessibility issues.

When to use: as a CI gate or pre-merge check on UI changes for common a11y problems — missing alt, missing labels, empty buttons, heading order, aria-hidden on focusable elements. When NOT to use: for responsive layout (use delimit_design_validate_responsive) or visual regression (delimit_story_visual_test).

Sibling contrast: delimit_design_validate_responsive checks layout; this checks WCAG.

Side effects: read-only static analysis. Calls backends.ui_bridge.story_accessibility_test.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
standardsNoWCAG standard — "WCAG2A", "WCAG2AA" (default), "WCAG2AAA".WCAG2AA
project_pathYesProject path to scan. Required.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv4.7.9
    • changedInput schema / properties / project_path / description
      Previous value: -"Project path to scan."New value: +"Project path to scan. Required."
    • changedInput schema / properties / standards / description
      Previous value: -"Accessibility standard (WCAG2A/WCAG2AA/WCAG2AAA)."New value: +"WCAG standard — \"WCAG2A\", \"WCAG2AA\" (default), \"WCAG2AAA\"."
  2. Changed2 schema fields changedv4.5.5
    • addedInput schema / properties / project_path / description
      Added value: +"Project path to scan."
    • addedInput schema / properties / standards / description
      Added value: +"Accessibility standard (WCAG2A/WCAG2AA/WCAG2AAA)."
  3. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, and the description reinforces this with 'read-only static analysis.' It also adds useful behavioral context beyond the annotations: the scan targets HTML/JSX/TSX and calls backends.ui_bridge.story_accessibility_test. This adds real transparency without contradicting the structured metadata.

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 description is well-structured with front-loaded purpose and clear labeled sections. It is slightly longer than strictly necessary because 'Sibling contrast' partially repeats the information already given in 'When NOT to use,' but the organization makes it easy for an agent to parse, so it remains efficient rather than bloated.

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 two-parameter read-only tool with a fully documented input schema, an output schema, and explicit annotations, the description is complete. It covers what the tool does, when to use it, when not to use it, named alternatives, side effects, and scope. Nothing essential for correct invocation is missing.

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 100%, with both standards and project_path clearly documented in the schema itself. The description does not add parameter-level semantics beyond the schema, so the baseline of 3 is appropriate; it neither improves nor harms parameter understanding.

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?

The description opens with a specific verb and resource: 'Scan HTML/JSX/TSX for WCAG accessibility issues.' It enumerates concrete problem types (missing alt, missing labels, empty buttons, heading order, aria-hidden on focusable elements), and explicitly distinguishes itself from the layout-focused sibling, making purpose and scope unmistakable.

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?

The description gives explicit when-to-use context ('CI gate or pre-merge check on UI changes'), explicit when-not-to-use conditions, and names the exact alternatives (delimit_design_validate_responsive for layout, delimit_story_visual_test for visual regression). This is model routing guidance.

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

Deploy Server

Other Tools