Skip to main content
Glama

ai_decision_matrix

Read-only

AI Decision Matrix — Weighted decision matrix for 2-8 options: AI scores every option against each criterion (1-10 with a one-line reason), then exact weighted totals, ranking, margin, a sensitivity check (does the winner change if any one criterion is dropped?), verdict CLEAR WINNER / CLOSE CALL / TIE, risks, unknowns that would change the answer and a Markdown table. options= separated by ; or |. Optional criteria= (e.g. cost:5;speed:3;risk:4 - weights optional; omitted criteria are proposed by the AI) and context= the situation. Price: $0.008 USDC (Base, via x402).

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": {
      "options": "<options>"
    },
    "name": "ai_decision_matrix"
  }
}

Input Schema

NameRequiredDescriptionDefault
optionsYesPostgres;MongoDB;DynamoDB

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds behavior beyond that: the hard 2-8 option bound, the AI filling in missing criteria, the 1-10 scoring with reasons, the sensitivity check, the verdict taxonomy, and a concrete price of $0.008 USDC via x402, which matters for agent invocation. It stops short of describing failure modes, such as what happens with 1 or 9 options.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, and almost every clause carries information: outputs, limits, separators, and price. The problem is structure: it is one long, comma-spliced sentence mixing inputs, outputs, and pricing, which makes it harder to scan than it needs to be. It would read better split into an input paragraph and an output paragraph.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description fully covers what comes back: weighted totals, ranking, margin, sensitivity check, verdict, risks, unknowns, and a Markdown table. Combined with input format rules, the 2-8 bound, and pricing, an agent has everything it needs to call this tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the schema contains only `options` with a bare example, so the description carries most of the meaning: it documents the ; or | separator, the criteria syntax with optional weights (cost:5;speed:3), and the role of context. It also documents criteria and context, which are not present in the input schema at all, so the description compensates for that schema gap, though the mismatch itself is a small risk.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb-plus-resource framing: it scores 2-8 options against criteria, computes weighted totals, ranks them, runs a sensitivity check, and returns a verdict. That is far more than a restatement of the name. It never names a sibling tool such as ai_compare or ai_grade, so an agent must infer the boundary from the described output shape rather than from explicit routing.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the input shape: a list of 2-8 options, an optional criteria list with weights, and a context string. The description also states that criteria omitted by the caller are proposed by the AI, which is useful context. However, it never states when to choose this tool over alternatives, nor when not to use it, so the guidance stays implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources