Skip to main content
Glama

EasyGerber: AI PCB design, layout, and routing

Save board to account

save_board_to_account
DestructiveIdempotent

Saves a private board into the connected EasyGerber account when the user asks to keep it there. Requires account authorization; an unauthenticated call requests sign-in. Supply the same boardRef. The board must have no layout running: wait for get_generation to finish, then retry. Saving copies the design and its layout into a personal account board and retires the anonymous access, which cannot be undone. The result is that account board, with a new id and revision to use from now on. Confirm the save with the returned board name and account url. Keep the same boardRef; after a save it works only while this account is connected. A board already in the account is returned unchanged.

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": {
      "boardRef": "<boardRef>"
    },
    "name": "save_board_to_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
boardRefYesPrivate board reference. For a new board generate 32 random bytes, encode as unpadded base64url, and prepend egbr1_. Keep this same value for creation retries and every later board operation. Copy returned references unchanged. Keep it in this conversation or supported private execution state; never put it in logs or source files. A private board link may carry it in its fragment.

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / data / properties / layout / properties / requestedRoutingEngine
      Added value: +{
      +  "description": "Release selected for the layout requested by this save.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / data / properties / layout / properties / routingEngine
      Added value: +{
      +  "description": "Recorded ID of the release that routed this saved layout.",
      +  "type": "string"
      +}
  2. Changed8 schema fields changed
    • addedOutput schema / properties / data / properties / layout / properties / upgradeAvailable
      Added value: +{
      +  "description": "True for a saved EGT-1 layout eligible for a requested EGT-2 reroute without a board edit. Read get_board for current eligibility. A replayed save receipt describes the original save or may omit the flag.",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / data / properties / placementIssueCount / description
      Previous value: -"Total misplaced reference labels when more than the listed issues remain. Read the new revision after fixing a batch."New value: +"Total silkscreen placement warnings when the result lists only the first warnings."
    • changedOutput schema / properties / data / properties / placementIssues / description
      Previous value: -"Authored reference labels that need attention on this saved revision. Use update_board with its boardRef, expectedRevision and a fresh requestId to apply a suggested side or exact position."New value: +"Nonblocking placement warnings for authored silkscreen on this revision. Report warnings to the user and edit placements only when asked."
    • removedOutput schema / properties / data / properties / placementIssues / items / additionalProperties
      Removed value: -false
    • addedOutput schema / properties / data / properties / placementIssues / items / oneOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "code": {
      +        "const": "label_placement",
      +        "type": "string"
      +      },
      +      "labelId": {
      +        "type": "string"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "path": {
      +        "type": "string"
      +      },
      +      "reason": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "code",
      +      "labelId",
      +      "path",
      +      "reason",
      +      "message"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "code": {
      +        "const": "designator_placement",
      +        "type": "string"
      +      },
      +      "labelId": {
      +        "type": "string"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "partId": {
      +        "type": "string"
      +      },
      +      "path": {
      +        "type": "string"
      +      },
      +      "reason": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "code",
      +      "labelId",
      +      "path",
      +      "reason",
      +      "message",
      +      "partId"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties / data / properties / placementIssues / items / properties
      Removed value: -{
      -  "code": {
      -    "const": "designator_placement",
      -    "type": "string"
      -  },
      -  "labelId": {
      -    "type": "string"
      -  },
      -  "message": {
      -    "type": "string"
      -  },
      -  "partId": {
      -    "type": "string"
      -  },
      -  "path": {
      -    "type": "string"
      -  },
      -  "reason": {
      -    "type": "string"
      -  },
      -  "suggestedPosition": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "x": {
      -        "type": "number"
      -      },
      -      "y": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "x",
      -      "y"
      -    ],
      -    "type": "object"
      -  },
      -  "suggestedSides": {
      -    "items": {
      -      "enum": [
      -        "above",
      -        "below",
      -        "left",
      -        "right",
      -        "above-left",
      -        "above-right",
      -        "below-left",
      -        "below-right",
      -        "left-top",
      -        "left-bottom",
      -        "right-top",
      -        "right-bottom"
      -      ],
      -      "type": "string"
      -    },
      -    "type": "array"
      -  }
      -}
    • removedOutput schema / properties / data / properties / placementIssues / items / required
      Removed value: -[
      -  "code",
      -  "partId",
      -  "labelId",
      -  "path",
      -  "reason",
      -  "message"
      -]
    • removedOutput schema / properties / data / properties / placementIssues / items / type
      Removed value: -"object"
  3. Changed1 schema field changed
    • addedOutput schema / properties / data / properties / restorableRevisions
      Added value: +{
      +  "description": "Earlier revisions update_board can return this board to with restoreRevision, newest first: the board as it was before each of its most recent edits. Empty when there is nothing to undo.",
      +  "items": {
      +    "exclusiveMinimum": 0,
      +    "maximum": 9007199254740991,
      +    "type": "integer"
      +  },
      +  "type": "array"
      +}
  4. Changed2 schema fields changed
    • addedOutput schema / properties / data / properties / placementIssueCount
      Added value: +{
      +  "description": "Total misplaced reference labels when more than the listed issues remain. Read the new revision after fixing a batch.",
      +  "exclusiveMinimum": 12,
      +  "maximum": 9007199254740991,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / data / properties / placementIssues
      Added value: +{
      +  "description": "Authored reference labels that need attention on this saved revision. Use update_board with its boardRef, expectedRevision and a fresh requestId to apply a suggested side or exact position.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "code": {
      +        "const": "designator_placement",
      +        "type": "string"
      +      },
      +      "labelId": {
      +        "type": "string"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "partId": {
      +        "type": "string"
      +      },
      +      "path": {
      +        "type": "string"
      +      },
      +      "reason": {
      +        "type": "string"
      +      },
      +      "suggestedPosition": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "x": {
      +            "type": "number"
      +          },
      +          "y": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "x",
      +          "y"
      +        ],
      +        "type": "object"
      +      },
      +      "suggestedSides": {
      +        "items": {
      +          "enum": [
      +            "above",
      +            "below",
      +            "left",
      +            "right",
      +            "above-left",
      +            "above-right",
      +            "below-left",
      +            "below-right",
      +            "left-top",
      +            "left-bottom",
      +            "right-top",
      +            "right-bottom"
      +          ],
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "code",
      +      "partId",
      +      "labelId",
      +      "path",
      +      "reason",
      +      "message"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 12,
      +  "type": "array"
      +}
  5. Changed1 schema field changed
    • addedOutput schema / properties / data / properties / validation / description
      Added value: +"Saved outcome of check_board_layout for the current layout. null: that layout has not been checked, or there is none; null is not a pass."
  6. Added

TDQS

A4.5/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: authorization is required and an unauthenticated call triggers a sign-in flow, anonymous access is retired irreversibly, the design plus its layout is copied, and a new id/revision is issued. The 'cannot be undone' note corroborates destructiveHint=true, and the unchanged-return case corroborates idempotentHint=true.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded and generally efficient, but the boardRef instruction is repeated ('Supply the same boardRef' early, then 'Keep the same boardRef' later), and the return-value sentence overlaps what the output schema already provides. Several sentences could be merged without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers everything needed to invoke correctly for a destructive, auth-gated promotion operation: trigger, auth requirement, race precondition with the named get_generation dependency, irreversibility, idempotent behavior, and reference continuity. Return-value detail exists in the output schema, so the description is not obligated to go further.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds lifecycle meaning the schema does not: supply the same boardRef, keep it after the save, and note that post-save it works only while this account is connected. That is real semantic value about a single opaque reference parameter.

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 (saves a private board into the connected EasyGerber account) plus the scope boundary that distinguishes it from create_board: the board already exists as an anonymous/private board and is being promoted into the account. An agent can identify the operation without opening the 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 trigger ('when the user asks to keep it there'), a hard precondition (board must have no layout running; wait for get_generation, then retry), and a no-op case (a board already in the account is returned unchanged). It stops short of naming an alternative sibling such as create_board or export_board, so a 4 rather than a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.