decisionframework
Analyze complex decisions using structured frameworks to evaluate options, criteria, and outcomes systematically.
Instructions
A detailed tool for structured decision analysis and rational choice. This tool helps models systematically evaluate options, criteria, and outcomes. It supports multiple decision frameworks, probability estimates, and value judgments.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decisionStatement | Yes | ||
| options | Yes | ||
| criteria | No | ||
| analysisType | Yes | ||
| stage | Yes | ||
| stakeholders | No | ||
| constraints | No | ||
| timeHorizon | No | ||
| riskTolerance | No | ||
| possibleOutcomes | No | ||
| recommendation | No | ||
| rationale | No | ||
| decisionId | Yes | Unique identifier for this decision analysis | |
| iteration | Yes | Current iteration of the decision process | |
| nextStageNeeded | Yes | Whether another stage is needed in the process |
Implementation Reference
- The 'processDecisionFramework' method is the handler that processes the input for the 'decisionframework' tool.
public processDecisionFramework(input: unknown): DecisionFrameworkData { const validatedData = this.validateInputData(input); // Log formatted output to console const formattedOutput = this.formatOutput(validatedData); console.error(formattedOutput); return validatedData; } - src/index.ts:1110-1113 (registration)The tool 'decisionframework' is registered and dispatched in the main server logic within the switch-case block.
case "decisionframework": { const result = decisionFrameworkServer.processDecisionFramework( request.params.arguments ); - src/models/interfaces.ts:149-160 (schema)The 'DecisionFrameworkData' interface defines the input schema for the 'decisionframework' tool.
export interface DecisionFrameworkData { decisionStatement: string; options: OptionData[]; criteria?: CriterionData[]; analysisType: | "pros-cons" | "weighted-criteria" | "decision-tree" | "expected-value" | "scenario-analysis"; stage: | "problem-definition"