Skip to main content
Glama

get_latest_dom_bug

Retrieves the captured broken DOM element from EyeDOM with HTML, computed CSS, bounding box, overflow flags, parent layout context, component name, and console errors as clean Markdown for debugging.

Instructions

Returns the most recently captured broken DOM element from EyeDOM (HTML, computed CSS, bounding box, overflow flags, parent layout context, React/Vue component name, and last 5 console errors) in clean Markdown.

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_latest_dom_bug"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/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 burden. It does well by enumerating the payload (HTML, computed CSS, bounding box, overflow flags, parent layout context, React/Vue component name, last 5 console errors) and the output format (Markdown). It omits what happens when no capture exists (error vs empty), whether reads are cached, and any permission requirements — notable gaps for an annotation-free tool.

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?

A single front-loaded sentence that leads with verb and resource before enumerating the payload. The parenthetical field list is long but each item is genuinely informative about what comes back; nothing is redundant.

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?

No output schema exists, so the description must describe return values, and it does so thoroughly, including the Markdown format. Inputs are empty so nothing is missing there. The only shortfall is the unstated empty-state behavior when no DOM bug has been captured.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; baseline 4 applies. The description correctly signals a parameterless call by describing the result purely in terms of 'the most recent' capture.

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: 'Returns the most recently captured broken DOM element from EyeDOM.' The scope qualifier 'most recently captured' distinguishes it from get_dom_capture_by_id and list_dom_captures without naming them. Slightly short of 5 because it never explicitly contrasts with those siblings.

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?

Usage is only implied by the phrase 'most recently captured' — an agent can infer this is the shortcut for the latest capture rather than browsing by ID. There is no explicit when-to-use/when-not guidance and no mention of the alternatives in the sibling list.

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