Skip to main content
Glama
Forge-Space

@forgespace/ui-mcp

Official
by Forge-Space

audit_accessibility

Audit any UI component for WCAG 2.1 accessibility violations including contrast, ARIA, keyboard navigation, semantic HTML, and focus management. Receive issues with severity, suggestions, and criteria references.

Instructions

Audit a component for WCAG 2.1 accessibility violations. Checks color contrast hints, ARIA attributes, keyboard navigation, semantic HTML, form labels, focus management, and more. Returns issues with severity, suggestions, and WCAG criteria references.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
component_codeYesComponent source code to audit for accessibility
frameworkYesFramework of the component
strictNoEnable strict mode for additional WCAG AAA checks
Behavior4/5

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

With no annotations provided, the description fully relies on text to convey behavior. It clearly states the tool performs an audit (non-destructive) and returns issues with severity, suggestions, and WCAG references. However, it does not mention potential side effects (e.g., network calls for criteria references) or resource usage, which would push it to a 5.

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?

The description is three sentences: first states the core purpose, second lists specific checks, third explains the output. Every sentence adds distinct value without redundancy. The structure is clean and front-loaded, making it easy for an AI agent to quickly grasp the tool's functionality.

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?

The description adequately covers the tool's inputs (component code, framework, strict mode) and outputs (issues with severity and references). It lists a broad set of checks but includes 'and more,' which is vague. No output schema exists, but the description compensates by outlining the return format. For a tool with no output schema, this is reasonably complete.

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% with well-defined parameter descriptions (e.g., component_code, framework, strict). The description adds no additional semantic value beyond the schema; it rephrases the overall audit scope without detailing specific parameter usage or interdependencies. Baseline 3 is 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?

The description clearly specifies the tool's purpose: auditing a component for WCAG 2.1 accessibility violations. It lists specific checks (e.g., color contrast, ARIA attributes) and describes the output format (issues with severity, suggestions, criteria references). This distinguishes it from sibling tools like analyze_component_library or assess_legacy_codebase, which serve different analytical functions.

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 description implies the tool should be used for accessibility audits but provides no explicit guidance on when to use it versus alternatives like analyze_component_library or image_to_component. No exclusions or use cases are mentioned, leaving the agent to infer the appropriate context based on the tool's name and description.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Forge-Space/ui-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server