Skip to main content
Glama

run_calculator

Run a manufacturing calculation. Provide inputs by field key or slugified label (see get_calculator); missing inputs use the calculator's documented defaults. Returns labeled results with units, the formula, and a citation URL that should be shared with the user. Inputs are checked against their documented min/max; an impossible value is refused by name. derivation.confidence grades the OUTPUT: "none" if any result row could not be computed. Try: {"tool":"oee"} (defaults fill every input)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolYesCalculator slug from search_calculators
inputsNoInput values keyed by field key or label param, e.g. {"availability": 90}

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description fully carries the burden, and it does well: it discloses that inputs are validated against min/max and impossible values are refused by name, and that derivation.confidence grades the output with 'none' for incomplete computation. It also notes the citation URL should be shared, which is a behavioral expectation. It does not explicitly state read-only nature, but for a calculation tool that is implied and no contradiction exists.

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 description is moderately lengthy but every sentence carries weight: purpose, input handling, output content, validation, confidence grading, and an example. It is front-loaded with the core action and then flows logically into supporting details. The structure is effective, though slightly verbose; it could trim some phrasing, but nothing is wasted.

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?

For a tool with no output schema, the description provides a remarkably complete picture: it lists the return elements (labeled results, units, formula, citation URL), the confidence field's meaning, and a concrete example. An agent can confidently invoke this tool and understand what to expect. No significant gaps remain for correct invocation.

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?

Schema coverage is 100% (both parameters and the nested inputs object are described), so baseline is 3. The description adds significant value beyond the schema by explaining how to reference input keys (field key or slugified label), that defaults are applied for missing inputs, and that validation occurs—details not present in the schema. This helps the agent construct valid and complete input objects.

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 ('Run') and resource ('manufacturing calculation') and immediately clarifies what that means: executing a calculation with inputs and defaults, returning results, formula, and citation URL. It also distinguishes itself from sibling tools like get_calculator (which likely retrieves calculator metadata) and search_calculators (which finds calculators) by focusing on execution.

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

Usage Guidelines4/5

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

Explains how to provide inputs (by field key or slugified label) and points to get_calculator for details. It explicitly mentions that missing inputs use defaults, giving the agent a clear path for validation. The example call further demonstrates usage. While it does not explicitly state 'use this when you want to perform a calculation,' that is strongly implied, and it effectively guides the agent on the prerequisites and expected flow.

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.

TDQS

A4/5.0
Disambiguation3/5

Most tools have distinct purposes, but several clusters overlap: ask/brief/get_index all answer questions, get_revisions/get_vintages both cover historical data, and get_provenance/get_receipts/get_citation all support verification. Descriptions clarify some boundaries, but an agent could easily misselect between ask and get_index for tariff or cost questions.

Naming Consistency4/5

The naming pattern is largely consistent verb_noun with a strong get_ prefix (get_freshness, get_vintages, run_calculator, search_calculators). However, ask and brief break the convention as bare verbs, and lookup_tariff/optimize_sourcing use different verbs, creating minor but noticeable deviations.

Tool Count4/5

17 tools is at the high end of reasonable for a broad domain covering calculators, live data series, tariffs, sourcing optimization, and verification. It feels slightly heavy but each tool has a real function, and the count is justifiable given the breadth.

Completeness4/5

The tool surface covers the full research workflow: search, lookup, calculate, optimize, verify, cite, and monitor data freshness/revisions. Minor gaps include the lack of a direct series browser (search_site covers it) and the index family being collapsed into a single get_index tool rather than exposed individually.

Resources