Skip to main content
Glama

SanYu Research Engine

act_stat_center

Read-only

【统计中心(97 个统计工具统一入口)】 用户要跑的统计检验没被其他专门工具覆盖时用这个:比较差异、找关系、看生存、做诊断、队列预处理、综合证据六类共 97 个工具(Kappa、Bland-Altman、ICC、VIF、PCA、聚类、Friedman、McNemar、游程、符号检验、趋势卡方、Meta 各件等都从这里走) 返回:该统计工具的完整结果(含统计量、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. First observed

TDQS

A4.1/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. The description adds genuinely non-redundant context: results are computed by a real algorithm engine rather than generated by an LLM, and the return includes the statistic, P value, 95% CI and an interpretation. It does not discuss failure modes such as an invalid tool_id or malformed payload.

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 structure is front-loaded: bracketed identity, then the when-to-use rule, then the category/method inventory, then the return contract. Every part maps to a decision the agent must make. The long parenthetical method list is somewhat padded, though it does serve selection.

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?

For a dispatcher over a nested payload with 100% schema coverage and no output schema, the description covers routing, execution semantics and return contents, which is most of what an agent needs. What remains thin is guidance on payload shape per tool family, though the schema description enumerates the common field names.

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%, so both tool_id and payload are already documented, including the enum list and the common payload field names. The description's contribution is mainly the six-category grouping and method examples, which help map a user request onto a tool_id but largely restate the schema enum. Baseline 3 is appropriate given the schema does the heavy lifting.

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 role: a single dispatch entry point that runs any of 97 statistical tests selected by tool_id, grouped into six named categories (difference comparison, association, survival, diagnostics, cohort preprocessing, evidence synthesis). It enumerates concrete example methods (Kappa, Bland-Altman, ICC, VIF, PCA, Friedman, McNemar, runs test, sign test, trend chi-square, Meta components), so an agent immediately knows this is a router for statistical analysis rather than a single-test tool.

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 an explicit selection rule: use this when the desired statistical test is not already covered by a dedicated sibling tool. That is a real when-to-use condition tied to the alternative set. It stops short of naming which siblings take precedence (e.g. act_tukey_hsd, act_km_curve, act_roc, act_two_way_anova, act_distribution_fit), so the agent must still infer the boundary cases.

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