Skip to main content
Glama
snayyar00

@webability/mcp

by snayyar00

generate_ai_fix

Generate framework-aware accessibility fix alternatives for WCAG issues, including color contrast solutions with auto-extracted brand palettes, and ready-to-paste code for Tailwind, Bootstrap, MUI, WordPress, Next.js, or plain CSS.

Instructions

Generate framework-aware fix alternatives for a specific accessibility issue. For color contrast issues, returns 3 alternatives (minimal, brand-aligned, high contrast); brand palette is auto-extracted from the live URL using our scanner if brandColors is omitted. For label/ARIA issues, returns 1-2 alternatives. Each alternative includes ready-to-paste code for the detected framework.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoPage URL — also used to auto-extract brand palette for contrast issues if `brandColors` is not provided.
htmlYesThe element's outerHTML — send at most ~600 chars
issueYesIssue object from scan_page (with selector, wcag, impact, message, fix.currentValue)
contextNoParent element outerHTML for context (~400 chars)
frameworkYesCSS framework — use detect_framework first
brandColorsNoBrand palette for brand-aligned suggestions. If omitted on a contrast issue with a `url`, auto-extracted via the scanner.
Behavior4/5

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

With no annotations, the description carries the full burden and does well by disclosing issue-type-specific behavior (number of alternatives per type), auto-extraction of brand palette, and the ready-to-paste code output. It lacks mention of potential side effects or error states, but overall provides sufficient behavioral insight.

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 a single paragraph of moderate length that efficiently conveys key information. While not overly verbose, it could be slightly more structured (e.g., bullet points) for easier scanning. It remains concise without missing critical details.

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?

Given the tool's complexity (6 params, nested objects, no output schema), the description covers essential behavioral aspects: issue-type handling, auto-extraction, and output format. It references related tools (detect_framework) and provides enough context for correct invocation.

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 baseline is 3. The description adds value by explaining behavioral differences (e.g., brandColors auto-extraction) and how parameters interplay with issue type, going beyond what the schema provides.

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 states the tool's purpose: generating framework-aware fix alternatives for a specific accessibility issue. It distinguishes itself from sibling tools by detailing different behaviors for color contrast vs. label/ARIA issues, making it unambiguous what the tool does.

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

Usage Guidelines4/5

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

The description provides clear context on when to use the tool (for a specific issue) and hints at prerequisites via the framework parameter (recommends using detect_framework first). However, it does not explicitly state when not to use it or name alternative tools for different scenarios, which would improve guidance further.

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/snayyar00/webability-mcp'

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