Skip to main content
Glama

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

Input Schema

NameRequiredDescriptionDefault
dataNo
sampleNo
valuesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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"
  2. Changed1 schema field changed
    • addedInput schema / properties / values
      Added value: +{
      +  "description": "Values to process",
      +  "type": "string"
      +}
  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 full burden, and it does disclose two real behavioral facts: the result is the sample variance (not population), and access requires a signed wallet with 5 free trial calls. It omits edge-case behavior (single value, empty input, non-numeric entries) and any error or payment-failure semantics.

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 sentences plus a short pricing line, with the core purpose front-loaded. The emoji trial banner is promotional but does carry the free-call quota, so it is not pure waste.

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, no annotations, three undocumented parameters, and ambiguous overlap with sibling tools. For a statistical tool where sample-vs-population choice is the central decision, the description leaves too much for the agent to infer.

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% across three string parameters, so the description must compensate. It mentions 'values or data array', covering two of the three parameters loosely, but leaves the 'sample' parameter completely unexplained — ambiguous name and type, and plausibly a boolean-like flag for sample vs population, which conflicts with the stated fixed sample-variance output.

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 states a specific verb and resource — calculating the variance of a set of numbers — and adds the return semantics ('returns sample variance'). It does not, however, distinguish itself from near-identical siblings such as x402-variance-sample, x402-variance-population, and x402-sample-variance, so an agent cannot tell which one to pick.

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 versus the four sibling variance tools, nor on prerequisites such as minimum number of values. The only usage hint is 'Provide values or data array', which is input plumbing rather than 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