Skip to main content
Glama

Rove

get_a11y_tree

Get the accessibility tree snapshot of the current page. Returns structured data 77% smaller than a screenshot. Auto-scopes to the main content area on large pages (50K+ chars). Use selector to manually scope to a specific element.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
frameNoA CSS selector for an iframe, or a list of them for nested iframes. selector, label and ref then resolve inside it.
page_idNoThe page to act on, from list_pages or pages_opened. Defaults to the current page. Does not change the current page.
selectorNoCSS selector to scope the tree to a specific element (e.g. "#search-results", "main"). If omitted on large pages, auto-scopes to the main landmark.
max_charsNoMaximum characters to return. Truncates at nearest line boundary.
max_depthNoMaximum tree depth. Limits nesting to get a structural overview without deep details.
session_idYesBrowser session ID
visible_onlyNoOnly include visible elements. Skips hidden menus, modals, and offscreen content.
exclude_selectorsNoCSS selectors to exclude from the tree (e.g. ["nav", "footer", ".ad-slot"]). Elements are hidden before snapshotting.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources