Skip to main content
Glama

Friendly Calculator

Run a Friendly Calculator calculation

calculate

Runs one of the 20 API-enabled calculators. Anonymous callers receive up to 10 free calculations per UTC day and 5 per minute per IP; API-key callers use their existing account quota. Inputs are validated server-side.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "calculator": "<calculator>",
      "inputs": "<inputs>"
    },
    "name": "calculate"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputsYes
calculatorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does deliver real behavioral context: anonymous daily (10/UTC day) and per-minute (5/min/IP) limits, API-key quota behavior, and server-side validation. It omits what a successful call returns, what validation failures look like, and whether inputs differ per calculator, which matters given there is no output schema.

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?

Three tight sentences, front-loaded with the core action, followed by quota facts and a validation note. Nothing is padding, though the quota detail occupies more space than the undocumented inputs contract deserves.

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

Completeness2/5

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

This is a nested-object tool with no annotations and no output schema, so the description should explain the inputs contract and the return shape. It spends its words on rate limits instead and leaves the harder question — what to put in 'inputs' for a given calculator — entirely unanswered.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate, and it explains nothing about the two required parameters. The 'calculator' enum is self-evident from the schema, but the free-form 'inputs' object (nested, anyOf string/number/boolean) is completely unexplained — an agent has no way to know which keys each calculator requires.

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?

States a specific verb and resource ('Runs one of the 20 API-enabled calculators') and names the calculator set, which lets an agent map it to the enum. It does not, however, distinguish itself from the sibling list_supported_calculators or explain that the sibling is how you discover which calculators exist.

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 when-to-use-vs-alternatives guidance, no prerequisites, and no mention of the sibling discovery tool. The quota sentences imply callers should be mindful of volume but never tell an agent when this tool is or is not the right choice.

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.