decisionmatrix-mcp

v1.0.2
io.github.inity13/decisionmatrix-mcp Checked 4 hours ago Published 3 months ago

Deterministic multi-criteria decision analysis for AI agents — score, rank & explain options.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

create_decision

Rank named options against weighted criteria and return the winner, full ranking, per-criterion breakdowns, methodology, weights used, and a plain-language explanation. Main tool. method defaults to weighted_sum (also weighted_product, topsis). 100% deterministic.

ParameterTypeDescription
criteria *arrayWeighted criteria. Each: {name, weight (relative, >=0), direction: 'benefit' (higher better, default) | 'cost' (lower better)}.
options *arrayNamed alternatives. Strings or {name, scores} objects.
scores *objectScore matrix. {"Option A": {"Criterion 1": 8, ...}, ...} or array form or inline on options.
methodstring

score_options

Score options against criteria when the score matrix is supplied separately. Returns the full normalized scored matrix + ranking, without the narrative winner explanation.

ParameterTypeDescription
criteria *arrayWeighted criteria. Each: {name, weight (relative, >=0), direction: 'benefit' (higher better, default) | 'cost' (lower better)}.
options *arrayNamed alternatives. Strings or {name, scores} objects.
scores *objectScore matrix. {"Option A": {"Criterion 1": 8, ...}, ...} or array form or inline on options.
methodstring

sensitivity_analysis

Test how robust the winner is to criteria-weight changes. Sweeps each weight +/- 'variation' (default 0.2) over 'steps' (default 10), recomputes the ranking, and reports a robustness score, the criteria most likely to flip the result, and flip points.

ParameterTypeDescription
criteria *arrayWeighted criteria. Each: {name, weight (relative, >=0), direction: 'benefit' (higher better, default) | 'cost' (lower better)}.
options *arrayNamed alternatives. Strings or {name, scores} objects.
scores *objectScore matrix. {"Option A": {"Criterion 1": 8, ...}, ...} or array form or inline on options.
methodstring
stepsinteger
variationnumber

compare_two

Head-to-head comparison of exactly two options. Returns the winner, score margin, how many criteria each option wins, and a per-criterion breakdown. Pass option_a/option_b (names) or a 2-element options array, plus criteria and scores.

ParameterTypeDescription
criteria *arrayWeighted criteria. Each: {name, weight (relative, >=0), direction: 'benefit' (higher better, default) | 'cost' (lower better)}.
scores *objectScore matrix. {"Option A": {"Criterion 1": 8, ...}, ...} or array form or inline on options.
methodstring
option_astring
option_bstring
optionsarrayNamed alternatives. Strings or {name, scores} objects.

list_methods

List scoring methods (weighted_sum, weighted_product, topsis) with normalization details, score ranges, and when to use each.

health_check

Server health, version, and capabilities.