Skip to main content
Glama

x402-mean-squared-error

Mean Squared Error: Mean of squared error. 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
aNo
pNo
actualNo
predictedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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"
  2. 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"
      +}
  3. First observed

TDQS

D1.9/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 behavioral burden. It adds one genuinely useful fact — that calls are paid and 5 free trial calls are allowed per signed wallet, implying wallet signing/auth is required — but says nothing about output format, precision, rounding, or error behavior on malformed input.

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 text is short and front-loaded, so it wastes no space, but the first sentence is pure tautology and the second is pricing boilerplate rather than tool-specific information.

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

Completeness1/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 0% parameter documentation, the description is far too thin for a four-parameter statistical tool. An agent cannot determine input shape, return values, or how this differs from a dozen competing error-metric siblings.

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% across four parameters, yet the description explains none of them. Two parameters are opaque single letters ("a", "p") and the other two ("actual", "predicted") are undocumented strings with no stated format, ordering, or delimiter convention, leaving the agent unable to construct a valid call.

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

Purpose2/5

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

The description merely expands the acronym already present in the tool name: "Mean Squared Error: Mean of squared error." It states no verb, no scope, and gives no basis for distinguishing this from the numerous sibling error metrics such as x402-root-mean-squared-error, x402-mean-absolute-error, or x402-mean-abs-deviation.

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 guidance on when to use this tool, what inputs make sense, or which sibling metric to prefer instead. The only implied usage comes from the metric name itself, which the agent must already understand.

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