Skip to main content
Glama
easyeda-mcp-pro
by oaslananka

Safely close EasyEDA project documents

easyeda_project_close
Destructive

Default refuses when dirty status is unknown. Explicit confirmed save-and-close requires a trusted native save; schematic pages with unverified durable persistence fail closed instead of risking data loss. Explicit discard is destructive.

Instructions

Default refuses when dirty status is unknown. Explicit confirmed save-and-close requires a trusted native save; schematic pages with unverified durable persistence fail closed instead of risking data loss. Explicit discard is destructive.

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": {
      "projectId": "<projectId>",
      "confirmWrite": "<confirmWrite>"
    },
    "name": "easyeda_project_close"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNorefuse_if_dirty
projectIdYes
confirmWriteYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.19.12

TDQS

A3.6/5.0
Behavior5/5

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

Beyond destructiveHint=true, the description discloses fail-closed semantics: the default refuses when dirty status is unknown, save-and-close requires a trusted native save, and schematic pages with unverified durable persistence fail closed rather than risk data loss. These are substantive preconditions and failure modes an agent cannot get from the annotations.

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?

Three dense sentences, with the default behavior front-loaded and no filler. The phrasing is compressed to the point of being clipped in places, but every sentence carries behavioral 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?

With an output schema present, return values need not be described, and the description covers the destructive/fail-closed behavior an agent needs for a mutation tool. The gap is the unaddressed projectId and confirmWrite semantics rather than any missing behavioral warning.

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 0%, so the description must carry the burden; it explains the meaning and preconditions of each mode enum value reasonably well. However, projectId is never explained and confirmWrite is only implied by 'Explicit confirmed', leaving two of three parameters undocumented.

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

Purpose3/5

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

The description never states the action directly ('close a project document'); the purpose is only inferable from phrases like 'save-and-close' and 'discard' plus the title. It distinguishes the three modes clearly, but an agent must reconstruct the verb+resource from context rather than reading it in the description.

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?

It implies usage for each mode: default refuse_if_dirty when dirtiness is unknown, explicit save-and-close when a trusted native save exists, explicit discard when data loss is acceptable. It does not route the agent to siblings such as easyeda_project_save or state when closing is preferred over leaving the project open.

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