Skip to main content
Glama

RatedWithAI accessibility checker

Explain how to fix an accessibility rule

explain_accessibility_issue
Read-onlyIdempotent

Use this when the user asks what an axe-core accessibility rule means or how to fix it — typically a ruleId returned by scan_accessibility, such as color-contrast, image-alt, label or link-name. Returns plain-English steps and a code example. Do not use it to scan a site; use scan_accessibility for that.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rule_idYesaxe-core rule id, e.g. color-contrast

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
knownYes
stepsYes
ruleIdYes
summaryYes
codeExampleNo
referenceUrlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

The annotations already establish that this is a read-only, idempotent, non-destructive, closed-world operation. The description adds useful behavioral context by saying it returns plain-English steps and a code example, and by clarifying that it does not perform scans. It does not cover auth or rate limits, but those are not central for this explanatory read operation.

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 compact and front-loaded: it first defines the use case, then gives examples, then states what it returns, then names the alternative for scanning. Every sentence carries useful selection or invocation information.

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 a single fully documented parameter, an output schema, and rich annotations, the description provides everything needed for correct selection and invocation. It covers purpose, usage boundaries, output nature, and sibling routing without redundancy.

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 rule_id parameter is already documented. The description adds value by giving multiple concrete axe-core rule ID examples (color-contrast, image-alt, label, link-name) beyond the single schema example, helping the agent recognize valid inputs.

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 states a specific verb and resource: explaining an axe-core accessibility rule and how to fix it. It names the sibling tool scan_accessibility and explicitly distinguishes the two, so an agent can tell what this tool does without opening the 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?

It gives explicit when-to-use guidance, including the typical source of the rule ID from scan_accessibility, and explicit when-not-to-use guidance by directing site scanning to scan_accessibility. This is exactly the routing information an agent needs.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources