Skip to main content
Glama

util_anova

Read-only

One-way ANOVA with Welch, Kruskal-Wallis and pairwise tests — Compare means of 2-30 groups. groups= each group a comma list, groups separated by ; (required). Optional names= (comma group names), alpha=0.05. Returns the ANOVA table (SS, df, MS), F, p, eta and omega squared, Welch ANOVA (unequal variances), Brown-Forsythe/Levene variance test, Kruskal-Wallis H, and pairwise Welch t-tests with Holm-adjusted p-values, plus MEANS_DIFFER/NO_SIGNIFICANT_DIFFERENCE verdict. Offline; matches scipy f_oneway/kruskal/levene. Price: $0.003 USDC (Base, via x402).

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": {
      "groups": "<groups>"
    },
    "name": "util_anova"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupsYes23,25,21,24;30,28,33,29;22,24,20,23

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=true, destructiveHint=false), and the description adds meaningful context beyond them: execution is offline and scipy-equivalent, and each call costs $0.003 USDC via x402 — a cost signal the agent needs before invoking. Minor tension exists between 'Offline' and openWorldHint=true, but the payment path largely explains it, so it is not a true contradiction.

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?

Purpose and the required input format are front-loaded, and the return-value inventory is dense but skimmable. It runs long and stacks output statistics and pricing into the same block, but nearly every sentence carries information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description correctly shouldered the burden of explaining returns and does so thoroughly (ANOVA table, F, p, effect sizes, variance tests, adjusted pairwise p-values, and a verdict). The only real gap is the mention of optional parameters absent from the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3; the description does add the delimiter syntax (comma-separated values per group, groups separated by ';') which is genuinely useful. But it also advertises optional 'names=' and 'alpha=0.05' arguments that do not appear in the input schema, which could lead an agent to pass nonexistent parameters, offsetting the gain.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/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 ('One-way ANOVA with Welch, Kruskal-Wallis and pairwise tests') and defines the exact comparison scope ('Compare means of 2-30 groups'). An agent can immediately tell this is a statistical group-comparison tool, distinct from siblings like util_chi_square or util_regression.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a concrete applicability bound — 2-30 groups — and the required input shape, which tells the agent when the tool fits. However, it never states when NOT to use it or name an alternative (e.g. a two-sample test or the regression sibling) for other scenarios, leaving selection unstated.

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