Get Calculation
get_calculationRead one calculation: its status, its inputs and, once it has succeeded, its costed result. Use it to follow a calculation that upload_and_quote or quote_part started until its status is final: succeeded, failed, cancelled, timed_out or blocked (held for quota or billing). Until then it is queued, running or polling (an assembly waiting for its components): check again every few seconds. Returns the status, part revision, costing environment, lot size, material and the result, with its analytics: cost decomposition, price band, material, assumptions, process plan and review. Its bulk is left out, named in analytics_omitted: lot-size curve (optimize_lot_size), cost sheet (get_cost_breakdown), time breakdown (get_process_plan), cost drivers (explain_cost ranks them), assembly BOM rows; include_analytics=true returns it all. For what it costs and why, use explain_cost. Read-only and free.
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": {
"calculation_id": "<calculation_id>"
},
"name": "get_calculation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| calculation_id | Yes | Id of a calculation, as upload_and_quote, quote_part or list_calculations return it. | |
| include_analytics | No | Whether to include the `analytics` object (the cost breakdown and audit detail, often over 100 kB in full). Omitted: the whole object for the app and the REST API; for an MCP agent, the object without its bulk — the lot-size curve, the cost sheet (the `get_cost_breakdown` tool), the time breakdown, the cost drivers and an assembly's BOM rows (the `calculations_get_calculation_bom` tool (toolset `calculations`)), named in `analytics_omitted`. Pass true for the whole object anywhere, false to leave it out. |