Skip to main content
Glama

math

math

Eval formulas, stats, finance (200 sats/call; free tier 100 calls/mo)

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": {
      "operation": "<operation>"
    },
    "name": "math"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearsNoTime horizon in years.
numbersNoArray of numbers for statistical calculations.
operationYesType of calculation.
principalNoPrincipal for compound interest.
expressionNoMath expression e.g., "sqrt(144) + sin(pi / 4) * 50" or array for stats.
ratePercentNoAnnual interest rate percentage.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

The description discloses cost and rate-limit behavior with 200 sats/call and a free tier of 100 calls/month, which is useful context beyond the openWorldHint annotation. However, it does not describe output format, computation limits, error behavior, or operation-specific behavior, so the disclosure is partial.

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?

The description is a single efficient sentence with no wasted wording and front-loads the tool's capabilities. It is somewhat abbreviated and lacks structure for the three operation modes, but it remains concise.

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?

For a tool with three calculation modes, six parameters, and no output schema, the description is too sparse. It does not explain operation selection, return values, parameter relationships, or computation constraints, leaving the agent to infer these details from the schema alone.

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%, so parameter meanings are already documented in the schema. The description only names broad categories and adds no additional parameter semantics beyond what the schema provides, making the baseline score 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 tool evaluates formulas, stats, and finance, which maps clearly to the operation enum. It is specific enough to identify the tool's purpose, though it does not distinguish it from sibling math-related tools or clarify the calculation modes in detail.

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?

The description gives no guidance on when to use eval versus stats versus finance_compound, nor when to prefer this tool over alternatives such as o_ip_math. The pricing note is useful context but is not usage guidance.

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