Skip to main content
Glama

x402-variance

Variance: Calculate the variance of a set of numbers. Provide values or data array; returns sample variance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoData to process
sampleNoSample to process
valuesNoValues to process

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / values
      Added value: +{
      +  "description": "Values to process",
      +  "type": "string"
      +}
  2. First observed

TDQS

C2.6/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 behavioral burden. It mentions the result is sample variance, which is a useful trait, but says nothing about accepted input format (numeric string? delimiter?), empty/singleton input handling, error behavior, or precision. For a schema with three interchangeable-looking string params, this leaves the agent guessing.

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?

It is short and front-loaded with the purpose, which is good. But it is under-specified rather than tight: the second clause muddles inputs and output into one fragment and could have been spent clarifying the three ambiguous parameters instead.

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 annotations and no output schema mean the description must do all the work, and it does not. It omits input format, edge-case behavior, and any sibling disambiguation for a tool sitting among several near-identical variance tools, leaving real gaps for correct invocation.

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?

Although schema coverage is nominally 100%, the param descriptions are tautological ('Data to process', 'Sample to process', 'Values to process') and add nothing. The description clarifies only two of the three ('values or data array') and leaves the 'sample' parameter unexplained, which is worse because it clashes with the stated 'returns sample variance' behavior and forces the agent to guess which param to populate.

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 (Calculate) and resource (variance of a set of numbers), and specifies the output is sample variance. However, it never differentiates itself from the many overlapping siblings like x402-sample-variance, x402-population-variance, or x402-variance-sample, so an agent cannot route between them from the description alone.

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 description offers no when-to-use guidance and no alternatives despite a crowded sibling set of variance/stddev tools. The phrase 'Provide values or data array' hints at input but does not say when this tool is preferable to x402-sample-variance or x402-variance-sample.

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