Skip to main content
Glama

Statistics toolbox (97 tests) / 统计中心(97 个统计工具统一入口)

stats_toolbox
Read-only

Statistics toolbox (97 tests) / 统计中心(97 个统计工具统一入口) | USE WHEN: any statistical test not covered by a dedicated tool: Kappa, ICC, Bland-Altman, VIF, PCA, cluster, Friedman, McNemar, runs test, sign test, trend chi-square, meta-analysis pieces — pass tool_id | ALIASES: 统计检验, Kappa, ICC, Bland-Altman, VIF, PCA, 聚类, Friedman, McNemar, 游程 | RETURNS: 该统计工具的完整结果(含统计量、P 值、95%CI、解读)

Input Schema

NameRequiredDescriptionDefault
payloadNo该工具需要的数据字段(不要把数据包成字符串)。常见字段:group1/group2(两组数值数组)、groups({组名:[数值]})、values、x/y、time/event、gold/score、es/se(效应量与标准误)、m1/m2、r1/r2、row_var/col_var、features/label
tool_idYes统计工具 id,必须是下列之一:比较差异[ttest,welch,mwu,wilcoxon,anova,welchAnova,kw,friedman,rmAnova,ancova,chi2,fisher,mcnemar,cochranQ,posthoc,multicorr,homogeneity,normality,brunner,signTest,runsTest,effectSize,pInverse]、找关系[pearson,spearman,kendall,linearReg,multiLinear,logistic,logisticModel,vif,regDiag,icc,blan

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered structurally; the description adds the return contract (statistic, P value, 95% CI, interpretation) that annotations cannot express. It does not disclose failure behavior for an invalid or mismatched tool_id/payload combination, which for a 97-way dispatcher would be the most valuable added detail.

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?

Front-loaded with the USE WHEN condition before aliases and returns, and each tag block carries distinct information. The multilingual ALIASES list is long relative to its value for an agent and adds bulk, but it is at least clearly delimited rather than woven into prose.

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

Completeness3/5

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

For a 2-parameter dispatcher with no output schema, the description covers what it does, when to call it, and the return shape. What is missing is guidance on composing the nested payload per selected tool and on behavior when tool_id and payload disagree, which matters given 97 possible parameter shapes.

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 description coverage is 100%, and the payload property already enumerates the common field shapes (group1/group2, groups, values, x/y, es/se, features/label), so the schema does the heavy lifting. The description only echoes 'pass tool_id'. Baseline 3 applies since little meaning is added beyond the structured fields.

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 names the resource (a bundle of 97 statistical tests behind a single tool_id) and gives concrete example families (Kappa, ICC, Bland-Altman, VIF, PCA, Friedman, McNemar, runs test). It explicitly positions itself relative to siblings with 'any statistical test not covered by a dedicated tool'. The boundary is still fuzzy, however: siblings like tukey_hsd, dunn_posthoc and two_way_anova overlap with tool_ids listed in the schema (posthoc, anova), so an agent cannot fully resolve routing from the text alone.

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?

A clear 'USE WHEN' clause states the selection condition: tests lacking a dedicated tool, with a concrete list of covered test families. This is more than implied usage. It stops short of explicit exclusions or a decision rule for the overlapping sibling tools (e.g., when to prefer tukey_hsd over this tool's posthoc id), which keeps it below a 5.

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