Skip to main content
Glama
mcp-server-cloudflare-browser

mcp-server-cloudflare-browser

by vpsm-sh

Get Accessibility Tree

get_accessibility_tree

Captures a webpage's accessibility tree after JavaScript execution so AI agents can inspect page structure and automate interactions.

Instructions

Captures the accessibility tree of a webpage after JavaScript execution. Useful for AI agents that need to understand page structure for automation.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does add real behavioral context — the capture reflects the DOM after JavaScript execution, not raw HTML — but leaves the most critical unknown unaddressed: with zero parameters, which page or tab is captured (current page? last rendered?) is never stated, nor is the return format, size limits, or whether any prior navigation is required.

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?

Two sentences, front-loaded with the action and resource, with no redundant restatement of the name. The second sentence leans slightly toward filler ('Useful for AI agents that...') but does contribute usage framing rather than pure padding.

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 simple zero-parameter tool this is adequate but thin: no output schema exists, yet the description never sketches what the accessibility tree is returned as (JSON tree, text dump, node list) or how large it may be. Combined with the unstated target-page semantics, an agent could invoke it without knowing what it will get back.

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?

Zero parameters, so the schema baseline is 4 and there is nothing for the description to disambiguate. The one semantic question the absence of parameters raises — how the target page is identified — is unaddressed, but this is a schema-design issue rather than missing parameter documentation.

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 — 'Captures the accessibility tree of a webpage' — and adds the timing qualifier 'after JavaScript execution'. It does not name or contrast with plausible siblings like take_snapshot, scrape_elements, or render_content, so an agent must infer differentiation from the unique 'accessibility tree' resource.

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?

'Useful for AI agents that need to understand page structure for automation' implies a usage context but gives no explicit when-to-use, when-not-to-use, or alternative tool selection. Nothing tells the agent whether this should be preferred over take_snapshot or scrape_elements when both could surface page structure.

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