Optimize Sensitivity
optimize_sensitivityQuantifies how input uncertainty affects arithmetic model outputs using local Richardson sensitivity, correlated GUM uncertainty, Monte Carlo, or Sobol indices.
Instructions
Local Richardson sensitivity, correlated GUM uncertainty, distribution Monte Carlo or independent-input Saltelli/Jansen Sobol indices. Grammar: numbers, names, + - * / ^ (**), parentheses, whitelisted math calls; no comparisons inside expressions. Variables are plain numbers in the units you choose; the tool does not track units inside expressions.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "optimize_sensitivity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Deterministic random seed, e.g. 0; integer 0..4294967295, echoed in the result. | |
| method | No | gum, monte_carlo, or sobol, e.g. 'gum'; Sobol requires independent marginals and reports unclipped sampling estimates. | gum |
| nominal | No | At most 16 nominal records, e.g. 'x=2;y=3'. Names define expression variables. | |
| samples | No | Monte Carlo rows 100..200000; Sobol base rows 100..200000, total evaluations also capped at 200000. | |
| expression | No | Scalar arithmetic model, e.g. 'x*y'; '' means missing. | |
| time_limit | No | Wall-clock budget with time units, e.g. '10 s'; supported 0.001..60 s, shared by all solver stages. | 10 s |
| correlation | No | JSON symmetric positive-semidefinite correlation matrix in nominal name order; blank means independent. | |
| second_order | No | Include Hessian second-order Gaussian mean/variance corrections; these are local approximations. | |
| distributions | No | Normal/uniform/triangular/lognormal marginals, e.g. x,normal,2,0.1 or {"x":["normal",2,0.1]}; '' uses nominal normals. | |
| standard_uncertainties | No | Nonnegative standard uncertainties as name=value records; omitted names default to zero, e.g. 'x=0.1;y=0.2'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | Non-quantity payload (reports, listings) | |
| error | No | ||
| value | No | Primary quantity result | |
| values | No | All named quantity results (includes the primary) | |
| warnings | No | ||
| artifacts | No | ||
| provenance | Yes | What produced the result and from which inputs. | |
| review_status | No | unreviewed |