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.

Animal survival analysis / 动物生存分析

animal_survival_km
Read-only

Animal survival analysis / 动物生存分析 | USE WHEN: Kaplan-Meier and log-rank on animal death/survival times | ALIASES: 动物生存分析, 生存曲线, log-rank, animal survival, KM, 死亡时间 | RETURNS: KM 曲线与 log-rank

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": {
      "ctrl_times": "<ctrl_times>",
      "ctrl_events": "<ctrl_events>",
      "treat_times": "<treat_times>",
      "treat_events": "<treat_events>"
    },
    "name": "animal_survival_km"
  }
}

Input Schema

NameRequiredDescriptionDefault
ctrl_timesYes对照组生存时间(一维数值数组,单位天)。与 ctrl_events 必须**等长**;负值会被拒绝。
ctrl_eventsYes对照组事件指示,1=死亡/达标、0=删失(只接受二值编码)。与 ctrl_times 等长;全删失时不给中位生存期。
treat_timesYes给药组生存时间(一维数值数组,单位天,须 ≥0)。与 treat_events 等长;两组的观察窗建议一致,否则中位生存期不可比。
treat_eventsYes给药组事件指示,1=死亡/达标、0=删失(只接受二值编码)。与 treat_times 等长;全删失时该组不给中位生存期。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / ctrl_events / description
      Previous value: -"对照组事件"New value: +"对照组事件指示,1=死亡/达标、0=删失(只接受二值编码)。与 ctrl_times 等长;全删失时不给中位生存期。"
    • changedInput schema / properties / ctrl_times / description
      Previous value: -"对照组时间"New value: +"对照组生存时间(一维数值数组,单位天)。与 ctrl_events 必须**等长**;负值会被拒绝。"
    • changedInput schema / properties / treat_events / description
      Previous value: -"给药组事件"New value: +"给药组事件指示,1=死亡/达标、0=删失(只接受二值编码)。与 treat_times 等长;全删失时该组不给中位生存期。"
    • changedInput schema / properties / treat_times / description
      Previous value: -"给药组时间"New value: +"给药组生存时间(一维数值数组,单位天,须 ≥0)。与 treat_events 等长;两组的观察窗建议一致,否则中位生存期不可比。"
  2. Added

TDQS

A3.9/5.0
Behavior3/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 behavior is covered. The description adds that the tool returns KM curves and log-rank results, but it does not describe the return structure, statistical assumptions, or handling of censored data beyond what the schema already states.

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

Conciseness5/5

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

The definition is compact and front-loaded: purpose, use condition, aliases, and return summary are presented in a single pipe-delimited block. Every element supports routing or interpretation without unnecessary 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 four-parameter statistical tool with no output schema, the description names the return categories but does not explain their structure or key values. Inputs and safety are well covered by the schema and annotations, but output expectations remain only minimally described.

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 schema already documents each parameter's meaning, length constraints, units, and event coding. The description does not add any further parameter semantics; its 'death/survival times' phrasing only aligns with the schema rather than extending it.

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 analytical purpose: Kaplan-Meier and log-rank tests on animal death/survival times. This clearly distinguishes it from Cox regression or generic survival tools by naming the exact statistical methods.

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?

The 'USE WHEN' line gives a clear condition for selecting this tool: animal death/survival times analyzed with Kaplan-Meier and log-rank. It does not mention when to prefer sibling alternatives such as survival_cox or act_median_survival_ci, so it stops short of full alternative guidance.

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