Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-variance

Variance: Calculate the variance of a set of numbers. Provide values or data array; returns sample variance. 🆓 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-variance"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNo
sampleNo
valuesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "values"
      +]
  2. Changed3 schema fields changed
    • removedInput schema / properties / data / description
      Removed value: -"Data to process"
    • removedInput schema / properties / sample / description
      Removed value: -"Sample to process"
    • removedInput schema / properties / values / description
      Removed value: -"Values to process"
  3. First observed

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the load: it discloses that the result is sample variance and that there is a 5-call free trial per signed wallet (auth/quota context). It omits what happens after the trial is exhausted, whether the call is metered/paid, and how errors surface.

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?

Two short sentences that front-load the core operation, with no filler prose. The emoji trial-call banner is marketing-flavored but short and does convey quota information.

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?

Three parameters at zero schema description coverage, no annotations, and no output schema, yet the description only explains two of the inputs and gives no detail on the shape of the return value. For a tool in an overlapping variance family, more disambiguation and parameter detail is needed.

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?

Schema coverage is 0%, so the description must compensate and only partially does: it maps 'values' and 'data' to the input list but never explains the 'sample' parameter, which is easily confused with the sample-variance semantics it already implies. It also says 'values or data array' while the schema marks values as required, creating ambiguity about whether data alone is acceptable.

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 verb and resource ('Calculate the variance of a set of numbers') and clarifies the output statistic is sample variance. It does not distinguish itself from the very similar siblings x402-sample-variance / x402-population-variance / x402-variance-population, leaving an agent to guess which variance variant to call.

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?

The only usage hint is 'Provide values or data array', which is about input form rather than when to choose this tool. Given multiple sibling variance tools exist, no condition, exclusion, or alternative is named.

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.