Skip to main content
Glama
kanishka-namdeo

electron-mcp-server

enable_debug

Enable debug mode with granular logging for the MCP server to capture selected categories and log levels in .electron-mcp/logs for troubleshooting.

Instructions

Enable debug mode with granular logging for the MCP server. Logs are stored in .electron-mcp/logs directory within the project.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
levelNoMinimum log level to capture
logToFileNoEnable file logging
categoriesNoLog categories to enable
logDirectoryNoCustom log directory path
logToConsoleNoEnable console logging

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.3

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the burden. It discloses where logs are stored, which is useful behavioral context, but doesn't state whether enabling debug is reversible, its performance impact, or permission requirements. It adds some value but leaves key traits undisclosed.

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?

Two concise sentences, front-loaded with the primary action. No wasted words, though it could be slightly more structured with usage context.

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

Completeness3/5

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

The description mentions where logs are stored but omits when to use this versus configure_debug, and does not address the effect of enabling debug. For a tool with 5 optional parameters and no annotations, more behavioral context is warranted.

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 parameters are fully documented in the schema. The description adds only that logs go to .electron-mcp/logs, which relates to the logDirectory parameter but doesn't clarify its semantics beyond the schema. Baseline 3 is appropriate.

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: enabling debug mode with granular logging for the MCP server. This distinguishes it from siblings like disable_debug and configure_debug, though it doesn't explicitly state those relationships.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives like configure_debug or get_debug_status. The agent is left to infer the context entirely.

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