Skip to main content
Glama

safari_accessibility_snapshot

Capture a Safari page's accessibility tree—roles, ARIA labels, focusable elements, and form states—to audit a11y issues and verify focus and form behavior.

Instructions

Get the accessibility tree of the page (roles, ARIA labels, focusable elements, form states). Essential for a11y auditing.

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

Input Schema

NameRequiredDescriptionDefault
receiptNoOmit it: Daylight has no tab receipts and refuses a call that passes one
maxDepthNoMax tree depth (default: 5)
selectorNoCSS selector for subtree (default: full page)

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, and it only reveals the shape of the returned data. It says nothing about whether hidden/aria-hidden nodes are included, whether it is strictly read-only, whether the page must be loaded, or what happens for large trees — all relevant for a tree walk that can be huge.

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?

Two tight sentences with the core capability front-loaded and the parenthetical enumerating return contents immediately after the verb. No filler, nothing that could be cut without losing information.

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?

For a read-only three-parameter inspection tool with no annotations and no output schema, describing the returned fields is the main job and it is done. However, the lack of any statement about traversal scope or output size, combined with zero annotation coverage, leaves the behavior picture thinner than it should be.

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 maxDepth, selector, and the odd receipt parameter are already documented in the schema. The description adds no meaning beyond that, which meets the baseline for fully-covered schemas but does not help with the counterintuitive receipt parameter.

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?

The description states a specific verb and resource ("Get the accessibility tree of the page") and enumerates the contents (roles, ARIA labels, focusable elements, form states), which meaningfully separates it from a generic DOM snapshot such as safari_snapshot. It never names or contrasts against any sibling, so differentiation is inferential rather than explicit.

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?

"Essential for a11y auditing" implies the use case (accessibility auditing) but gives no when-not guidance and no pointer to an alternative such as safari_snapshot or safari_analyze_page. The agent must guess whether this or the plain snapshot is the right call for a given task.

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