Skip to main content
Glama

FMF Tools Utilities

math_symbolic

Symbolic algebra: simplify, derivative, rationalize ($0.002 per call, paid via MPP on Tempo). Symbolic manipulation of an expression: simplify (with optional variable values), derivative with respect to a variable (any order), rationalize to a polynomial fraction, and evaluate the result at a point. Returns plain text and LaTeX. HTTP POST https://mpp-tools.fmf-x402.workers.dev/mpp/math/symbolic. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.

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": {
      "expr": "<expr>",
      "op": "<op>"
    },
    "name": "math_symbolic"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoevaluate the result at these values, e.g. {"x": 2}
opYes
exprYes
orderNoderivative order 1-5
variableNofor derivative (default x)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

No annotations exist, yet the description carries the important non-obvious operational behavior: a $0.002 per-call cost, that payment is mediated by MPP on Tempo, that this MCP wrapper does not itself settle payment, the required auth header, and the underlying HTTP endpoint. That is well above the norm for an unannotated tool. It does not disclose failure/charge behavior (e.g. whether a failed call is billed) or latency, which is why it is not a 5.

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 operation set and pricing are front-loaded, and the payment/auth caveat closes the text appropriately. There is some redundancy between 'Symbolic algebra: simplify, derivative, rationalize' and the following sentence that restates the same three operations, but overall it is dense and earns its length.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter, unannotated, no-output-schema tool, the definition covers operations, parameter intent, return format (plain text and LaTeX), cost, and payment mechanics, which is what an agent needs to invoke it successfully. The remaining gap is edge behavior — error responses, whether evaluation with 'at' is allowed for every op, and the order 1-5 ceiling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 60%, so the description must add value, and it does: it maps 'at' to evaluating at a point, 'variable' to the differentiation variable, and 'order' to derivative order, with the three 'op' enum values each explained. One small inaccuracy: it says derivative of 'any order' while the schema caps order at 1-5, a minor mismatch that could mislead on limits.

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 names the resource (symbolic algebra of an expression) and enumerates the three concrete operations: simplify, derivative, and rationalize, plus evaluation at a point. An agent can immediately tell this is a symbolic CAS-style tool rather than a numeric evaluator. It stops short of a 5 because it never explicitly contrasts itself with the numeric sibling math_eval.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Per-operation guidance is effectively given: simplify takes optional variable values, derivative takes a variable and order, rationalize produces a polynomial fraction, and 'at' evaluates the result. It also states the practical precondition for use (an MPP Payment Authorization header, or mppx against the HTTP route). It lacks explicit 'do not use this when…' exclusions, which keeps it below a 5.

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