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

Activate a document of the active project

easyeda_document_activate
Idempotent

Open and focus a schematic page or PCB by document UUID in the active project, then verify the focus by read-back. Changes only UI focus, never design data.

Instructions

Open if needed and focus one schematic page or PCB of the active project by document UUID, then verify the focus by read-back. Changes only UI focus, never design data.

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

Input Schema

NameRequiredDescriptionDefault
projectIdYes
documentIdYes

Output Schema

NameRequiredDescriptionDefault
typeNo
tabIdNo
statusYes
successYes
projectIdNo
documentIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.19.15

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true; the description adds real value beyond them by clarifying that only UI focus changes and no design data is touched, plus that the outcome is verified via read-back. The implicit side effect of possibly opening a closed document is disclosed via 'Open if needed'. Missing only failure behavior, e.g. what happens if the project isn't active.

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?

Two tight sentences with the action, the mechanism (UUID), the verification step, and the safety constraint, in that order. No filler or restated title verbiage.

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?

An output schema covers the read-back result and annotations cover the safety profile, so the description needn't explain return values. The remaining gap is the unexplained projectId and the absence of precondition/failure guidance, which is modest but real for a two-required-parameter tool.

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%, so the description carries the burden, but it only clarifies documentId ('document UUID', a schematic page or PCB) and says nothing about projectId. Worse, 'of the active project' creates a mild tension with a required projectId, leaving the agent to guess why it must supply one.

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 ('Open if needed and focus one schematic page or PCB') and scopes it to 'the active project', which separates it from project-level siblings like easyeda_project_open. It is slightly ambiguous about whether it opens documents or only activates them, but the target object and effect are clear.

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?

'Open if needed' implies the tool tolerates an unopened document, and 'of the active project' implies the project is already open, but neither is stated as a precondition or an exclusion. No explicit when-to-use/when-not guidance or named alternative is given.

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