Skip to main content
Glama

ARCNM Apply Adjustment

arcnm_apply_adjustment

Make a what-if stick: write moved factors into the calculation's costing environment the way the app's 'apply to this environment' dialog does. Read the factors with arcnm_cost_factors and try them with arcnm_preview_cost first. By default (apply=false) this PLANS only — it returns, per factor, the exact REST write it would make (endpoint, today's value, the new value) and refuses by name what it will not write — and changes nothing. Call again with apply=true to perform the writes. Rates (labour, overheads) and economics scalars are set; tuning factors are set per process; the material price is set for the calculation's grade; a base-seconds knob (setup base, programming base, an allowance) is TAUGHT — the what-if's before and after seconds become one calibration observation, which moves the environment's learned factor rather than pinning a value. A machine's own hourly rate, cutting data, the lot size, a scrap price and the tuning panel's own settings (the remnant value factor, the inspection times) are refused with the endpoint or tool that holds them. Every write changes the environment: the next calculation in it is re-priced and billed as usual. recalculate=true additionally starts a new calculation of this part on the changed environment (billable) — asked what this calculation was asked, its stock format included — and returns its id and what running it answered (recalculation_status). Needs parts:write.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
applyNo
adjustmentsYes
recalculateNo
calculation_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
writesYes
appliedYesFalse: nothing was written — the writes are a plan. True: each write's status says what happened.
refusedYes
guidanceYes
calculation_idYes
environment_idYes
recalculation_idNoThe calculation created on the changed environment, when recalculate=true. `recalculation_status` says whether it runs.
recalculation_statusNoWhat running the recalculation answered: `queued` (started), `succeeded` (served from an identical earlier run, not billed again), `blocked` (saved, not started — its coverage says why) or `failed` (the environment cannot price the part). Null when it was refused — the `recalculate` refusal says why.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources