Skip to main content
Glama

Check pick-and-place and BOM files against the board

datasheetvend_check_assembly_files
Read-onlyIdempotent

Compare the files an assembler receives with the KiCad board they were exported from: every placed surface-mount part is in the position file and the reverse, no reference twice, do-not-populate respected, side, units (mm or inch, found from the board), position (after finding the one origin offset and Y direction the file shares, and whether bottom-side X was negated), rotation on both sides against what KiCad itself writes, whether parts of one footprint carry one rotation correction, and BOM coverage in both directions. With assembler 'jlcpcb' it also checks JLCPCB's documented columns, millimetres and Layer values, and the bottom-side form the open-source KiCad-to-JLCPCB exporters write (X not negated, rotation 180 minus the board's); JLCPCB does not document its bottom side, so those checks are marked certainty 'likely' with their basis. It canNOT verify pin-1 orientation on the assembler's machine (that depends on each part's orientation in its reel, which no public source gives) and applies NO rotation table; a corrected rotation is reported, not judged. Every check states its basis and certainty. Free with a DatasheetVend API key (no credits), no model call, reads no account data, stores nothing.

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": {
      "kicad_pcb": "<kicad_pcb>",
      "position_csv": "<position_csv>"
    },
    "name": "datasheetvend_check_assembly_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
bom_csvNoThe BOM as CSV with a column of references.
assemblerNoAlso hold the position file against this assembler's documented format and the bottom-side form its exporters write.
kicad_pcbYesThe whole .kicad_pcb file as text.
position_csvYesThe position (pick-and-place) file as CSV: KiCad's Ref,Val,Package,PosX,PosY,Rot,Side or an assembler's Designator,Mid X,Mid Y,Layer,Rotation.
position_tolerance_mmNoDefault 0.05.
rotation_tolerance_degNoDefault 0.5.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, yet the description goes further: it reports basis and certainty for every check, flags JLCPCB bottom-side checks as 'likely', and discloses cost/auth behavior ('free with a DatasheetVend API key, no credits, no model call, reads no account data, stores nothing'). The explicit statement of what it cannot verify (pin-1 orientation, rotation table) is exactly the kind of negative capability disclosure annotations do not carry.

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?

Purpose is front-loaded in the first clause, but the body is a single dense run-on paragraph with a long list of checks and nested parentheticals ('after finding the one origin offset and Y direction the file shares, and whether bottom-side X was negated'). The content mostly earns its place, but bulleted structure or shorter sentences would make it far easier to parse.

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 complex 6-parameter verification tool with no output schema, the description covers what is checked, the certainty/basis reporting model, assembler-specific behavior, and hard limits. The remaining gap is the shape of the result (how per-check findings are reported), which the presence of a certainty field only partially implies.

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 meaning beyond the schema: it explains that units are inferred from the board, that a single origin offset and Y direction are discovered, and what the 'assembler' enum actually changes (documented columns, millimetres, Layer values, exporter-specific bottom-side form). Tolerances are left to the schema, which is acceptable given full coverage.

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?

The opening sentence gives a specific verb and resource: 'Compare the files an assembler receives with the KiCad board they were exported from,' then enumerates the concrete checks (position coverage, duplicate refs, DNP, side, units, origin offset, rotation, BOM coverage). This is far more precise than any sibling whose name suggests board or bundle inspection, so an agent can tell which tool verifies assembly output files.

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 use case is strongly implied (verifying an exported position/BOM file before sending to an assembler), and the 'jlcpcb' assembler option is described. However, there is no explicit 'use this instead of X' statement or when-not guidance, and the exclusion notes (no pin-1 verification, no rotation table) are stated as limitations rather than as routing rules.

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.

Resources