Skip to main content
Glama

wavexis_a11y_snapshot

Read-onlyIdempotent

Captures a page's accessibility tree as LLM-friendly text with element references so agents can inspect UI structure and target controls reliably.

Instructions

Get the full accessibility tree as LLM-friendly text with element refs.

Args: input: Snapshot parameters including optional URL and session.

Returns: JSON string with snapshot, text, and element_count.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "input": "<input>"
    },
    "name": "wavexis_a11y_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety and side-effect profile is covered structurally. The description adds that output is 'LLM-friendly text with element refs,' which is useful behavioral context, but says nothing about scope (full page vs. frame), size/truncation behavior on large trees, or session lifecycle effects. With annotations doing the heavy lifting, 3 is appropriate.

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?

Front-loaded with the core purpose in the first sentence, followed by brief Args/Returns notes. The Returns paragraph is largely redundant given that an output schema exists, and the Args line is thin, but there is no padding or filler to penalize.

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?

An output schema exists, so return fields needn't be spelled out, and annotations cover safety. What's missing for a tool of this complexity is operational framing: whether the tree is whole-page or frame-scoped, how element refs are consumed by the interaction tools, and any size limits. Adequate but with clear gaps.

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 registers 0% at the top level (a single nested `input` object), so the description must compensate, and it only partially does: it names URL and session but omits backend, headless, and wait_timeout. Those three are documented in the nested $defs, so the agent can still recover them, but the description itself adds little beyond a pointer.

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?

States a specific verb and resource: 'Get the full accessibility tree as LLM-friendly text with element refs.' That clearly distinguishes it from action tools like wavexis_click or wavexis_screenshot, and the mention of element refs signals the snapshot is meant for downstream interaction. It stops short of naming a sibling for contrast, so it lands at 4 rather than 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to choose this over wavexis_dom_get, wavexis_dom_query, or wavexis_screenshot, which are the obvious overlapping alternatives in the sibling list. The description never states prerequisites (e.g., that a session or URL is needed, or that it is typically followed by click/fill calls). An agent must infer the workflow entirely.

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