Skip to main content
Glama

Friendly Calculator

Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Friendly Calculator. If you published it, claim ownership there.

Run a Friendly Calculator calculation

calculate

Computes 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. This operation updates usage/quota metering only; it does not create, edit, or delete user content.

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

B3.1/5.0
Behavior4/5

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

Annotations mark this as non-readOnly but non-destructive; the description resolves that apparent tension by explaining that the only side effect is usage/quota metering and no user content is created, edited, or deleted. It also discloses concrete rate limits (10/day, 5/minute per IP) and that inputs are validated server-side, which annotations cannot convey.

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 front-loaded sentences, each carrying distinct information: scope, limits, and side-effect profile. Slightly dense but no filler or redundancy.

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?

With a nested free-form object parameter at 0% schema coverage and no output schema, the description should clarify the shape of 'inputs' per calculator and what the result contains. It covers safety and quota behavior well but leaves the core calling contract underspecified.

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% for two required parameters, and the description adds nothing about them. It never explains that 'inputs' is a per-calculator keyed object whose required keys differ by calculator, nor how to discover the valid keys — the single biggest usability gap in this definition.

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 ('computes') and resource ('one of the 20 API-enabled calculators'), which is far more informative than the title. It does not name the sibling list_supported_calculators, so the boundary between 'discover calculators' and 'run a calculator' is left implicit.

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?

No explicit when-to-use guidance or alternatives are given; the sibling list_supported_calculators is never referenced, even though an agent needs it to learn which inputs each calculator expects. The quota sentences describe cost of use but not selection criteria.

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