MCP tools reference¶
Generated from the two servers' registries at build time. ? marks an optional argument.
Product (85 tools)¶
The MES as tools. Everything goes through a plant's HTTP API as the AGENT role; writes accept dry_run, on_behalf_of and client_ref (see the write discipline).
add_bom_component— Put a component on a material's bill, with the operation it
no argumentsadd_calendar_exception— A shutdown day (capacity removed) or an overtime day (capacity
no argumentsadd_person— Add a person without a sign-in (create_user makes an account).
no argumentsadd_shift— Add a shift pattern: starts/ends as HH:MM, days as seven 1/0 flags
no argumentsadjustment— One recommendation in full, including the verification: the
no argumentsadjustments— The recommendation queue: proposed, approved (waiting for the agent
no argumentsassign_role— Put a person into a role. Effective on their very next action, because
no argumentsaudit— The append-only audit trail, newest first - humans and agents in the
no argumentsbill_of_material— What a material is made of: each component, its quantity per unit,
no argumentsbook_output— Book output by hand: good and scrap counts made on a machine, against
no argumentsbrowse_tags— Every tag on every machine, flat, with a health line per machine
no argumentscalibrate_gauge— Record a calibration: pass, adjusted, or fail_as_found. A failure
no argumentscapabilities— Every capability a role can grant, and what each one means.
no argumentscertificate— The certificate for an order - the revision in force as Markdown,
no argumentscertificates— Every certificate of analysis in force, newest first.
no argumentsclose_nonconformance— Close a non-conformance - a supervisor action, audited as AGENT.
no argumentscreate_document— Create a controlled document as a draft (documents.write). It is not
no argumentscreate_equipment— Add a node to the equipment tree: level is enterprise, site, area,
no argumentscreate_maintenance_plan— Define a preventive plan on a machine. trigger is runtime_hours,
no argumentscreate_material— Add a material: raw, intermediate or finished.
no argumentscreate_order— Create a work order (and by default release it to the floor).
no argumentscreate_role— Define a role as a bundle of capabilities.
no argumentscreate_routing— Define a routing: operations as
no argumentscreate_spec— Define a quality specification: a characteristic on a material with
no argumentscreate_user— Create a sign-in account in a role.
no argumentsdowntime— Downtime pareto over the window: which reasons cost what, and how much
no argumentsdraft_instruction— Draft a work instruction. It arrives unapproved.
no argumentsdraft_trigger— Draft a trigger: whentagonmachine(or any machine) meets
no argumentsequipment_tree— The plant as a tree - site, lines, cells, machines - with the cost
no argumentserp_outbox— The ERP interface's queue: counts by status (pending, sent, error,
no argumentserp_retry— Put a dead or failing outbox message back in the queue. Needs
no argumentsgauge_impact— Every measurement taken with this gauge since its last calibration,
no argumentsgauge_resolution— Can this gauge judge this tolerance? The rule of ten: resolution
no argumentsgauges— The gauge register: every measuring instrument with its status,
no argumentsinstruction— One instruction in full. Ask for a revision to read what it said then.
no argumentsinstructions— Every controlled work instruction, and which revision is in force.
no argumentsinstructions_for— The approved instructions covering a piece of work.
no argumentsissue_certificate— Issue or reissue the certificate for a completed order. Reissuing
no argumentsissue_material— Issue material from a lot to an order - the consumption side of
no argumentsissue_pallet_certificate— Issue a pallet's certificate of analysis - a supervisor's act
no argumentsline_wip— Work in progress at each station of a line, summed over the orders
no argumentslist_plants— The plants this server can operate, with reachability.
no argumentslots— Material lots and how much of each remains.
no argumentsmachine— One machine's head facts: where it sits, its cost center, its state
no argumentsmachine_alarms— Active alarm bits, by name, on one machine or on every machine.
no argumentsmachine_tags— Every tag the machine publishes with its latest value and age:
no argumentsmachines— Every machine: current state, current order, its analog value, and OEE.
no argumentsmaintenance_due— Plans that have come due (and those past 80%, due soon), worst
no argumentsmaintenance_plans— Every preventive plan with how far through its interval it is.
no argumentsmaintenance_work— Maintenance orders, newest first: due, in progress, or done, with
no argumentsmaterials— Every material with its unit and type (raw, intermediate, finished);
no argumentsorder_action— release, hold, resume, close, or cancel an order.
no argumentsorder_detail— One order: route progress per operation, plus its genealogy -
no argumentsorder_promise— When the plan says this order finishes, and whether that misses
no argumentsorders— Work orders, newest first, one page at a time.
no argumentspack_unit— Put one unit inside another: bottle into case, case onto pallet.
no argumentspallet_certificate— A pallet's certificate of analysis: the Cpk of every dimensional
no argumentspeople— Everyone the plant knows, with their role - or, withq(a code
no argumentsperform_maintenance— start or complete a maintenance order. Completing re-baselines its
no argumentsplan_all_orders— Schedule every open order, highest priority first.
no argumentsplan_order— Schedule one order's operations in route sequence through working
no argumentsplant_calendar— When the plant runs: shift patterns (with the days they run and
no argumentsproduce_batch— Bring a batch of identified units into existence in one call, packed:
no argumentsproduce_units— Bring identified units into existence for a material, optionally
no argumentspropose_adjustment— Recommend a setpoint change on a machine. The tag must be one the
no argumentsquality— The quality picture: specs, recent checks with pass/fail, and open
no argumentsraise_corrective_maintenance— Raise corrective work on a machine because something broke, with
no argumentsraise_due_maintenance— Turn every due plan into a maintenance order, once - a plan with
no argumentsrecord_check— Record a quality measurement. Out-of-spec values automatically open a
no argumentsregister_gauge— Add a gauge to the register (master data - refused unless an admin
no argumentsroles— Roles defined in this plant, with the capabilities each grants.
no argumentsroutings— Every routing: the ordered operations and the machine each runs on.
no argumentsschedule_board— The schedule machine by machine over the nexthours: production
no argumentsset_machine_state— Set a machine's state (running/idle/down/setup...). Labelling downtime
no argumentsset_unit_status— Quarantine, release or scrap a unit and, by default, everything
no argumentsspc_chart— The individuals control chart for one characteristic: control
no argumentstag_trend— A machine's process value over time - the signal that drifts before a
no argumentstrigger_catalog— The actions a trigger may take (log_event, open_nc,
no argumentstrigger_firings— What fired: for one trigger, or every firing in the lasthours,
no argumentstriggers— Every trigger with its condition, action, status (draft, approved,
no argumentsunit— One identified unit and everything packed inside it, as a tree:
no argumentsunit_trace— What went into this unit and everything inside it: every lot, and
no argumentsupdate_role— Change what a role grants. Effective on everyone's next action.
no argumentsusers— Accounts, their role, and what that role lets them do.
no argumentswhere_used— Every package carrying a lot - the recall question, answered as
no arguments
Simulation (13 tools)¶
The simulator and scoring harness as tools, for driving and judging fake plants. Not for a real one.
compare_runs— Put recorded scorecards side by side, and say what differs.
no argumentsdescribe_line— What a plant's line is and what the simulator does to it.
no argumentsingest_dataset— Profile a CSV of real records so a scenario can be built from its shape.
no argumentsjob_status— How a scored run or sweep is getting on, and its result once finished.
no argumentslist_datasets— Datasets ingested so far.
no argumentslist_jobs— Jobs started this session. Restarting the server forgets them; finished
no argumentslist_knobs— What a sweep is allowed to vary, and why only these.
no argumentslist_plants— The simulated plants available, and whether each can be scored.
no argumentsmetric_trend— One metric across past runs, oldest first.
no argumentsrecent_runs— Scored runs already recorded, newest first.
no argumentsrun_scorecard— The full scorecard for one recorded run.
no argumentsscore_plant— Run a plant through its scripted hour and score what it reported.
no argumentssweep_plant— Vary a line, score every variant, and compare the results.
no arguments