Skip to main content
Glama

Draw schematic wires (raw)

sch_wire

Draws explicit orthogonal wires as polylines and optionally labels them as nets, giving precise manual control when automatic schematic routing is not suitable.

Instructions

Draw explicit orthogonal wires as polylines [[x,y],…]. Optional net name turns the wire into a labelled net (EasyEDA shows the name). Prefer sch_connect, which routes automatically.

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": {
      "wires": "<wires>"
    },
    "name": "sch_wire"
  }
}

Input Schema

NameRequiredDescriptionDefault
wiresYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses that a net name makes the wire a labelled net visible in EasyEDA, and that geometry is drawn as explicit orthogonal polylines. It does not cover whether drawing overwrites or merges with existing wires, validation/error behavior for malformed or overlapping polylines, or what a call returns — meaningful gaps for a mutation tool with zero annotation coverage.

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 short sentences with zero waste: the format and net-labeling behavior come first, and the sibling preference is stated last. Every clause earns its place and nothing is repeated from the title.

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?

For a simple single-parameter drawing tool with no output schema and no annotations, the description covers the essential call contract: geometry format, net-labeling effect, and the preferred alternative. It is nearly complete, missing only validation/overlap behavior and the implicit cardinality limits already present in the schema.

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 compensate. It explains the point format ([[x,y],…]) and the meaning of the optional net name, which is real added value. However, it does not describe the outer object structure (each wire entry has 'points' and optional 'net'), nor the schema's cardinality limits (1–300 wires, at least 2 points per wire), leaving part of the single top-level parameter undocumented.

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?

States a specific verb and resource ('Draw explicit orthogonal wires') plus the exact data format ('as polylines [[x,y],…]'), and explicitly contrasts itself with the sibling sch_connect. An agent can distinguish this raw-geometry tool from the auto-routing one without opening either schema.

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

Usage Guidelines4/5

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

Gives an explicit preference rule: 'Prefer sch_connect, which routes automatically,' which effectively tells the agent when not to use this tool. It stops short of stating the positive condition for choosing raw polylines (e.g., when exact geometry or pre-computed routing is required), so the guidance is clear but not fully two-sided.

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