Skip to main content
Glama

x402-variance-sample

Variance Sample: Computes the sample variance of an array, dividing by n minus 1 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
valuesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • 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.7/5.0
Behavior2/5

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

No annotations are present, so the description carries the full behavioral burden. It discloses the estimator formula (n-1 denominator) and a free-trial quota for signed wallets, but says nothing about input format, error behavior, return shape, or what happens with degenerate inputs (n<2). For an unannotated tool this is thin.

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 core definition is one tight, front-loaded sentence. The appended free-trial blurb is promotional and not essential to invocation, though it does convey a 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?

With no annotations, no output schema, and a 0%-documented single string parameter, the description should compensate but does not. An agent knows what math happens but not how to format the input or what to expect back, so it is not complete enough to call confidently.

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% and the single parameter 'values' is typed as a string with no description. The description says the input is an 'array' but does not explain how an array is encoded into that string (comma-separated? JSON?), leaving the one parameter an agent must fill effectively undocumented and slightly contradictory with the schema type.

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 (computes) and resource (sample variance of an array) and even pins down the estimator by naming the n-1 divisor, which functionally distinguishes it from x402-variance-population and x402-population-variance in the sibling list. It never names those siblings explicitly, so the differentiation is implicit rather than routing-grade.

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 statement of when to pick this over the numerous adjacent variants (x402-variance, x402-sample-variance, x402-variance-population, x402-pooled-variance). The n-1 detail hints at the use case but the agent is left to infer the selection rule.

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