Skip to main content
Glama
devantage

MCP Calculator

by devantage

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
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
basic_mathA

Perform basic mathematical operations (add, subtract, multiply, divide).

Uses high-precision decimal arithmetic and rounds the result to precision decimal places (0-15). Supports two or more operands applied left to right.

advanced_mathA

Perform advanced mathematical functions (trigonometry, logarithms, etc.).

Trig functions accept unit='degrees' to convert the input; inverse trig functions return degrees when unit='degrees'. pow uses exponent. Domain rules: log/ln require positive input, sqrt non-negative, factorial a non-negative integer <= 170, exp argument <= 700.

expression_evalA

Evaluate mathematical expressions with variable substitution.

Supports +, -, *, /, %, ^ (power), parentheses, comparison/logical operators, the constants pi/e (and PI/E), and the functions sin, cos, tan, asin, acos, atan, log (base 10), ln, sqrt, pow, abs, exp, factorial. Variable names must start with a letter and may not collide with reserved names.

statistics_analysisA

Perform statistical analysis on data sets.

Standard deviation and variance use the sample estimator (n-1). The percentile operation returns the 25/50/75/90/95/99th percentiles.

unit_conversionC

Convert between different units of measurement.

Categories and units — length: mm, cm, m, km, in, ft, yd, mi, mil, μm, nm; weight: mg, g, kg, t, oz, lb, st, ton; temperature: C, F, K, R; volume: ml, cl, dl, l, kl, fl_oz, cup, pt, qt, gal, tsp, tbsp, bbl; area: mm2, cm2, m2, km2, in2, ft2, yd2, mi2, acre, ha.

financial_calcA

Perform financial calculations (interest, loans, ROI).

Rates are percentages. compound_interest/present_value/future_value default to annual compounding (periods=1); loan_payment defaults to monthly (periods=12). roi uses principal (initial) and future_value (final).

stats_summaryA

Get comprehensive statistical summary of a dataset.

Returns count, mean, median, standard deviation, variance, range, min, max and the 25/50/75th percentiles in a single call.

percentileC

Calculate a specific percentile (0-100) of a dataset.

batch_conversionB

Convert multiple values between units in a single call.

npvB

Calculate Net Present Value of a series of cash flows.

irrB

Calculate Internal Rate of Return of cash flows (Newton-Raphson).

loan_comparisonA

Compare multiple loan options and identify the lowest monthly payment.

Each loan object accepts the same fields as financial_calc loan_payment (principal, rate, time, periods). Invalid loans are reported per-index rather than aborting the whole comparison.

investment_scenariosA

Compare multiple investment scenarios and identify the highest return.

Each scenario defaults to compound_interest but may set operation to any supported financial operation. Invalid scenarios are reported per-index.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/devantage/mcp-calculator'

If you have feedback or need assistance with the MCP directory API, please join our Discord server