Skip to main content
Glama
KonghuanSmart

calculate-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
addA

Adds two numbers. For several operations or chained steps in one call, use batch_calc.

subtractA

Subtracts the second number from the first. For several operations or chained steps in one call, use batch_calc.

multiplyA

Multiplies two numbers. For several operations or chained steps in one call, use batch_calc.

divisionA

Divides the first number by the second. For several operations or chained steps in one call, use batch_calc.

sumA

Adds any number of numbers together. For several operations or chained steps in one call, use batch_calc.

moduloA

Returns the remainder of a division. For several operations or chained steps in one call, use batch_calc.

floorA

Rounds a number down to the nearest integer. For several operations or chained steps in one call, use batch_calc.

ceilingA

Rounds a number up to the nearest integer. For several operations or chained steps in one call, use batch_calc.

roundA

Rounds a number to the nearest integer. For several operations or chained steps in one call, use batch_calc.

meanA

Calculates the arithmetic mean of a list of numbers. For several operations or chained steps in one call, use batch_calc.

medianA

Calculates the median of a list of numbers. For several operations or chained steps in one call, use batch_calc.

modeA

Finds the most common number in a list of numbers. For several operations or chained steps in one call, use batch_calc.

minA

Finds the minimum value from a list of numbers. For several operations or chained steps in one call, use batch_calc.

maxA

Finds the maximum value from a list of numbers. For several operations or chained steps in one call, use batch_calc.

sinA

Calculates the sine of a number in radians. For several operations or chained steps in one call, use batch_calc.

arcsinA

Calculates the arcsine (in radians) of a number. For several operations or chained steps in one call, use batch_calc.

cosA

Calculates the cosine of a number in radians. For several operations or chained steps in one call, use batch_calc.

arccosA

Calculates the arccosine (in radians) of a number. For several operations or chained steps in one call, use batch_calc.

tanA

Calculates the tangent of a number in radians. For several operations or chained steps in one call, use batch_calc.

arctanA

Calculates the arctangent (in radians) of a number. For several operations or chained steps in one call, use batch_calc.

radiansToDegreesA

Converts radians to degrees. For several operations or chained steps in one call, use batch_calc.

degreesToRadiansA

Converts degrees to radians. For several operations or chained steps in one call, use batch_calc.

int_convertA

Converts integer(s) to Hex/Dec/Bin/Oct, 8/16/32/64-bit signed/unsigned, Little-Endian and ASCII. For several operations or chained steps in one call, use batch_calc.

bitwiseA

Performs bitwise operations (AND, OR, XOR, NOT, SHL, SHR, SAR, ROL, ROR) with 8/16/32/64-bit width. For several operations or chained steps in one call, use batch_calc.

endian_swapA

Swaps endianness (Big-Endian <-> Little-Endian) for hex values, numbers, or byte streams. For several operations or chained steps in one call, use batch_calc.

ieee754_convertA

Converts and decomposes between Float/Double numbers and IEEE 754 binary/hex layout (Sign, Exponent, Mantissa). For several operations or chained steps in one call, use batch_calc.

crypto_calcA

Computes cryptographic hashes (MD5, SHA1, SHA256), CRC checksums (CRC32, CRC16), and modular arithmetic (mod_pow, mod_inverse, gcd). For several operations or chained steps in one call, use batch_calc.

data_codecA

Encodes and decodes data between Base64, Hex, ASCII/UTF-8 string, and URL formats. For several operations or chained steps in one call, use batch_calc.

batch_calcA

Executes multiple calculation steps in one call and returns all results at once.

Steps run sequentially in array order. Each step is {"op": "", "args": {...}}, where "op" is any of: add, subtract, multiply, division, sum, modulo, floor, ceiling, round, mean, median, mode, min, max, sin, arcsin, cos, arccos, tan, arctan, radiansToDegrees, degreesToRadians, int_convert, bitwise, endian_swap, ieee754_convert, crypto_calc, data_codec.

Chaining: an argument value may be a reference to an earlier step's result: {"$step": } -> the whole result of that step {"$step": , "field": ""} -> a specific field of that step's object result (required when the result is an object, e.g. "resultHex", "decimal", "hex", "base64")

References only point to earlier steps (index < current). Returns a compact JSON array in step order, each item {step, op, status, result|error|reason}. A step is "skipped" only if a step it depends on failed; unrelated steps still run.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 29 tools

Disambiguation3/5

Most tools have clearly distinct purposes, but `add` and `sum` overlap heavily since both perform addition and differ only in arity. The broad utility tools (`int_convert`, `bitwise`, `crypto_calc`, `data_codec`) also have somewhat fuzzy boundaries, though their descriptions help.

Naming Consistency2/5

Naming conventions are mixed: simple lowercase verbs (`add`, `subtract`), noun-like names (`division`, `ceiling`), camelCase (`radiansToDegrees`, `degreesToRadians`), and snake_case (`int_convert`, `endian_swap`, `crypto_calc`). This inconsistent pattern makes it harder to predict tool names.

Tool Count2/5

With 29 tools, the server is in the over-expanded range, especially since `batch_calc` already exists to compose operations. Many simple operations could be grouped into broader tools, though the broad calculation domain keeps it from being an extreme mismatch.

Completeness3/5

The server covers arithmetic, statistics, trigonometry, rounding, bitwise operations, encoding, hashing, and conversions quite well. However, common basic operations such as exponentiation, square root, logarithms, and absolute value are missing, leaving notable gaps for a general-purpose calculation tool.

Maintenance

ActivityMaintained
ResponsivenessNo issues