Skip to main content
Glama

Run one of MCC's calculators

run_calculator
Read-onlyIdempotent

MCC Solutions' own calculators (mortgage payment, amortization, cap rate, DSCR, break-even, margins, ratios, timecard hours, unit conversions and about 100 more), run with the same formulas as the pages. Call with no arguments, or a word or two in calculator, to list them; with a calculator id to see its inputs; with inputs to get the answer and the page it comes from. General math, not tax, legal or financial advice.

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": "run_calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputsNoThe calculator's inputs by name, e.g. {"loan": 300000, "rate": 6.5, "years": 30}
calculatorNoA calculator id from the list (e.g. mortgage), or words to search for (e.g. loan)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered elsewhere. The description still adds value by stating results use the same formulas as the live pages and that a page reference accompanies the answer, plus a copy of the mode semantics. It does not cover error handling for unknown ids or whether the ~100 calculators are paginated.

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?

The single paragraph is front-loaded with identity, then mode guidance, then a scope disclaimer, with no wasted clauses. The long parenthetical catalog of calculator types runs a little dense but earns its place by signaling breadth.

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?

With no output schema, a 2-optional-parameter tool and nested free-form inputs, the description still explains what each call mode returns (list, input contract, answer plus source page), which is the essential missing piece. Minor omissions remain around failure behavior for unrecognized calculator names.

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

Parameters3/5

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

Schema coverage is 100%, with both properties already documented in-schema, so the baseline is 3. The description adds the behavior of each parameter (a bare word searches, an id reveals the input contract, a populated inputs object computes) and shows a concrete input example, which is a modest lift above the schema wording.

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 names a specific verb and resource ('run' one of MCC's own calculators) and enumerates the domain concretely (mortgage payment, amortization, cap rate, DSCR, break-even, timecard hours, unit conversions, ~100 more), so an agent knows exactly what class of operation this is. It does not explicitly contrast itself with any sibling, which keeps it 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 Guidelines5/5

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

It spells out the full call-mode decision tree: no arguments or a search word to list calculators, a calculator id to inspect its inputs, and inputs to compute an answer and return the source page. It also bounds scope by warning the output is general math rather than tax, legal, or financial advice.

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