Skip to main content
Glama

get_calc

Read-onlyIdempotent

Exact math for agents — the arithmetic LLMs get plausibly wrong. Evaluates an expression at 50-significant-digit precision (BigNumber): big-integer multiplication, high-precision division, roots, logs, factorials, unit conversions (12 inch to cm). GET ?expr=…, result returned as an exact string. Deterministic, no AI, never executed as code. ($0.001 per call, paid via x402)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
exprYesMath expression, max 400 chars — e.g. '2^128', 'sqrt(2)', '12 inch to cm'

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
exprNo
typeNo
resultNoexact result as a string
result_numberNofloat64 companion when finite

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already cover readOnlyHint, openWorldHint, idempotentHint, and destructiveHint. The description adds valuable details: 50-significant-digit precision (BigNumber), deterministic behavior, no AI or code execution, cost per call ($0.001 per x402), and that the result is an exact string. No contradiction.

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 four sentences, each adding significant value. It starts with a clear, engaging hook ('Exact math for agents'), then lists capabilities, usage example, and key traits. No extraneous words.

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?

Given the tool has one parameter, a clear schema, and an output schema (implied by 'result returned as an exact string'), the description fully covers what an agent needs: purpose, capabilities, precision, constraints, pricing, and deterministic nature. No gaps remain.

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?

The input schema has 100% coverage with a description. The description reinforces the format with examples and adds the constraint of max 400 characters. This goes slightly beyond the schema, earning a 4.

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 that the tool performs exact math, and lists specific operations (multiplication, division, roots, logs, etc.) and the use case (arithmetic LLMs get wrong). It differentiates itself from sibling math tools (like get_calc_dates, get_convert) by focusing on high-precision arithmetic.

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 implies when to use this tool: for arithmetic that LLMs are likely to get wrong. It doesn't explicitly exclude alternatives, but the context (50-digit precision, deterministic, no AI) strongly suggests using it for high-stakes math. A brief note on when not to use it would improve clarity.

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

A3.9/5.0
Disambiguation4/5

Most tools have distinct purposes, but the SEO-related tools (head_check, full_audit, site_audit, etc.) overlap in scope, potentially causing confusion despite clear descriptions.

Naming Consistency5/5

Tool names consistently follow a get_/post_/delete_ verb pattern with descriptive noun phrases (e.g., get_seo_head_check, post_store_collection), with no mixing of naming conventions.

Tool Count2/5

With 46 tools covering a wide breadth of domains (SEO, accessibility, music, crypto, linting, etc.), the count is excessive for a single server, feeling unfocused and heavy.

Completeness4/5

The tool set covers most core operations for each sub-domain, but minor gaps exist (e.g., missing update for datastore, limited music operations).