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-sample-variance

Sample Variance: Computes the sample variance of an array, dividing by n minus 1 🆓 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": {
      "values": "<values>"
    },
    "name": "x402-sample-variance"
  }
}

Input Schema

NameRequiredDescriptionDefault
valuesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "values"
      +]
  2. Changed1 schema field changed
    • removedInput schema / properties / values / description
      Removed value: -"Values to process"
  3. Changed1 schema field changed
    • addedInput schema / properties / values
      Added value: +{
      +  "description": "Values to process",
      +  "type": "string"
      +}
  4. First observed

TDQS

B3/5.0
Behavior2/5

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

No annotations exist, so the description carries the full burden. The only behavioral detail is the commercial constraint ('5 free trial calls per signed wallet'), which does not explain input parsing, accepted formats, error behavior for n=1 (where sample variance is undefined), or the response shape.

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 computational definition is front-loaded in a single compact sentence with no filler. The trailing pricing note and emoji are non-essential but short enough not to obscure the core meaning.

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

Completeness3/5

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

For a simple one-parameter math utility with no output schema, the description covers what the tool computes. The missing input-encoding convention and undefined-value behavior (n < 2) are the notable gaps for an agent trying to call it successfully.

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

Parameters2/5

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

There is one parameter at 0% schema description coverage, and the schema types it as a bare string while the description only says 'of an array'. Whether the string should be JSON, comma-separated, or whitespace-separated is left entirely unexplained, which is a real invocation risk.

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?

States a specific computation (sample variance) and specifies the estimator by its divisor ('dividing by n minus 1'), which is exactly what separates it from population variance siblings. It does not name any sibling explicitly, so it falls short of a 5.

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

Usage Guidelines3/5

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

The 'n minus 1' phrasing implicitly tells an agent this is the unbiased/Bessel-corrected variant, which is useful selection guidance. However, there is no explicit when-to-use or when-not-to-use statement and no routing to the population-variance or variance alternatives in the sibling list.

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