Authoring test specs with the ATE MCP
This skill produces the test spec. It does not build the sequence: that is
ts-seq-authoring (ts-cli), and the instrument calls inside the steps are the
hal skill. Here you only learn how to turn a schematic into a spec an
engineer can review.
Scope
You can read the ATE knowledge base and write a test spec from a
schematic. You cannot change anything, cannot run tests and cannot create
TestStand sequences.
A good result: the DUT, the methods that apply, the instruments required, the
connections and the measures — with no invented data and no limits.
Prerequisites
- The B101 ATE Framework services are running with a valid license.
- The
ate-mcp server is configured in your client and lists its tools.
- The Bridge exposes a read-only surface; every call below is a query.
If the tools are not listed, stop and report; do not fall back to guessing.
The MCP surface
Resources (read directly):
| Resource |
What it is |
ate://station/pinout |
Physical pinout of the station: signals, connectors, pins |
ate://parts/{id} |
A component or assembly: family, MPN, pins |
ate://test-methods/{id} |
A full method: roles, connections, steps, parameters |
ate://products/{id} |
A product and the methods planned for it |
Tools (call these):
| Tool |
What it returns |
find_part |
Parts matching mpn, manufacturer or family |
get_part |
One part plus its pins |
resolve_methods |
Methods that apply to a part or a family |
get_method |
Roles, connections, steps and parameters of a method |
get_step_rule |
How an action maps to a TestStand step type |
get_station_pinout |
Station signals with connector and pin |
get_limits |
Limits that already exist for a product/variant/parameter |
Tools never mutate. Names and ids you did not get from a tool response do not
exist; never invent them.
Workflow: schematic -> test spec
- Read the schematic. List the parts with their reference designators,
values and packages. Identify the DUT: the assembly being tested or the
component under review.
- Resolve the DUT in the catalog.
find_part by MPN, then get_part.
If it is not there, report the MPN and refdes and stop; do not invent a part.
- Find the methods.
resolve_methods for the part, then for the family.
Prefer approved methods; if only a draft exists, say so and ask.
- Read the method.
get_method gives the instrument roles, the DUT
connections, the steps and the parameter names with units.
- Check the station.
get_station_pinout to confirm each connection can be
made on this station. Report any role or pin the station cannot provide.
- Write the spec in the format below, using only the methods, pins and
parameters the tools returned. Leave limits out.
- Report: DUT and revision, methods used (with ids), anything missing or
mismatched, and what an engineer still has to decide.
Test spec format
# Test spec — <DUT> rev <rev>
## DUT
- Part: <manufacturer> <mpn> (id <partId>)
- Family: <family>
- Methods: <method names and ids>
## Instruments
| Alias | Role | Requirements |
|---|---|---|
| VIN | psu | <from the method> |
| VOUT | dmm | <from the method> |
## Connections
| DUT pin | Alias | Kind |
|---|---|---|
| VIN | VIN | source |
| GND | GND | ground |
| OUT | VOUT | measure |
## Measures
| # | Action | Target | Parameter | Condition | Unit |
|---|---|---|---|---|---|
| 1 | set | VIN | — | 5 V | V |
| 2 | delay | — | — | 50 ms | — |
| 3 | measure | VOUT | Vout | Vin=5 V, Iload=100 mA | V |
## Limits
Resolved from the variant store at runtime. Do not fill values here.
Rules
- Never write a limit, a nominal value or a pass/fail threshold. Limits live in
the variant store; the spec only names the parameter.
- Never invent a measurement, a pin, an instrument or a method. If the catalog
or the station does not have it, report the gap.
- Use the DUT pin names exactly as the catalog and the schematic use them.
- One measurable per row; keep the method's step order.
- When the schematic and the catalog disagree, the schematic defines the DUT and
the catalog defines the method; report the mismatch instead of choosing
silently.
- Read-only: never claim to have changed anything in the framework.
Hand-off
The spec is the input for the next two skills:
ts-seq-authoring — creates the .seq with ts-cli, one measure per step, and
the limits linked to the variant store.
hal — builds the instrument calls inside the steps, from the method's roles
and connections.
get_step_rule names the TestStand step type for each action; use it in the
hand-off, but do not build the sequence yourself.
Troubleshooting
- No MCP tools listed — the
ate-mcp server is not configured; stop.
part not found — report MPN and refdes; do not guess a match.
- No method for the family — report it; the library has a gap.
- Only a draft method — ask before using it.
- A role the station cannot map — report it; the binding is an engineer decision.
Known gaps (v0)
- Read-only: no limits, no variant edits, no catalog edits.
- No TestStand sequence creation; that is
ts-seq-authoring.
- No internal netlist of an assembly; only the catalog pins.
- No multi-DUT or panel test flows.
1---2name: test-spec-authoring3description: Turn a schematic or a bill of materials into a test spec using the ATE MCP: component test methods, required instruments, DUT connections, measurable parameters and station pinout. Use when given a schematic or asked to create a test spec for a component or an electronic assembly. Read-only: it does not create TestStand sequences, edit limits or run tests. Pairs with the ts-seq-authoring and hal skills, which take the spec into a sequence.4---56# Authoring test specs with the ATE MCP78This skill produces the **test spec**. It does not build the sequence: that is9`ts-seq-authoring` (`ts-cli`), and the instrument calls inside the steps are the10`hal` skill. Here you only learn how to turn a schematic into a spec an11engineer can review.1213## Scope1415You can **read** the ATE knowledge base and write a **test spec** from a16schematic. You cannot change anything, cannot run tests and cannot create17TestStand sequences.1819A good result: the DUT, the methods that apply, the instruments required, the20connections and the measures — with no invented data and no limits.2122## Prerequisites23241. The B101 ATE Framework services are running with a valid license.252. The `ate-mcp` server is configured in your client and lists its tools.263. The Bridge exposes a read-only surface; every call below is a query.2728If the tools are not listed, stop and report; do not fall back to guessing.2930## The MCP surface3132Resources (read directly):3334| Resource | What it is |35|---|---|36| `ate://station/pinout` | Physical pinout of the station: signals, connectors, pins |37| `ate://parts/{id}` | A component or assembly: family, MPN, pins |38| `ate://test-methods/{id}` | A full method: roles, connections, steps, parameters |39| `ate://products/{id}` | A product and the methods planned for it |4041Tools (call these):4243| Tool | What it returns |44|---|---|45| `find_part` | Parts matching `mpn`, `manufacturer` or `family` |46| `get_part` | One part plus its pins |47| `resolve_methods` | Methods that apply to a part or a family |48| `get_method` | Roles, connections, steps and parameters of a method |49| `get_step_rule` | How an action maps to a TestStand step type |50| `get_station_pinout` | Station signals with connector and pin |51| `get_limits` | Limits that already exist for a product/variant/parameter |5253Tools never mutate. Names and ids you did not get from a tool response do not54exist; never invent them.5556## Workflow: schematic -> test spec57581. **Read the schematic.** List the parts with their reference designators,59 values and packages. Identify the DUT: the assembly being tested or the60 component under review.612. **Resolve the DUT in the catalog.** `find_part` by MPN, then `get_part`.62 If it is not there, report the MPN and refdes and stop; do not invent a part.633. **Find the methods.** `resolve_methods` for the part, then for the family.64 Prefer `approved` methods; if only a `draft` exists, say so and ask.654. **Read the method.** `get_method` gives the instrument roles, the DUT66 connections, the steps and the parameter names with units.675. **Check the station.** `get_station_pinout` to confirm each connection can be68 made on this station. Report any role or pin the station cannot provide.696. **Write the spec** in the format below, using only the methods, pins and70 parameters the tools returned. Leave limits out.717. **Report**: DUT and revision, methods used (with ids), anything missing or72 mismatched, and what an engineer still has to decide.7374## Test spec format7576 # Test spec — <DUT> rev <rev>7778 ## DUT79 - Part: <manufacturer> <mpn> (id <partId>)80 - Family: <family>81 - Methods: <method names and ids>8283 ## Instruments84 | Alias | Role | Requirements |85 |---|---|---|86 | VIN | psu | <from the method> |87 | VOUT | dmm | <from the method> |8889 ## Connections90 | DUT pin | Alias | Kind |91 |---|---|---|92 | VIN | VIN | source |93 | GND | GND | ground |94 | OUT | VOUT | measure |9596 ## Measures97 | # | Action | Target | Parameter | Condition | Unit |98 |---|---|---|---|---|---|99 | 1 | set | VIN | — | 5 V | V |100 | 2 | delay | — | — | 50 ms | — |101 | 3 | measure | VOUT | Vout | Vin=5 V, Iload=100 mA | V |102103 ## Limits104 Resolved from the variant store at runtime. Do not fill values here.105106## Rules107108- Never write a limit, a nominal value or a pass/fail threshold. Limits live in109 the variant store; the spec only names the parameter.110- Never invent a measurement, a pin, an instrument or a method. If the catalog111 or the station does not have it, report the gap.112- Use the DUT pin names exactly as the catalog and the schematic use them.113- One measurable per row; keep the method's step order.114- When the schematic and the catalog disagree, the schematic defines the DUT and115 the catalog defines the method; report the mismatch instead of choosing116 silently.117- Read-only: never claim to have changed anything in the framework.118119## Hand-off120121The spec is the input for the next two skills:122123- `ts-seq-authoring` — creates the `.seq` with `ts-cli`, one measure per step, and124 the limits linked to the variant store.125- `hal` — builds the instrument calls inside the steps, from the method's roles126 and connections.127128`get_step_rule` names the TestStand step type for each action; use it in the129hand-off, but do not build the sequence yourself.130131## Troubleshooting132133- No MCP tools listed — the `ate-mcp` server is not configured; stop.134- `part not found` — report MPN and refdes; do not guess a match.135- No method for the family — report it; the library has a gap.136- Only a draft method — ask before using it.137- A role the station cannot map — report it; the binding is an engineer decision.138139## Known gaps (v0)140141- Read-only: no limits, no variant edits, no catalog edits.142- No TestStand sequence creation; that is `ts-seq-authoring`.143- No internal netlist of an assembly; only the catalog pins.144- No multi-DUT or panel test flows.