Skip to main content
Glama

get_calculator

Get a calculator's inputs (labels, units, defaults, min/max) and formula before running it. requiresPositive marks a field whose documented minimum of 0 is really exclusive. Use the tool slug from search_calculators. Try: {"tool":"oee"}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolYesCalculator slug, e.g. 'oee' or 'unit-cost'

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses a useful quirk: 'requiresPositive marks a field whose documented minimum of 0 is really exclusive,' which helps interpret the output. However, it does not mention whether the operation is read-only, any side effects, or error conditions. The description adds some behavioral context but is not comprehensive given the lack of annotations.

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

Conciseness5/5

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

The description is concise (~50 words) and well-structured. It opens with the primary purpose, then clarifies a behavioral nuance, and ends with a concrete example. Every sentence adds value with no fluff. The structure front-loads the key information.

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 simple one-parameter tool with no output schema, the description adequately explains what is returned (inputs and formula) and includes the requiresPositive detail that aids interpretation. It also provides a try example. It does not explicitly state that it is read-only, but that is implicitly clear from the wording. Overall, enough for an agent to call it correctly.

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?

The schema already provides full documentation for the 'tool' parameter (100% coverage), including an example. The description reinforces that the slug comes from search_calculators and shows a try example, but this is mostly redundant. The baseline of 3 is appropriate since the schema handles the parameter explanation.

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 description clearly states the tool retrieves a calculator's inputs and formula, distinguishing it from running or searching. It uses a specific verb 'Get' and resource 'calculator's inputs' and explicitly mentions 'before running it,' which contrasts with run_calculator. This makes its purpose unambiguous.

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?

The description gives clear context: use this tool before running a calculator, and obtain the slug from search_calculators. It even provides a try example. It does not explicitly say 'use run_calculator for execution,' but the 'before running it' phrasing implies that. This is adequate usage guidance without being overly explicit about alternatives.

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