Skip to main content
Glama

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
NameRequiredDescriptionDefault
decisionStatementYes
optionsYes
criteriaNo
analysisTypeYes
stageYes
stakeholdersNo
constraintsNo
timeHorizonNo
riskToleranceNo
possibleOutcomesNo
recommendationNo
rationaleNo
decisionIdYesUnique identifier for this decision analysis
iterationYesCurrent iteration of the decision process
nextStageNeededYesWhether 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
        );
  • 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"

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chirag127/Clear-Thought-MCP-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server