Skip to main content
Glama

Accessibility check

accessibility_check

Detects tappable elements without screen-reader names and duplicate accessibility IDs, helping teams fix usability issues and keep Appium tests stable.

Instructions

Tappable elements a screen reader can't name, and duplicate accessibility ids. These hurt users AND make tests fragile (no stable accessibility id to target).

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": "accessibility_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
screenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden: it discloses what the check finds and the practical consequence (unstable test targets), and it appears to be a read-only audit. It does not state whether it scans the whole app by default, whether results are cached, or what form the findings take.

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?

Two short sentences, front-loaded with the concrete defects before the rationale. No waste, though the verbless opening makes the first read slightly ambiguous as an action statement.

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

Completeness2/5

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

For a diagnostic tool with no annotations and no output schema, the description should say what a result looks like and how the `screen` scope behaves. It covers what it finds but leaves scope and response shape undocumented.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single `screen` parameter has 0% schema description coverage and is never mentioned in the description. An agent cannot tell whether omitting it (default null) scans all screens or the current one, which matters for invocation.

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?

Names the specific problems detected: tappable elements with no accessible name, and duplicate accessibility ids. An agent can tell this is an accessibility/a11y audit distinct from locator or screen-inspection siblings, though the description is a noun fragment with no explicit verb ("check", "scan").

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?

Usage is implied by the problem framing and the note that these issues make tests fragile, which hints at running it before authoring tests. There is no explicit when-to-use, no exclusion, and no pointer to a sibling such as check_locator or inspect_screen for related questions.

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