Skip to main content
Glama

get_dom_capture_by_id

Fetches the full Markdown DOM/CSS/layout bug report for a specified capture ID, helping you review the exact browser layout issue and its details.

Instructions

Returns the full Markdown DOM/CSS/layout bug report for a specific capture ID from list_dom_captures.

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": {
      "id": "<id>"
    },
    "name": "get_dom_capture_by_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe capture ID (e.g., cap_...) returned by list_dom_captures

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 establish that this is a read returning the complete Markdown report rather than a summary, which matters because there is no output schema. It says nothing about behavior for an unknown/expired ID, whether the report can be very large or truncated, or any auth requirements.

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?

A single front-loaded sentence with no wasted words; the return type and the keying parameter both appear immediately.

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 one-parameter read tool with no output schema, telling the agent the result is the full Markdown bug report is the essential missing piece and it is supplied. Residual gaps (error behavior for bad IDs, payload size) are minor for a tool this simple.

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 coverage is 100% and the id property already documents the cap_... format and its origin in list_dom_captures. The description restates the same provenance but adds no additional syntax, constraints, or meaning beyond the schema, so baseline 3 applies.

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?

Names a specific verb and resource: returns a full Markdown DOM/CSS/layout bug report for a given capture ID. 'For a specific capture ID' implicitly contrasts with get_latest_dom_bug, though that sibling is never named, so sibling differentiation is left partly to inference.

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?

The phrase 'from list_dom_captures' tells the agent where to obtain the required ID, which is a useful prerequisite. However, there is no explicit statement of when to pick this over get_latest_dom_bug (the most recent capture) or when a capture would be absent.

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