Skip to main content
Glama

BusCalc — Business & Trade Calculations

Heat index and heat illness trigger check

buscalc_heat_index_and_heat_illness_trigger_check
Read-onlyIdempotent

Compute the NWS heat index from temperature and humidity and check it against California, Oregon or Maryland heat-illness triggers, or your own, for one reading or an hourly log. Use this tested BusCalc worksheet when the task matches its inputs and scope. Returns named results, units, formula, assumptions, method version, reference-value notes (official figure or your figure, with source and effective date), a check link and a source-page URL. Official reference values are prefilled when omitted; supply every other figure from the user's records. Percent fields take percent numbers. No figures 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": {
        "rh": 40,
        "tempF": 96
      }
    },
    "name": "buscalc_heat_index_and_heat_illness_trigger_check"
  }
}

Input Schema

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

Output Schema

NameRequiredDescriptionDefault
rowsNo
notesNoReference-value notes first, then model notes and the standard limit statement.
titleNo
unitsNo
inputsYes
columnsNo
formulaNo
receiptYes
resultsYes
sealURLNoWhere a saved record of this result can be sealed with an independent timestamp.
checkURLNoLink that replays this calculation on https://buscalc.com/sumtru/verify/. Null when the inputs hold free-form text or the link would be too long.
currencyNo
sourceURLYes
calculatorYes
assumptionsNo
modelVersionYes
referenceValuesNoOne entry per official reference value in play: the official figure, the figure used, status official or user, source, effective date and the note text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description goes beyond them by disclosing what comes back (named results, units, formula, assumptions, method version, reference-value notes with source and effective date, check link, source-page URL) and by stating that official reference values are prefilled when omitted while everything else must come from user records. The residual 'no figures are looked up' statement reinforces the closed-world hint with concrete meaning.

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 sentence is well front-loaded and earns its place, and the return-value sentence is informative. However, the middle of the description is padded with generic worksheet boilerplate ('Use this tested BusCalc worksheet when the task matches its inputs and scope') and a stray REST-API warning, which dilute the useful content.

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

Completeness4/5

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

For a tool with nested objects, conditional required fields, an output schema and preemptive annotation coverage, the description supplies enough orientation: what it computes, which jurisdictions, the two modes, that reference values are defaulted and overridable, and where fields must be placed. Only the mode/entry/rule interaction is left entirely to the schema.

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?

Reported schema coverage is low (33%), so the description has to carry weight, and it does add structural meaning the schema does not spell out at the top level: fields go inside the nested 'inputs' object, units/modelVersion only when listed in inputSchema, percent fields take percent numbers, and the REST-only field must not be passed. It does not explain the conditional mode/entry/rule branching, but that is encoded in the schema's if/then blocks.

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?

The first sentence gives a specific verb and resource: compute the NWS heat index from temperature and humidity and check it against CA/OR/MD or custom heat-illness triggers, for a single reading or an hourly log. That scope statement lets an agent tell exactly what this tool does and what it does not (no lookups, no private data), without needing the schema.

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 scope sentence ('for one reading or an hourly log') and by 'supply every other figure from the user's records', but the only explicit gating language is the circular 'Use this tested BusCalc worksheet when the task matches its inputs and scope.' There is no stated when-not condition and no named alternative tool for adjacent calculations.

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