Skip to main content
Glama
mg-math-mcp

mg-math-mcp

by MoongladeAI

calculate

Executes deterministic mathematical operations by routing each request through hierarchical basic, scientific, financial, and plugin registries, returning exact results with step-by-step proof receipts.

Instructions

Execute deterministic calculation through hierarchical registry (submodule -> domain -> basic)

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": "calculate"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNoKeyword arguments specific to the operation
operationYesOperation name (e.g. arithmetic, quadratic_formula, mortgage_emi, derivative, integral, constant)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. 'Deterministic' is a genuine signal that results are reproducible and side effects are unlikely, but there is no disclosure of error behavior for unknown operations, whether any operation mutates state, or rate/permission constraints.

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?

A single front-loaded sentence with no filler. The only weakness is that the parenthetical hierarchy notation is compressed to the point of near-unintelligibility rather than being explained or dropped.

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 a nested free-form args object, no output schema, and no annotations, the description does far too little. It omits how to enumerate valid operations, how args are shaped per operation, and what a result looks like — all things the structured fields do not supply.

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 coverage is 100% with descriptions for both parameters, so the baseline is 3. The description adds a mild hint about operation naming structure via the hierarchy notation, but says nothing about the nested 'args' object, whose keyword shapes vary per operation and are the main source of caller error.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a verb and resource ('Execute deterministic calculation') and names a routing mechanism ('hierarchical registry'), but the parenthetical 'submodule -> domain -> basic' is unexplained jargon rather than a concrete scope. An agent learns that calculations happen, but not what class of calculations this tool covers versus other tools.

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 when-to-use guidance and no mention of alternatives. The obvious prerequisite — discovering valid operation names via the sibling list_hierarchy tool — is never stated, even though 'operation' is a free-form string with no enum, leaving the agent to guess names.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools