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_median_survival_ci
Read-only

中位生存时间及置信区间 生存分析要报告「中位生存期 XX 个月(95%CI: a–b)」 中位生存时间与 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": {
      "times": "<times>",
      "events": "<events>"
    },
    "name": "act_median_survival_ci"
  }
}

Input Schema

NameRequiredDescriptionDefault
timesYes随访时间(一维数值数组,须 >0)。与 events 等长;基于 KM 反演中位生存期与其 95%CI(Brookmeyer-Crowley)。
eventsYes结局事件,1=发生、0=删失。与 times 等长;全删失时中位生存期不可得,接口会如实说明而不是给一个假数。
group_idsNo分组标记(一维数组,长度=样本数)。传了则按组分别给中位生存期与 CI,并能做组间比较;不传只给总体。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / events / description
      Previous value: -"结局事件,1=发生、0=删失"New value: +"结局事件,1=发生、0=删失。与 times 等长;全删失时中位生存期不可得,接口会如实说明而不是给一个假数。"
    • changedInput schema / properties / group_ids / description
      Previous value: -"分组标记,传了则按组分别给中位生存"New value: +"分组标记(一维数组,长度=样本数)。传了则按组分别给中位生存期与 CI,并能做组间比较;不传只给总体。"
    • changedInput schema / properties / times / description
      Previous value: -"随访时间"New value: +"随访时间(一维数值数组,须 >0)。与 events 等长;基于 KM 反演中位生存期与其 95%CI(Brookmeyer-Crowley)。"
  2. Added

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, and the schema descriptions carry the substantive behavioral notes (KM inversion, honest handling of all-censored data). The description adds nothing beyond this — it does not say what is returned, whether a group comparison is included, or how results are reported.

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?

It is short and front-loaded, but the content is largely redundant: 中位生存时间与 95% 置信区间 repeats the title and the preceding reporting template, so three fragments convey roughly one idea. Brevity is achieved by omission rather than by efficiency.

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

Completeness2/5

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

For a statistical estimation tool with no output schema, the description should say what comes back (point estimate, CI bounds, per-group results, comparison statistics). It only hints that grouping is possible, leaving the return shape undocumented despite the tool's complexity.

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 times, events and group_ids are already fully documented in the schema, including the Brookmeyer–Crowley method and the all-censored edge case. The description's only parameter-relevant addition is the parenthetical 「可分组」, which the schema already states, so baseline 3 applies.

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 definition names the resource (中位生存时间及置信区间) and mentions grouping, but it reads mostly as a restatement of the title plus a reporting template rather than a verb-led statement of what the tool computes (median survival via Kaplan–Meier inversion). It does not distinguish the tool from plausible siblings such as act_quantiles_ci or animal_survival_km.

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?

The sentence 「生存分析要报告『中位生存期 XX 个月(95%CI: a–b)』」 provides an implicit use case: you need this when reporting median survival in a survival analysis. However, no alternatives are named, no when-not-to-use conditions are given, and nothing tells the agent to prefer act_quantiles_ci or survival_cox under other circumstances.

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