Skip to main content
Glama

Business Frameworks: decision input schema

bf_decision_schema
Read-onlyIdempotent

Returns the input schema, an example input, the price and the fit record (what the framework does for this decision by model, before paying) for one of the applied decisions (reinvest or distribute, build or run for cash, cash cycle, runway, owner pay, hurdle rate, concentration, pace of growth, price, adjacency; and, in the market branch, verdict, pricing power, binding node, rent, shock). Free. Call it before bf_apply_decision to learn which numbers the rule needs and what each one means; without decision it lists them all. Do not guess missing inputs to fill the schema: ask the user for the figures the business actually has.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "bf_decision_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
decisionNoDecision path, e.g. "risk/decide/hurdle". Omit to list them all.

Output Schema

NameRequiredDescriptionDefault
fitNo
howNo
titleNo
handleNo
returnsNo
summaryNo
decisionNo
decisionsNo
price_usdNo
input_schemaNo
example_inputNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / decision / description
      Previous value: -"Decision path, e.g. \"risk/decide/hurdle\". Omit to list the fifteen."New value: +"Decision path, e.g. \"risk/decide/hurdle\". Omit to list them all."
    • changedOutput schema / description
      Previous value: -"Without `decision`: the list of applied decisions with prices. With one: its input_schema (JSON schema), example_input, price_usd, how, and fit (what the framework does for this decision by model, before paying)."New value: +"Without `decision`: the list of applied decisions with prices. With one: its input_schema (JSON schema), example_input, price_usd, how, returns (the names of the figures the rule computes) and fit (what the framework does for this decision by model, before paying)."
    • addedOutput schema / properties / returns
      Added value: +{
      +  "additionalProperties": {},
      +  "properties": {
      +    "figures": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "how": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / decision / description
      Previous value: -"Decision path, e.g. \"risk/decide/hurdle\". Omit to list the ten."New value: +"Decision path, e.g. \"risk/decide/hurdle\". Omit to list the fifteen."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": {},
      +  "description": "Without `decision`: the list of applied decisions with prices. With one: its input_schema (JSON schema), example_input, price_usd, how, and fit (what the framework does for this decision by model, before paying).",
      +  "properties": {
      +    "decision": {
      +      "type": "string"
      +    },
      +    "decisions": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "decision": {
      +            "type": "string"
      +          },
      +          "handle": {
      +            "type": "string"
      +          },
      +          "price_usd": {
      +            "type": [
      +              "string",
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "summary": {
      +            "type": "string"
      +          },
      +          "title": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "example_input": {
      +      "additionalProperties": {},
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "fit": {
      +      "additionalProperties": {},
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "handle": {
      +      "type": "string"
      +    },
      +    "how": {
      +      "type": "string"
      +    },
      +    "input_schema": {
      +      "additionalProperties": {},
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "price_usd": {
      +      "type": [
      +        "string",
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "summary": {
      +      "type": "string"
      +    },
      +    "title": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely extra context: the call is "Free", it discloses a "price" concept and a "fit record" describing what the framework does for this decision by model "before paying". It does not explain how price is computed or in what unit, which keeps it short of a 5.

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

Conciseness4/5

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

Front-loaded with the return payload, followed by the routing instruction and the caution — a sensible order with no filler sentences. The long parenthetical enumerating every decision family is dense and partially duplicates what bf_catalogue likely offers, costing a point on tightness.

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?

An output schema exists, yet the description still previews the four returned pieces so the agent knows the call's value before making it. For a single optional-parameter discovery tool, nothing needed to invoke it correctly — which path to pass, what comes back, and what not to fabricate — is missing.

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?

With one optional parameter at 100% schema coverage, the schema already documents `decision` including the path-style example. The description still adds value by naming the concrete decision domains the parameter accepts and by restating the omit-to-list-all behavior in operational terms, which helps an agent pick a valid value without opening the schema.

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

Purpose5/5

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

States a specific verb and a well-defined resource: it returns the input schema, an example input, the price and the fit record for one applied decision. It enumerates the decision families covered (reinvest/distribute, hurdle rate, concentration, plus the market-branch items) and notes that omitting `decision` lists them all, so an agent can distinguish it from bf_apply_decision at a glance.

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

Usage Guidelines5/5

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

Gives explicit sequencing ("Call it before bf_apply_decision") and names the sibling it precedes rather than relying on inference. It also supplies an exclusion-style rule — "Do not guess missing inputs to fill the schema: ask the user for the figures the business actually has" — which tells the agent what not to do with the results.

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.