Skip to main content
Glama

BusCalc — Business & Trade Calculations

Weighted decision matrix with flip check

buscalc_weighted_decision_matrix_with_flip_check
Read-onlyIdempotent

Rank options on several criteria with your own weights, then see how much any weight would have to change before the winner changes. Use this tested BusCalc worksheet when the task matches its inputs and scope. Returns named results, units, formula, assumptions, method version and a source-page URL. No prices or omitted costs are looked up; no private projects or purchases are accessed. Put tool fields inside inputs. Supply units or modelVersion only when listed in inputSchema. Follow its required fields and exact choices. Do not pass the REST calculator field inside MCP arguments.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "inputs": {
        "c1Dir": "high",
        "c2Dir": "low",
        "c3Dir": "low",
        "c4Dir": "high",
        "c5Dir": "low",
        "c1Name": "Annual profit",
        "c2Name": "Startup cost",
        "c3Name": "Time to launch",
        "c4Name": "Customer demand evidence",
        "c5Name": "Risk",
        "options": [
          {
            "c1": 42000,
            "c2": 18000,
            "c3": 4,
            "c4": 7,
            "c5": 3,
            "label": "Option A"
          },
          {
            "c1": 55000,
            "c2": 40000,
            "c3": 8,
            "c4": 6,
            "c5": 5,
            "label": "Option B"
          },
          {
            "c1": 30000,
            "c2": 6000,
            "c3": 2,
            "c4": 8,
            "c5": 2,
            "label": "Option C"
          }
        ],
        "c1Weight": 35,
        "c2Weight": 20,
        "c3Weight": 15,
        "c4Weight": 20,
        "c5Weight": 10
      }
    },
    "name": "buscalc_weighted_decision_matrix_with_flip_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitsNo
inputsYes
modelVersionNoOptional expected method version; a mismatch is rejected.

Output Schema

NameRequiredDescriptionDefault
unitsNo
inputsYes
receiptYes
resultsYes
sourceURLYes
calculatorYes
modelVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful context beyond them: the returned payload (named results, units, formula, assumptions, method version, source-page URL) and the statement that no prices or private data are accessed. It does not explain what a flip-check result looks like numerically or what happens on a modelVersion mismatch, which the schema only hints at.

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 behavioral sentence is well-placed second, but the description is padded with generic boilerplate ('Use matching records and scope' appears throughout the schema, and 'Follow its required fields and exact choices' restates schema enforcement). The final sentence about the REST calculator field is a non-sequitur for an MCP-only caller and consumes attention without earning it.

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

Completeness3/5

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

An output schema exists, so return values need not be spelled out, and the readOnly/idempotent annotations cover the safety story. But for a nested 5-criterion/20-option matrix with 33% schema coverage and only one enum documented, the description leaves the hardest part — how scores, directions and weights combine and what 'flip' magnitude is measured against — unexplained. It is adequate to identify the tool but thin for invoking it correctly.

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

Parameters2/5

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

Schema description coverage is 33%, so the description carries real burden here — and it does not. The only parameter guidance is procedural ('put tool fields inside inputs', 'supply units or modelVersion only when listed in inputSchema', 'do not pass the REST calculator field'), which is about argument plumbing, not meaning. Nothing explains the c{n}Dir direction semantics, how weights are normalized, that a weight of 0 ignores a criterion, or that options carry raw per-criterion units needing rescaling — all of which the agent must infer from the schema alone.

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 states a specific verb and resource: rank options on several criteria with user-supplied weights, then compute how far any weight must shift before the winner changes. The flip-check add-on is explicitly described, which distinguishes it from the general decision siblings. It does not name a specific sibling tool or contrast with them, so it stops short of a 5.

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?

It gives a conditional opener ('Use this tested BusCalc worksheet when the task matches its inputs and scope') but that condition is circular — it defers to the schema rather than telling the agent which real problem this solves versus buscalc_decision_feasibility or buscalc_decision_evidence_value. The exclusions ('no prices or omitted costs are looked up; no private projects or purchases are accessed') are scope disclaimers, not routing guidance. Usage is implied rather than specified.

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