Skip to main content
Glama

clear_dom_captures

Removes all stored EyeDOM capture history from memory and ~/.eyedom/, resetting saved DOM/CSS capture data for new debugging sessions.

Instructions

Clears all stored EyeDOM capture history from memory and ~/.eyedom/.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden, and it does convey the critical facts: the operation wipes ALL captures, and it affects both in-memory state and the on-disk directory ~/.eyedom/. However, it does not state irreversibility, whether the directory itself or other files under it are removed, or what the call returns.

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?

One sentence, no filler, with the destructive action and the affected scope front-loaded. Nothing could be trimmed without losing information.

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 zero-parameter, no-output-schema maintenance tool the description covers what matters: what is destroyed and where. Minor residual gaps (irreversibility, return value, whether sibling data such as the latest bug reference is also cleared) keep it from a 5.

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; the baseline of 4 applies. The mention of memory and ~/.eyedom/ at least clarifies the fixed scope of the operation.

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?

The description gives a specific verb ('Clears') and a precisely bounded resource ('all stored EyeDOM capture history'), plus the two storage locations affected (memory and ~/.eyedom/). It is easy to tell apart from the read-only siblings (list_dom_captures, get_dom_capture_by_id, get_latest_dom_bug), though it never names them explicitly.

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: the agent can infer this is the tool for purging capture history entirely. There is no explicit statement of when to prefer it, no warning about when not to call it (e.g. when the user only wants one capture removed), and no reference to alternatives.

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