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-mean-absolute-error

Mean Absolute Error: Mean absolute error. Takes actual and predicted (equal-length arrays). Returns the MAE as result. 🆓 5 free trial calls per signed wallet

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": {
      "actual": "<actual>"
    },
    "name": "x402-mean-absolute-error"
  }
}

Input Schema

NameRequiredDescriptionDefault
aNo
pNo
actualYes
predictedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "actual"
      +]
  2. Changed4 schema fields changed
    • removedInput schema / properties / a / description
      Removed value: -"A to process"
    • removedInput schema / properties / actual / description
      Removed value: -"Actual to process"
    • removedInput schema / properties / p / description
      Removed value: -"P to process"
    • removedInput schema / properties / predicted / description
      Removed value: -"Predicted to process"
  3. Changed4 schema fields changed
    • addedInput schema / properties / a
      Added value: +{
      +  "description": "A to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / actual
      Added value: +{
      +  "description": "Actual to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / p
      Added value: +{
      +  "description": "P to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / predicted
      Added value: +{
      +  "description": "Predicted to process",
      +  "type": "string"
      +}
  4. First observed

TDQS

C2.9/5.0
Behavior3/5

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

No annotations exist, so the description carries the full load: it correctly frames this as a pure computation with a deterministic 'returns the MAE as result' output and discloses a quota ('5 free trial calls per signed wallet'), which is genuine behavioral context an agent cannot get from schema or annotations. It is silent on what happens when arrays are unequal length or on payment failure 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.

Conciseness3/5

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

The middle content is appropriately short and front-loaded with the purpose and return value. However, the opening 'Mean Absolute Error: Mean absolute error.' is redundant restatement, and the emoji-laden quota line is appended without structural separation from the functional description.

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?

With no annotations, no output schema, and zero schema description coverage across four parameters, the description should resolve the ambiguity of the 'a'/'p' aliases versus 'actual'/'predicted' and the fact that only 'actual' is marked required. It fails to do so, leaving a real risk of malformed invocation.

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 0% and there are four parameters, yet the description only names two of them ('actual and predicted'), adding the meaningful equal-length array constraint. The alias parameters 'a' and 'p' appear nowhere in the description, so an agent must guess whether they duplicate or override the named fields.

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 gives a concrete resource (mean absolute error) and states the inputs and the returned value, so an agent knows exactly which computation happens. It does not explicitly distinguish itself from close siblings such as mean-squared-error or root-mean-squared-error, leaving that differentiation to the tool name.

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 / when-not-to-use guidance, no mention of which sibling metric to prefer when choosing an error metric, and no prerequisite or failure-mode advice beyond the 'equal-length arrays' input constraint. The only guidance present is about input shape, not tool selection.

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