Skip to main content
Glama

get_rules

List axe-core accessibility rules, filter by WCAG level, criterion, or search term. Get instant rule descriptions without needing a browser.

Instructions

List axe-core accessibility rules, optionally filtered by WCAG level, criterion, or search term. Does not require a browser — instant response.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
levelNoFilter to rules at this WCAG level
searchNoSearch rule IDs and descriptions
criterionNoFilter to rules for a WCAG criterion (e.g., "1.4.3")
Behavior4/5

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

With no annotations provided, the description carries the burden of disclosing behavior. It states 'Does not require a browser — instant response', which adds performance and execution context. The word 'List' implies a read-only, non-destructive operation, and 'optionally filtered' clarifies behavior when no filters are supplied. It does not describe return format, but for a simple list tool this is adequate.

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 a single concise sentence that front-loads the core action ('List axe-core accessibility rules'), then adds filter options and a useful behavioral note. No wasted words; every clause earns its place.

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?

For a tool with 3 optional parameters, no output schema, and no annotations, the description covers the main aspects: what it lists, how to filter, and that it is instant and browserless. It does not mention return structure, but that is not essential for a list operation, and the sibling get_rule_info presumably handles detailed rule information.

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 each parameter (level, search, criterion) having its own description. The tool description adds a summary of filtering ('by WCAG level, criterion, or search term') but no additional detail beyond what the schema provides. This is consistent with the baseline for high schema coverage.

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 uses the specific verb 'List' with the resource 'axe-core accessibility rules' and mentions optional filtering by WCAG level, criterion, or search term. This clearly distinguishes it from siblings like audit_url/audit_html (which perform audits) and get_rule_info (which focuses on a single rule).

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 implies when to use this tool: to list rules without requiring a browser, providing instant responses. It does not explicitly mention alternatives or when not to use it, but the contrast with browser-requiring audit tools is implicit. The lack of explicit exclusions keeps it from a 5.

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/ICJIA/axecap-mcp'

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