Skip to main content
Glama
sheares

easyeda-mcp-fix

by sheares

bridge_restart

Destructive

Restart the EasyEDA bridge daemon to load changed daemon code without manually killing the process; not for extension reloads.

Instructions

Restart the EasyEDA bridge daemon. Use this only after the bridge-daemon code itself has changed (new tools, fixed handler logic, etc.) and you want the new code loaded without manually killing the process.

DO NOT use this just because the EasyEDA browser extension was reloaded — the extension reconnects to the existing daemon over WebSocket on its own. The daemon doesn't need restarting for that.

SIDE EFFECTS — please be aware before invoking:

  • Every other Claude Code session sharing this daemon also loses its connection mid-flight. Any tool call in progress (in any session) will fail with a connection-dropped error.

  • The EasyEDA extension's WebSocket drops and reconnects (typically within a second, capped at 15s). Tool calls landing during that window will fail.

  • Your own MCP proxy reconnects transparently and re-lists tools, so the next call after this one will Just Work — but the call itself returns before the new daemon is necessarily up.

Returns { ok, pidWas, message } before the daemon exits (~100ms grace for response to flush).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonNoFree-text reason logged on the daemon side (e.g. "loaded new SI export tools").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.5

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only flag destructiveHint/openWorldHint/idempotentHint; the description goes far beyond, disclosing that other Claude Code sessions lose their connection, in-flight calls fail, the extension WebSocket drops with reconnect timing (typically <1s, capped 15s), the proxy reconnects transparently, and the call returns before the new daemon is necessarily up.

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?

Front-loads the action, then usage rules, then a bulleted side-effects block, then the return contract. Every sentence carries decision-relevant information; nothing is padding despite the length.

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

Completeness5/5

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

For a destructive, cross-session-affecting operation with no output schema, the description supplies the missing return contract ({ ok, pidWas, message }, ~100ms flush window) and full blast-radius disclosure. An agent has everything needed to decide and invoke correctly.

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?

There is one optional 'reason' parameter and schema description coverage is 100%, so the schema already documents it fully; the description adds no syntax or format detail for it. Baseline 3 applies when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource: 'Restart the EasyEDA bridge daemon.' This is unmistakably distinct from every sibling (all pcb_/sch_/lib_/document_ operations), so an agent can identify it without opening the schema.

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

Usage Guidelines5/5

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

States the precise trigger ('only after the bridge-daemon code itself has changed... new code loaded without manually killing the process') and an explicit exclusion ('DO NOT use this just because the EasyEDA browser extension was reloaded'), explaining why the extension reconnects on its own.

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

Deploy Server

Other Tools