Skip to main content
Glama
mya11yreport

mya11yreport-mcp

by mya11yreport

List images and alt text

list_images

Lists all images and inline SVGs on a page, showing accessible names, alt-text status, and flags for missing or overly long alt text to identify accessibility issues.

Instructions

Lists every and inline on the session page with its accessible name, the source that name came from (aria-label, aria-labelledby, alt, title, desc or none), its src/currentSrc and sanitized SVG markup, a decorative flag, and a shadow-piercing selector. Derived flags mark genuinely missing alt text and overly long alt text (>250 chars). Top frame only, open shadow roots only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filterNoWhich images to return: 'all' (default), 'decorative', 'missing-alt' (not decorative and no accessible name), or 'has-alt' (not decorative and named). Counts always cover every image.all
sessionIdYesSession id returned by start_session. Required on every stateful tool call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.3

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries the full burden of behavioral disclosure and does so thoroughly: it describes output fields, sanitization of SVG markup, derived flags for missing/overly long alt text, and scoping to top frame and open shadow roots. The agent knows what to expect without needing additional annotation.

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 dense sentence with no filler. It front-loads the core purpose and then packs only value-adding details: output fields, flags, and scope limitations. Every clause earns its place.

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 no output schema, the description fully covers what the agent will receive, including specific fields and flags. Combined with the schema's complete parameter documentation, this is sufficient for correct invocation and interpretation of results.

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%, so the schema already documents both parameters. The description adds a bit of behavioral context (e.g., 'Counts always cover every image'), but it does not meaningfully expand on parameter meaning beyond the enum descriptions already present.

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 ('Lists') and a clear resource ('every <img> and inline <svg> on the session page'), and expands on exactly what is returned, including accessible name, source, and derived flags. This clearly separates it from general page-structure tools like get_structure or get_page_snapshot.

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 makes its scope explicit ('Top frame only, open shadow roots only') and the filter parameter clarifies result subsets. It does not explicitly name alternative tools or state when not to use it, but the purpose and limitations are clear enough for an agent to select it appropriately.

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