Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as minia2a — hosted x402 API marketplace (HTTP). If you published it, claim ownership there.

x402-math

Math: Safe math expressions. 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
qNo
exprNo
expressionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / allOf
      Added value: +[
      +  {
      +    "anyOf": [
      +      {
      +        "required": [
      +          "expr"
      +        ]
      +      },
      +      {
      +        "required": [
      +          "expression"
      +        ]
      +      },
      +      {
      +        "required": [
      +          "q"
      +        ]
      +      }
      +    ]
      +  }
      +]
  2. Changed3 schema fields changed
    • removedInput schema / properties / expr / description
      Removed value: -"Expr to process"
    • removedInput schema / properties / expression / description
      Removed value: -"Expression to process"
    • removedInput schema / properties / q / description
      Removed value: -"Q to process"
  3. First observed

TDQS

C2.2/5.0
Behavior2/5

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

With no annotations at all, the description carries the full burden, yet "Safe" is never defined — no indication of whether it means sandboxed evaluation, no arbitrary code execution, restricted operator set, or numeric precision limits. It does disclose one real behavioral fact (5 free trial calls per signed wallet, implying wallet auth and paid calls afterward), which prevents a 1.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short fragments, front-loaded with the topic and free of filler, so nothing is wasted. But the brevity is under-specification rather than density — there is simply too little content for a tool with three undocumented parameters.

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?

No output schema and no annotations, so the description is the only source of behavioral and return-shape information, and it omits what expressions are supported (operators, functions, precision, error handling) and what comes back. Only the pricing/auth note adds anything beyond the name.

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

Parameters1/5

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

Schema description coverage is 0%, and the description contributes nothing about the three parameters — critically, it never says that q, expr, and expression are interchangeable aliases for the same expression string and that exactly one is required. That aliasing is the single most important thing an agent needs to know here and it is left entirely to schema inference.

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?

"Math: Safe math expressions" communicates the resource (math expressions) and implies evaluation, but never names an explicit verb like evaluate or calculate. With a sibling named x402-date-math, the description does nothing to distinguish general math from date math, leaving the agent to guess at scope.

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?

There is no when-to-use guidance, no mention of when to prefer x402-date-math or any other sibling, and no stated preconditions beyond a pricing note. The '5 free trial calls per signed wallet' line is billing context, not selection 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