Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as 三域医研 · 科研算法引擎 (SanYu Research Engine). If you published it, claim ownership there.

Bootstrap 置信区间

act_bootstrap_ci
Read-only

Bootstrap 置信区间 数据分布偏态明显、t 检验的置信区间不可信,用重抽样给出稳健区间 Bootstrap 置信区间

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": {
      "data": "<data>"
    },
    "name": "act_bootstrap_ci"
  }
}

Input Schema

NameRequiredDescriptionDefault
ciNo区间宽度,默认 0.95
dataYes样本数值序列(一维数值数组,至少 2 个)。statistic 可选 mean/median,n_boot 默认 1000,ci 默认 0.95。
n_bootNo重抽样次数,默认 1000
statisticNo统计量:mean(默认)/ median

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / data / description
      Previous value: -"样本数值序列"New value: +"样本数值序列(一维数值数组,至少 2 个)。statistic 可选 mean/median,n_boot 默认 1000,ci 默认 0.95。"
  2. Added

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the bar is low, yet the description adds essentially nothing beyond them — it repeats the schema defaults (n_boot 1000, ci 0.95, statistic mean/median) rather than explaining behavior. It never says what the tool returns (interval bounds, method used) or how expensive the resampling is, which matters with n_boot up to arbitrary sizes.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The string is a run-on with no sentence separation, and the phrase "Bootstrap 置信区间" appears twice bracketing the one informative clause. Only the middle clause earns its place; the rest is duplicated naming rather than front-loaded, structured guidance.

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?

With four simple parameters and annotations covering safety, the description need not be long, but since there is no output schema it should say what comes back (lower/upper bounds, resampling method). As written, an agent knows the trigger condition but not the result shape.

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 the parameters are already documented and the baseline is 3. The description merely echoes those defaults, and it awkwardly nests statistic/n_boot/ci guidance inside the `data` parameter, adding no new meaning such as unit expectations or what values `ci` accepts.

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

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the method (bootstrap resampling for a robust interval) but it opens and closes with the literal title "Bootstrap 置信区间", so the only real content is a mid-sentence clause about resampling. It does not distinguish this from the other confidence-interval siblings (act_bayes_ci, act_quantiles_ci, act_median_survival_ci), leaving the agent to infer the boundary.

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

Usage Guidelines3/5

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

There is an explicit trigger condition: skewed data where the t-test interval is unreliable. That is real when-to-use context, but there is no when-not-to-use guidance and no named alternative (e.g. Bayesian or quantile CI) for the many cases where a different CI tool is the better pick.

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