Skip to main content
Glama

How screen readers and AI agents read the page

screen_reader_view
Read-onlyIdempotent

Show a page the way a screen reader announces it, from the browser's accessibility tree: landmarks, the heading outline, and the reading order of links, buttons, images and form fields with the names they get. Flags what makes the page hard to use and hard to understand for assistive tech and for AI agents that browse through the accessibility tree: links and buttons without a name, vague link text like 'read more', form fields without a label, missing main landmark, skipped heading levels, and visible text hidden from readers. Uses the same browser render as render_page (shared, so calling both costs one render). If you have your own browser tool, pass its accessibility snapshot as tree instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesFull address of the page.
treeNoOptional: an accessibility snapshot from your own browser (role, name, level, children), for example Puppeteer page.accessibility.snapshot().

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
issuesYes
headingsNo
landmarksNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered structurally. Beyond that, the description adds a genuine behavioral trait: the browser render is shared with render_page, so calling both costs one render, plus the option to supply a tree instead of a url. It does not discuss limits, rate constraints, or failure behavior when a page cannot be rendered.

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?

Three dense sentences, front-loaded with the core action ('Show a page the way a screen reader announces it'), and the operand list plus the render_page/tree notes are all actionable. It is on the long side, but nearly every clause carries distinct information, so little is wasted.

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?

With an output schema present, the return shape need not be restated, and the description nonetheless frames what the analysis surfaces (the accessibility problems it flags). The render-sharing relationship, the alternative tree input, and the scope of the inspection are all covered, leaving nothing an agent needs to invoke it correctly.

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 both url and tree are already documented, giving a baseline of 3. The description goes further by clarifying the intended use of tree: only when you have your own browser tool, and it should be that tool's accessibility snapshot. That conditional guidance is meaningfully more than the schema text alone.

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 gives a specific verb (show), a specific resource (a page as announced by a screen reader), and enumerates the exact artifacts returned: landmarks, heading outline, and reading order of named links/buttons/images/form fields. It also names what it detects (unnamed controls, vague link text, unlabeled fields, missing main, skipped headings, hidden text), which clearly separates it from siblings like analyze_layout or render_page.

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?

It explains the relationship to render_page (shared render, so calling both costs one render) and gives an explicit alternative input path: pass your own browser's accessibility snapshot as tree. That is solid context for choosing between the two parameters, but it never states a when-not-to-use condition or a scenario where a sibling tool is the better choice.

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.