Skip to main content
Glama

x402-covariance-sample

Covariance Sample: Computes sample covariance of two numeric arrays x and y, dividing by n minus 1 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
aNo
bNo
xNo
yNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / properties / a / description
      Removed value: -"A to process"
    • removedInput schema / properties / b / description
      Removed value: -"B to process"
    • removedInput schema / properties / x / description
      Removed value: -"X to process"
    • removedInput schema / properties / y / description
      Removed value: -"Y to process"
  2. Changed4 schema fields changed
    • addedInput schema / properties / a
      Added value: +{
      +  "description": "A to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / b
      Added value: +{
      +  "description": "B to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / x
      Added value: +{
      +  "description": "X to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / y
      Added value: +{
      +  "description": "Y 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?

No annotations are provided, so the description carries the full burden. It does disclose a genuine behavioral trait — the n-1 (unbiased sample) estimator — and hints at the x402 payment model ('signed wallet'), which matters for invocation. However, it says nothing about how arrays must be supplied (both params are typed as strings), error behavior, or length-mismatch handling.

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?

One front-loaded sentence gives the computation and is not padded. The emoji plus free-trial/wallet note is marketing rather than tool semantics, but it is short and carries mild operational value for a paid x402 endpoint.

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?

For a four-parameter tool with no annotations, no output schema, and zero schema descriptions, the description is not complete enough. It leaves the a/b parameters unexplained and does not specify the serialization format for the string-typed 'numeric arrays', which is the single detail an agent must know to call it correctly.

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 description coverage is 0% across all four parameters. The description names only 'x and y' and explains they are numeric arrays, leaving the two extra parameters 'a' and 'b' entirely undocumented in both schema and prose. An agent has no basis for deciding whether a/b are required or what they do.

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 ('Computes sample covariance of two numeric arrays x and y') and even names the estimator (divide by n-1), which distinguishes it from population covariance. It never mentions the sibling tools x402-covariance or x402-covariance-matrix, so an agent cannot tell from the text which variance/covariance variant 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 when-to-use guidance, no exclusions, and no reference to the near-identical siblings (x402-covariance, x402-covariance-matrix). The agent must infer applicability purely from the mathematical phrasing.

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