Skip to main content
Glama

OpenFactory

enumerate_dom_links

List every clickable / interactive element on the active page via DevTools.

Uses Chromium DevTools Protocol — Brave/Chromium tester VMs only (Firefox does not expose CDP at :9222). Returns DOM-truth: every , ,

Pair with desktop_screenshot (vision-based, returns what LOOKS clickable) for cross-check: enumerate_dom_links returns what IS clickable. The walker treats DOM enumeration as ground truth and OmniParser bboxes as pixel-coordinate hints.

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": {
      "vm_name": "<vm_name>"
    },
    "name": "enumerate_dom_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNoMCP API key
vm_nameYesYour tester/desktop VM name (starts with 'of-tester-' or 'of-desktop-')
tab_filterNoOptional URL prefix to pick which browser tab to query. Defaults to the most-recently-active page tab.
include_perfNoInclude per-stage timing metrics in the response.
session_tokenNoSession token

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the CDP transport dependency, the VM-type restriction, the returned field set (css selector, accessible name, href, viewport flags, disabled flag, bounding box), and that coordinates are CSS pixels. It does not mention output size/pagination on link-heavy pages, authentication expectations, or whether off-viewport elements are included despite the viewport flags.

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 purpose, then constraints, then return shape, then the sibling relationship — a sensible order with no filler sentences. The closing paragraph on the walker's ground-truth policy is somewhat beyond what an invoker needs and could be trimmed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter tool with no annotations and no output schema, the definition covers platform prerequisites, the returned fields, and the sibling relationship — enough to call it correctly. Minor gaps remain around large-page output volume and behavior when multiple tabs are open.

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 the schema already documents vm_name, tab_filter, include_perf, api_key, and session_token. The description adds only indirect meaning ('active page' implies the tab_filter default) and says nothing about include_perf or the VM-name conventions, so it lands at the baseline.

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?

States a specific verb and resource ('List every clickable / interactive element on the active page via DevTools') and immediately scopes it to CDP-backed Brave/Chromium tester VMs. It also enumerates exactly which DOM constructs count as interactive, so an agent can distinguish it from desktop_screenshot without opening either schema.

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?

Explicitly routes the agent: pair with desktop_screenshot for cross-check, treat DOM enumeration as ground truth and OmniParser bboxes as pixel hints, and do not expect this to work on Firefox/non-CDP VMs. It lacks guidance for edge cases such as canvas/WebGL pages with no DOM, or very large pages, but the primary when/when-not is stated.

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.