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.

贝叶斯均值可信区间

act_bayes_ci
Read-only

贝叶斯均值可信区间 要报告「均值有 95% 概率落在哪」这类可信区间,而不是频率学派的置信区间 后验均值与可信区间

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_bayes_ci"
  }
}

Input Schema

NameRequiredDescriptionDefault
ciNo可信区间宽度,默认 0.95
dataYes样本数值序列(一维数值数组,至少 2 个观测)。返回后验均值与可信区间;ci 默认 0.95,即 95% 可信区间。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / data / description
      Previous value: -"样本数值序列"New value: +"样本数值序列(一维数值数组,至少 2 个观测)。返回后验均值与可信区间;ci 默认 0.95,即 95% 可信区间。"
  2. Added

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so the safety profile is covered and the description only needs to add computation-level context. It does state the return contents (posterior mean and credible interval), but is silent on the prior used, assumptions, and minimum sample behavior — material omissions for a Bayesian method, though the 2-observation minimum appears in the schema.

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

Conciseness3/5

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

Very short and front-loaded, but the opening phrase simply restates the tool title verbatim before any guidance, and the chained fragments ("...置信区间 后验均值与可信区间") read as stitched phrases rather than a structured sentence. Little text is wasted in absolute terms, but the first clause earns nothing.

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 no output schema, it is helpful that the description discloses the returned values (posterior mean + interval). Still, for a 2-parameter inferential tool it omits prior specification and any note on numerical failure modes, leaving an agent unable to explain the result's assumptions to a user.

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 the ci and data parameters are already documented with defaults and the ≥2 observation constraint. The description merely echoes the 95% credible-interval default and adds no format or edge-case meaning beyond the schema; baseline 3 applies.

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 a specific statistical procedure — the Bayesian credible interval for a mean — and explicitly contrasts it with the frequentist confidence interval, which is the key conceptual distinction. It does not name a concrete sibling (e.g., act_bootstrap_ci or act_quantiles_ci) that implements the frequentist alternative, so differentiation is conceptual rather than tool-to-tool.

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?

It provides a usable trigger condition ("report 'where the mean falls with 95% probability'") and an exclusion ("not the frequentist confidence interval"), which is more than implied usage. However, it never names which sibling to use for the frequentist case, so the agent must guess among act_bootstrap_ci, act_quantiles_ci, etc.

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