Skip to main content
Glama

BusCalc — Business & Trade Calculations

NexusNeed resource allocation and decision review

buscalc_nexusneed
Read-onlyIdempotent

Review need, change, ForeNeed scenarios, resource allocation, timing, drift, cascades, opportunities and calibration. Supply dated evidence and compatible units. To start the full Workload Relay, supply inputs.relay.scenario. Append each explicit stage review to inputs.relay.history. Use forecastReviewKey and nexusReviewKey only after presenting their proposals to the reviewer. Exact allocation has a shared 50,000-node limit. Returns a replayable receipt and optional sealing handoff. 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.

Input Schema

NameRequiredDescriptionDefault
inputsYes
modelVersionNo
includeActivityNoInclude coarse global BusCalc activity as separate context. Suppressed low counts and owner/test limitations are reported. It does not change the calculation.
previousReceiptNoOptional unchanged NexusNeed receipt for a dated before-and-after review. Both scenarios are replayed locally.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / inputs / else
      Added value: +{
      +  "required": [
      +    "asOf"
      +  ]
      +}
    • addedInput schema / properties / inputs / if
      Added value: +{
      +  "required": [
      +    "relay"
      +  ]
      +}
    • addedInput schema / properties / inputs / properties / relay
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "forecast": {
      +      "additionalProperties": false,
      +      "description": "Optional ForeNeed inputs for the same event, work, area and review date. Its probability is proposed for explicit approval before FluxNeed runs.",
      +      "properties": {
      +        "asOf": {
      +          "format": "date",
      +          "type": "string"
      +        },
      +        "geography": {
      +          "maxLength": 160,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "inputs": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "basePercent": {
      +              "maximum": 99.99,
      +              "minimum": 0.01,
      +              "type": "number"
      +            },
      +            "event": {
      +              "maxLength": 160,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "feasibility": {
      +              "enum": [
      +                "unknown",
      +                "low",
      +                "moderate",
      +                "high"
      +              ],
      +              "type": "string"
      +            },
      +            "history": {
      +              "items": {
      +                "maximum": 100,
      +                "minimum": 0,
      +                "type": "number"
      +              },
      +              "maxItems": 60,
      +              "minItems": 3,
      +              "type": "array"
      +            },
      +            "historyIntervalDays": {
      +              "maximum": 36500,
      +              "minimum": 1,
      +              "type": "number"
      +            },
      +            "previousPercent": {
      +              "maximum": 100,
      +              "minimum": 0,
      +              "type": "number"
      +            },
      +            "signals": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "ageDays": {
      +                    "maximum": 36500,
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "group": {
      +                    "maxLength": 80,
      +                    "minLength": 1,
      +                    "type": "string"
      +                  },
      +                  "kind": {
      +                    "enum": [
      +                      "general",
      +                      "environmental"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "likelihoodRatio": {
      +                    "maximum": 10,
      +                    "minimum": 0.1,
      +                    "type": "number"
      +                  },
      +                  "quality": {
      +                    "maximum": 1,
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "source": {
      +                    "maxLength": 160,
      +                    "minLength": 1,
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "source",
      +                  "group",
      +                  "likelihoodRatio",
      +                  "quality",
      +                  "ageDays"
      +                ],
      +                "type": "object"
      +              },
      +              "maxItems": 30,
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "event",
      +            "basePercent",
      +            "signals"
      +          ],
      +          "type": "object"
      +        },
      +        "targetDate": {
      +          "format": "date",
      +          "type": "string"
      +        },
      +        "topic": {
      +          "maxLength": 160,
      +          "minLength": 1,
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "topic",
      +        "geography",
      +        "asOf",
      +        "targetDate",
      +        "inputs"
      +      ],
      +      "type": "object"
      +    },
      +    "forecastReviewKey": {
      +      "description": "Confirm the returned ForeNeed transfer after reviewing its inputs, provenance and probability.",
      +      "pattern": "^[a-f0-9]{64}$",
      +      "type": "string"
      +    },
      +    "history": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "confirmations": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "id": {
      +                  "maxLength": 100,
      +                  "type": "string"
      +                },
      +                "note": {
      +                  "maxLength": 500,
      +                  "type": "string"
      +                },
      +                "value": {
      +                  "type": "number"
      +                }
      +              },
      +              "required": [
      +                "id"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 30,
      +            "type": "array"
      +          },
      +          "reviewKey": {
      +            "pattern": "^[a-f0-9]{64}$",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "reviewKey",
      +          "confirmations"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 4,
      +      "type": "array"
      +    },
      +    "nexusReviewKey": {
      +      "description": "Confirm the returned NexusNeed proposal after reviewing the complete transfer.",
      +      "pattern": "^[a-f0-9]{64}$",
      +      "type": "string"
      +    },
      +    "scenario": {
      +      "properties": {
      +        "fluxneed": {
      +          "type": "object"
      +        },
      +        "meta": {
      +          "type": "object"
      +        },
      +        "needrift": {
      +          "type": "object"
      +        },
      +        "shortlist": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "maxItems": 10,
      +          "type": "array"
      +        },
      +        "staffing": {
      +          "type": "object"
      +        },
      +        "velocity": {
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "meta",
      +        "needrift",
      +        "velocity",
      +        "fluxneed",
      +        "staffing",
      +        "shortlist"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "scenario"
      +  ],
      +  "type": "object"
      +}
    • changedInput schema / properties / inputs / required
      Previous value: -[
      -  "asOf"
      -]New value: +[]
    • addedInput schema / properties / inputs / then
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "relay": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "forecast": {
      +          "additionalProperties": false,
      +          "description": "Optional ForeNeed inputs for the same event, work, area and review date. Its probability is proposed for explicit approval before FluxNeed runs.",
      +          "properties": {
      +            "asOf": {
      +              "format": "date",
      +              "type": "string"
      +            },
      +            "geography": {
      +              "maxLength": 160,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "inputs": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "basePercent": {
      +                  "maximum": 99.99,
      +                  "minimum": 0.01,
      +                  "type": "number"
      +                },
      +                "event": {
      +                  "maxLength": 160,
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "feasibility": {
      +                  "enum": [
      +                    "unknown",
      +                    "low",
      +                    "moderate",
      +                    "high"
      +                  ],
      +                  "type": "string"
      +                },
      +                "history": {
      +                  "items": {
      +                    "maximum": 100,
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "maxItems": 60,
      +                  "minItems": 3,
      +                  "type": "array"
      +                },
      +                "historyIntervalDays": {
      +                  "maximum": 36500,
      +                  "minimum": 1,
      +                  "type": "number"
      +                },
      +                "previousPercent": {
      +                  "maximum": 100,
      +                  "minimum": 0,
      +                  "type": "number"
      +                },
      +                "signals": {
      +                  "items": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "ageDays": {
      +                        "maximum": 36500,
      +                        "minimum": 0,
      +                        "type": "number"
      +                      },
      +                      "group": {
      +                        "maxLength": 80,
      +                        "minLength": 1,
      +                        "type": "string"
      +                      },
      +                      "kind": {
      +                        "enum": [
      +                          "general",
      +                          "environmental"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "likelihoodRatio": {
      +                        "maximum": 10,
      +                        "minimum": 0.1,
      +                        "type": "number"
      +                      },
      +                      "quality": {
      +                        "maximum": 1,
      +                        "minimum": 0,
      +                        "type": "number"
      +                      },
      +                      "source": {
      +                        "maxLength": 160,
      +                        "minLength": 1,
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "source",
      +                      "group",
      +                      "likelihoodRatio",
      +                      "quality",
      +                      "ageDays"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "maxItems": 30,
      +                  "type": "array"
      +                }
      +              },
      +              "required": [
      +                "event",
      +                "basePercent",
      +                "signals"
      +              ],
      +              "type": "object"
      +            },
      +            "targetDate": {
      +              "format": "date",
      +              "type": "string"
      +            },
      +            "topic": {
      +              "maxLength": 160,
      +              "minLength": 1,
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "topic",
      +            "geography",
      +            "asOf",
      +            "targetDate",
      +            "inputs"
      +          ],
      +          "type": "object"
      +        },
      +        "forecastReviewKey": {
      +          "description": "Confirm the returned ForeNeed transfer after reviewing its inputs, provenance and probability.",
      +          "pattern": "^[a-f0-9]{64}$",
      +          "type": "string"
      +        },
      +        "history": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "confirmations": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "id": {
      +                      "maxLength": 100,
      +                      "type": "string"
      +                    },
      +                    "note": {
      +                      "maxLength": 500,
      +                      "type": "string"
      +                    },
      +                    "value": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "required": [
      +                    "id"
      +                  ],
      +                  "type": "object"
      +                },
      +                "maxItems": 30,
      +                "type": "array"
      +              },
      +              "reviewKey": {
      +                "pattern": "^[a-f0-9]{64}$",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "reviewKey",
      +              "confirmations"
      +            ],
      +            "type": "object"
      +          },
      +          "maxItems": 4,
      +          "type": "array"
      +        },
      +        "nexusReviewKey": {
      +          "description": "Confirm the returned NexusNeed proposal after reviewing the complete transfer.",
      +          "pattern": "^[a-f0-9]{64}$",
      +          "type": "string"
      +        },
      +        "scenario": {
      +          "properties": {
      +            "fluxneed": {
      +              "type": "object"
      +            },
      +            "meta": {
      +              "type": "object"
      +            },
      +            "needrift": {
      +              "type": "object"
      +            },
      +            "shortlist": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "maxItems": 10,
      +              "type": "array"
      +            },
      +            "staffing": {
      +              "type": "object"
      +            },
      +            "velocity": {
      +              "type": "object"
      +            }
      +          },
      +          "required": [
      +            "meta",
      +            "needrift",
      +            "velocity",
      +            "fluxneed",
      +            "staffing",
      +            "shortlist"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "scenario"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "relay"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / oneOf
      Added value: +[
      +  {
      +    "properties": {
      +      "activityContext": {
      +        "type": "object"
      +      },
      +      "asOf": {
      +        "format": "date",
      +        "type": "string"
      +      },
      +      "calculator": {
      +        "enum": [
      +          "nexusneed"
      +        ],
      +        "type": "string"
      +      },
      +      "comparison": {
      +        "type": "object"
      +      },
      +      "comparisonFile": {
      +        "type": "string"
      +      },
      +      "comparisonRecordProof": {
      +        "type": "object"
      +      },
      +      "layers": {
      +        "type": "object"
      +      },
      +      "modelVersion": {
      +        "type": "string"
      +      },
      +      "realityScore": {
      +        "type": "object"
      +      },
      +      "receipt": {
      +        "type": "object"
      +      },
      +      "receiptFile": {
      +        "type": "string"
      +      },
      +      "recordProof": {
      +        "type": "object"
      +      },
      +      "relayEvidenceFile": {
      +        "type": "string"
      +      },
      +      "relayEvidenceRecordProof": {
      +        "type": "object"
      +      },
      +      "relayEvidenceSha256": {
      +        "type": "string"
      +      },
      +      "results": {
      +        "items": {
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "calculator",
      +      "layers",
      +      "realityScore",
      +      "receipt"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "next": {
      +        "type": "object"
      +      },
      +      "result": {
      +        "type": "object"
      +      },
      +      "stage": {
      +        "type": "string"
      +      },
      +      "status": {
      +        "const": "review_required"
      +      },
      +      "workflow": {
      +        "const": "nexusneed-relay"
      +      }
      +    },
      +    "required": [
      +      "workflow",
      +      "status",
      +      "stage",
      +      "result",
      +      "next"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties
      Removed value: -{
      -  "activityContext": {
      -    "type": "object"
      -  },
      -  "asOf": {
      -    "format": "date",
      -    "type": "string"
      -  },
      -  "calculator": {
      -    "enum": [
      -      "nexusneed"
      -    ],
      -    "type": "string"
      -  },
      -  "comparison": {
      -    "type": "object"
      -  },
      -  "comparisonFile": {
      -    "type": "string"
      -  },
      -  "comparisonRecordProof": {
      -    "type": "object"
      -  },
      -  "layers": {
      -    "type": "object"
      -  },
      -  "modelVersion": {
      -    "type": "string"
      -  },
      -  "realityScore": {
      -    "type": "object"
      -  },
      -  "receipt": {
      -    "type": "object"
      -  },
      -  "receiptFile": {
      -    "type": "string"
      -  },
      -  "recordProof": {
      -    "type": "object"
      -  },
      -  "results": {
      -    "items": {
      -      "type": "object"
      -    },
      -    "type": "array"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "calculator",
      -  "layers",
      -  "realityScore",
      -  "receipt"
      -]
  2. Added

TDQS

B3.4/5.0
Behavior4/5

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

Beyond the readOnly/idempotent annotations, it discloses a hard capacity limit ('Exact allocation has a shared 50,000-node limit'), a two-step human-approval gate for the review keys, the stage-history append pattern, and the return shape (replayable receipt plus sealing handoff). It also warns about an integration pitfall: 'Do not pass the REST calculator field inside MCP arguments.' The weakness is undefined jargon ('Workload Relay', 'ForeNeed', 'sealing handoff') that leaves key behaviors underspecified.

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?

Ten terse sentences with little filler, but the opening sentence is a dense noun list that fails to front-load the actual purpose, and the jargon-heavy phrasing ('Workload Relay', 'sealing handoff') forces re-reading. Content mostly earns its place, but ordering and terminology hurt scanability.

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?

For a tool with a very deep nested schema and an output schema, the description does cover the workflow sequencing, capacity limit, and receipt return, so the heavy lifting is largely done. What is missing is any definition of the domain stages (NeedDrift, Velocity, FluxNeed, staffing, shortlist) referenced in the required relay.scenario object, leaving the agent to guess what must be assembled.

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 only 50% schema description coverage, the description compensates well for the wrapper parameters: 'Put tool fields inside inputs', 'Supply units or modelVersion only when listed in inputSchema', and the explicit exclusion of the REST calculator field. It also explains the role of inputs.relay.scenario, inputs.relay.history, forecastReviewKey and nexusReviewKey in operational terms (start vs. append vs. confirm-after-review) that go beyond the schema's bare property definitions. It does not explain the four top-level parameters individually or the previousReceipt replay semantics.

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

Purpose3/5

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

The verb is a loose 'Review' applied to a noun pile ('need, change, ForeNeed scenarios, resource allocation, timing, drift, cascades, opportunities and calibration'), which enumerates domains rather than stating a single resource. It does say the tool 'Returns a replayable receipt and optional sealing handoff', giving some concrete output orientation. Nothing distinguishes it from siblings such as buscalc_need_velocity or buscalc_capacity_relay, so an agent cannot tell which to pick from the description alone.

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 conditional triggers: 'To start the full Workload Relay, supply inputs.relay.scenario' and 'Append each explicit stage review to inputs.relay.history', plus the ordering constraint 'Use forecastReviewKey and nexusReviewKey only after presenting their proposals to the reviewer.' That is real when-to guidance for the relay workflow. However, there is no guidance on when to use this tool instead of the many sibling review tools, nor when a plain (non-relay) review suffices.

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