Skip to main content
Glama

Net flags, ports, labels, no-connects

sch_flag

Place schematic net flags, ports, labels, short-circuit markers, and no-connect symbols on pins with tidy stubs or at set coordinates to define nets and mark connection intent.

Instructions

Place symbols: kind power | ground | analogground | protectground (net flags), in | out | bi (net ports), label (net label stub), short (short-circuit flag), noconnect (X on a pin). Give pin (e.g. "U1.5") to attach with a tidy stub automatically, or x/y/rotation to place freely.

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": {
      "items": "<items>"
    },
    "name": "sch_flag"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/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 and largely drops it: it never states that this mutates the schematic, whether placement is undoable, or what happens if a flag is dropped on an occupied point or a nonexistent pin. The only behavioral hint is that pin-based placement auto-generates a stub, which is useful but thin for an unannotated write-style tool.

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?

Two dense sentences, front-loaded with the kind catalog and followed by the placement modes; almost no filler. The parenthetical kind groupings are compact and readable rather than padded.

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?

The tool takes a nested array of up to 200 objects with eight properties and no schema descriptions or output schema, so the description is the only documentation. It covers the item type and the two placement strategies adequately but omits the `net` binding, stub length semantics, and batching behavior.

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?

With 0% schema description coverage, the description must compensate, and it does so for `kind` (all ten enum values spelled out) and for the `pin` vs `x`/`y`/`rotation` split. However `net`, `stub`, and the fact that everything is wrapped in an `items` array are left unexplained, so meaningful gaps remain.

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?

"Place symbols" plus a full enumeration of the ten kinds (net flags, net ports, label, short, noconnect) makes the resource and action unmistakable and separates it from wire/place siblings by content. It stops short of naming an alternative tool, so an agent must infer that routing goes to sch_wire rather than being told.

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 description gives clear in-tool guidance on the two placement modes: "give `pin` ... to attach with a tidy stub automatically, or x/y/rotation to place freely." That is a genuine either/or decision rule, but there is no guidance on when to reach for sch_flag versus sch_wire, sch_place, or sch_annotate.

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