Skip to main content
Glama

BOZOS

Exact rational arithmetic with no floating-point error

exactCalc
Read-onlyIdempotent

Exact rational arithmetic with no floating-point error. Same as GET https://bozos.si/api/v1/calc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
exprYesExpression using + - * / ^ ( ) decimals and e-notation; URL-encode + as %2B
digitsNoDecimal places for non-terminating results (default 50, max 1000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds no behavioral context beyond that — nothing about error behavior for malformed expressions, computation limits, or how non-terminating results are returned.

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?

Two short sentences with the core capability front-loaded. The second sentence is marginal (endpoint equivalence rather than capability detail) but costs little and is not padded.

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

Completeness3/5

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

With only two well-documented parameters and annotations covering safety, most of what an agent needs is present. However, there is no output schema and the description does not describe the return shape (e.g., exact rational vs. rounded decimal string), which is the one remaining gap for a computation tool.

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 description coverage is 100%, and the schema already documents the expression syntax, URL-encoding of '+', and the digits default/max, so the description carries no additional parameter meaning. Per the baseline rule for full coverage, 3 is appropriate.

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 states the resource and the distinguishing property ('exact rational arithmetic with no floating-point error'), which cleanly separates it from the math-adjacent siblings dateMath, countText and textStats. It is clear what the tool computes, though it never uses an explicit verb like 'evaluate' or says the input is a string expression.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives (e.g., dateMath for temporal arithmetic, or a floating-point path elsewhere), and no stated exclusions or prerequisites. The only usage-adjacent line points at an external HTTP endpoint rather than helping an agent decide to call this tool.

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