Skip to main content
Glama

List Rules

get_rules

List axe-core accessibility rules, optionally filtered by tags, to identify relevant checks for WCAG audits and rule queries.

Instructions

List axe-core rules, optionally filtered by tags.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. 'List' weakly implies a read-only operation, but the description says nothing about the shape of a returned rule, whether the full catalog or a subset comes back by default, or how multiple tags combine (AND vs OR).

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?

A single front-loaded sentence with no filler; the optional-filter caveat sits right after the core action.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With one optional parameter, no annotations and no output schema, the definition is close to sufficient but omits two things an agent would want: what a 'rule' record contains and how the tags filter behaves with multiple values.

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 0% and the schema's anyOf(string|array-of-string) leaves the multi-tag semantics ambiguous. The description does add the essential fact that filtering is optional, but it does not explain whether passing several tags widens or narrows the result set.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Uses a specific verb ('List') with a specific resource ('axe-core rules'), which is clear on its own. It does not explicitly contrast with the sibling tools audit_html/audit_url, but the resource noun ('rules' vs. auditing pages) makes the difference inferable.

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 phrase 'optionally filtered by tags' implies a discovery/lookup use case and signals that tags are not required. There is no explicit statement of when to prefer this over the audit tools, nor any note about when a tag filter is or isn't appropriate.

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