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

Begin project transaction

easyeda_project_begin_transaction

Reserves a document write lock for snapshot-backed schematic writes, returning a transaction ID so authorized edits can be grouped and captured; standalone writes remain unaffected.

Instructions

Reserve one document write lock for snapshot-backed schematic writes. Only tools with transactionId participate; standalone schematic writes are not auto-captured. Requires project-write authorization but does not change EasyEDA.

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>"
    },
    "name": "easyeda_project_begin_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNo
projectIdYes
ttlSecondsNo
maxOperationsNo

Output Schema

NameRequiredDescriptionDefault
errorNo
detailsNo
successYes
error_codeNo
transactionNo
failed_operation_idsNo
restored_operation_idsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.19.2
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedOutput schema / properties / transaction / properties / operations / items / properties / target_type / const
      Removed value: -"schematic-primitive"
    • addedOutput schema / properties / transaction / properties / operations / items / properties / target_type / enum
      Added value: +[
      +  "schematic-primitive",
      +  "pcb-primitive"
      +]
  2. Addedv0.19.1

TDQS

B3.4/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=false, destructiveHint=false), the description discloses that this acquires a write lock, requires project-write authorization, and does not itself modify the EasyEDA design. That last point is valuable: it tells the agent the call is a state/reservation operation, not a design mutation, which reconciles with destructiveHint=false. It omits lock-contention behavior and what happens when the lock expires, which keeps it from a 5.

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 short sentences, front-loaded with the core action, then the scope boundary, then the authorization/behavioral note. No filler or repetition. Slightly dense jargon ('snapshot-backed', 'transactionId') but each sentence carries distinct information.

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?

An output schema exists, so return values need no explanation, and the safety profile is covered by annotations plus the 'does not change EasyEDA' note. What is missing is lifecycle context for a stateful lock tool: the relationship to commit/rollback, and the meaning of the ttl and operation-budget parameters. Adequate to call it, not quite adequate to use it correctly in a multi-step workflow.

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?

Schema description coverage is 0% across four parameters, so the description carries the full burden of explaining them, and it explains none. The meanings of label, ttlSeconds, and maxOperations (and the fact that exceeding maxOperations presumably ends or fails the transaction) are left entirely undocumented. Only projectId is indirectly implied by the phrase 'snapshot-backed schematic writes'.

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 and resource: 'Reserve one document write lock for snapshot-backed schematic writes.' It also scopes what the lock covers by noting that only tools with a transactionId participate and standalone writes are not auto-captured. It stops short of naming the commit/rollback siblings that complete the lifecycle, so an agent must infer the pairing from names alone.

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?

The participation rule ('Only tools with transactionId participate; standalone schematic writes are not auto-captured') tells the agent the precondition for using it, which is real guidance. However, it never states the expected sequence (begin, then perform writes, then commit or rollback), nor when an agent should skip a transaction entirely for a single small edit. Usage is implied rather than prescribed.

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