Skip to main content
Glama

electron_healer_debug_test

Run a single Electron test in debug mode with verbose logging to diagnose failures and trace root causes quickly.

Instructions

Run a specific test in debug mode with enhanced logging to diagnose failures.

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": {
      "testPath": "<testPath>",
      "testName": "<testName>",
      "framework": "<framework>",
      "verbose": "<verbose>"
    },
    "name": "electron_healer_debug_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
verboseYes
testNameYesName of the specific test to debug
testPathYesPath to the test file
frameworkYeswebdriverio
configPathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It discloses that debug mode adds enhanced logging, which is useful, but it says nothing about where logs go, whether the run blocks, what happens on failure (throw vs. report), or whether any files are modified — critical for a tool an agent may invoke to reproduce a bug.

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 with zero filler. It is tight, though its brevity is under-specification rather than deliberate economy.

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

Completeness2/5

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

For a five-parameter tool with no annotations and no output schema, the description is far too thin: it omits the undocumented parameters and gives no idea of what the debug run returns or produces. An agent cannot confidently construct a call or interpret results from this alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Only 40% of the five parameters are documented in the schema, and the description adds no parameter meaning at all. It does not explain configPath, the framework enum choice, or why verbose is required with a default of true, leaving two parameters effectively undocumented.

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 has a specific verb and resource ('Run a specific test in debug mode') and states a goal ('diagnose failures'), which distinguishes it from electron_healer_run_tests by scope. It never names a sibling explicitly, so an agent must infer the distinction from the singular 'specific test' phrasing.

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?

'to diagnose failures' implies the when-to-use context, but there is no explicit guidance on when to pick this over electron_healer_run_tests or electron_healer_fix_test, and no prerequisites or exclusions are given. Usage is left to inference.

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