{"agent":{"connect":{"endpoint":null,"protocol":"mcp","available":false,"reason":null,"auth":{"method":"unknown","required":null},"primary_tool":"citation_verify","example_call":null},"id":280420,"kind":"mcp","name":"三域医研 · 科研算法引擎 (SanYu Research Engine)","description":"197 MCP tools for medical research: 168 deterministic engines + 26 AI writers; 46 by default.","category":"health_science","active":true,"health_status":"healthy","eval_grade":"A","eval_score":88.1,"eval_at":1796049898.4659,"trial_ok":1,"cap_tool_count":46,"first_seen":1793982206.6653728,"last_ok_at":1796064926.349807,"last_check_at":1796064926.349807,"auth_method":"unknown","auth_observed":1,"price_usdc":0.0,"calls_30d":null,"url":"https://agentconcierge.biz/api/gateway/mcp/280420","catalog_status":"live","tools":[{"name":"citation_verify","description":"Verify citation authenticity / 引文真实性核验 | USE WHEN: check whether references are fabricated (existence check against the local corpus) | ALIASES: 核验参考文献, 引用是真的吗, 假文献, citation verify, 参考文献真实性, hallucinated reference | RETURNS: 逐条核验结果","inputSchema":{"type":"object","properties":{"text":{"type":"string","description":"含引用的正文"},"topic":{"type":"string","description":"主题"}},"required":["text"]},"annotations":{"title":"引文真实性核验","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"text":"model context protocol"}},{"name":"crf_sdtm_validate","description":"CRF / SDTM validation / CRF 数据校验（SDTM） | USE WHEN: check whether CRF data meets CDISC SDTM conventions before export | ALIASES: CRF校验, SDTM, CDISC, 数据合规, 导出前检查, CRF validate, data standards | RETURNS: 校验结果","inputSchema":{"type":"object","properties":{"fields":{"type":"array","description":"CRF 字段定义列表，每项含 name/type 等（如 [{\"name\":\"AGE\",\"type\":\"integer\"}]）。校验需要真实字段，空列表会被拒绝","items":{"type":"object"}},"schema":{"type":"object","description":"自定义 SDTM 变量定义 {域: {变量: 类型}}；不传则用内置 SDTMIG 变量表校验。"}},"required":["fields"]},"annotations":{"title":"CRF 数据校验（SDTM）","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"delong_auc_compare","description":"DeLong test (compare two AUCs) / 两条 ROC 的 AUC 比较（DeLong） | USE WHEN: compare two ROC AUCs from the same subjects and test whether the difference is significant | ALIASES: DeLong, 两个AUC比较, 哪个指标更好, AUC差异, compare AUC, 曲线下面积比较 | RETURNS: 两 AUC 及差值 P 值","inputSchema":{"type":"object","properties":{"labels":{"type":"array","description":"真实标签 0/1，长度 = scores1 = scores2。两个类别各至少 2 例，否则 400（AUC 方差无定义）。","items":{"type":"number"}},"scores1":{"type":"array","description":"指标 1 的风险分数（一维数值数组，可为任意实数）。与 scores2、labels 三者等长；AUC 只看排序不看绝对尺度。","items":{"type":"number"}},"scores2":{"type":"array","description":"指标 2 的风险分数（一维数值数组）。与 scores1 等长。返回两个 AUC 及其差值是否显著（相关 ROC 的 DeLong 检验）。","items":{"type":"number"}}},"required":["labels","scores1","scores2"]},"annotations":{"title":"两条 ROC 的 AUC 比较（DeLong）","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"differential_expression","description":"Differential expression (limma-style) / 差异表达分析 | USE WHEN: differential genes from an expression matrix (with volcano plot input) | ALIASES: 差异表达, 差异基因, DEG, differential expression, 火山图, 表达矩阵, limma | RETURNS: 差异基因清单（log2FC、t 统计量、p_value、BH-FDR 校正后的 padj、显著/上调/下调标记）","inputSchema":{"type":"object","properties":{"group_a":{"type":"array","description":"A 组样本表达矩阵：每个内层数组 = 一个样本的全部基因表达值（不是均值数组）。示例 [[12.3, 8.1, 5.6], [11.9, 8.4, 5.2]] 表示 A 组 2 个样本、每个样本 3 个基因。⚠️ 本动作按**线性表达量**计算 log2FC=log2(meanB/meanA)：若数据已是 log2 尺度（GEO series matrix 默认就是），差异会被严重压缩、可能一个差异基因都检不出 —— 请先把每格换成 2**值，或改用 act_geo_pipeline（差值法）。","items":{"type":"array","items":{"type":"number"}}},"group_b":{"type":"array","description":"B 组样本表达矩阵，结构与 group_a 一致（内层数组 = 一个样本的全部基因表达值）","items":{"type":"array","items":{"type":"number"}}},"gene_names":{"type":"array","description":"基因名列表，长度必须等于每个样本的基因数（与 group_a/group_b 内层数组等长）；不传则自动命名 GENE_1..N","items":{"type":"string"}},"log2fc_threshold":{"type":"number","description":"|log2FC| 阈值，默认 1.0；用于判定显著差异"}},"required":["group_a","group_b"]},"annotations":{"title":"差异表达分析","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"dna_translate","description":"DNA → protein translation / 序列翻译 | USE WHEN: translate a nucleotide sequence into amino acids in all three frames | ALIASES: 序列翻译, 核酸转蛋白, 翻译, translate, DNA to protein, 氨基酸序列, ORF翻译 | RETURNS: 氨基酸序列","inputSchema":{"type":"object","properties":{"sequence":{"type":"string","description":"核酸序列（纯序列文本）。只接受 DNA IUPAC 字符（ACGT 及 N/R/Y/S/W/K/M/B/D/H/V），大小写不限、空白自动去除；粘贴 FASTA 请只保留序列行（`>` 注释行、行号、数字/标点会被 422 拒绝）。 返回 6 个阅读框的翻译结果。"}},"required":["sequence"]},"annotations":{"title":"序列翻译","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"forest_plot","description":"Forest plot / 森林图 | USE WHEN: forest plot from HR/OR/RR with confidence intervals | ALIASES: 森林图, forest plot, HR OR RR, 置信区间图, meta森林图 | RETURNS: 森林图（矢量）","inputSchema":{"type":"object","properties":{"data":{"type":"array","description":"每项 {\"name\":\"研究名\",\"estimate\":1.2,\"ci_lower\":0.9,\"ci_upper\":1.6}（效应量可为 OR/HR/RR）。任一项缺效应量或区间会被点名，不会画一个假的区间。","items":{"type":"object"}},"title":{"type":"string","description":"图标题"},"x_label":{"type":"string","description":"X 轴标签"}},"required":["data"]},"annotations":{"title":"森林图","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"gene_info_lookup","description":"Gene information lookup / 基因信息检索 | USE WHEN: what a gene does: full name, aliases, function, location | ALIASES: 基因信息, 这个基因是干什么的, gene function, 别名, gene info, 基因全称 | RETURNS: 基因信息","inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"基因名/关键词"}},"required":["query"]},"annotations":{"title":"基因信息检索","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"query":"model context protocol"}},{"name":"go_kegg_enrichment","description":"GO / KEGG enrichment / 通路富集（GO/KEGG） | USE WHEN: pathway enrichment for a gene list (GO biological process, KEGG) | ALIASES: 富集分析, GO, KEGG, 通路富集, enrichment, 通路, 功能注释 | RETURNS: 富集通路与 P 值","inputSchema":{"type":"object","properties":{"gene_list":{"type":"array","description":"基因列表（HGNC 官方符号数组，如 [\"TP53\",\"EGFR\"]）。背景基因集由平台内置；符号不标准会显著降低命中率。","items":{"type":"string"}},"db_filter":{"type":"string","description":"数据库：GO_BP/GO_CC/GO_MF/KEGG"},"project_id":{"type":"integer","description":"项目 id"}},"required":["gene_list"]},"annotations":{"title":"通路富集（GO/KEGG）","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"gsea","description":"GSEA gene set enrichment / GSEA 基因集富集分析 | USE WHEN: the user has a ranked gene list (e.g. DEGs sorted by log2FC) and wants to know which pathways are coordinately up- or down-regulated | ALIASES: GSEA, 基因集富集, 富集分析, 通路富集, NES, ES, 置换检验, gene set enrichment, ranked list, pathway | RETURNS: results（ES/NES/p_value/fdr 逐通路）、n_gene_sets、significant、engine（local_msigdb 或 hardcoded_50）、p_floor、方法学与图注段落","inputSchema":{"type":"object","properties":{"ranked_genes":{"type":"array","description":"基因符号数组（HGNC 大写，至少 3 个；小写/Ensembl ID/探针 ID 会因重叠不足 3 个而报错）","items":{"type":"string"}},"ranked_scores":{"type":"array","description":"与 ranked_genes **等长**的排序分数（如 log2FC 或 -log10P×符号）；长度不一致直接 422","items":{"type":"number"}},"n_perm":{"type":"integer","description":"置换次数，默认 200；P 值下限 = 1/n_perm（返回体给出 p_floor 并说明达到下限不等于 P=0）"}},"required":["ranked_genes","ranked_scores"]},"annotations":{"title":"GSEA 基因集富集分析","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"journal_recommend","description":"Journal recommendation / 智能选刊 V3 | USE WHEN: recommend target journals from title/abstract, in reach / match / safe tiers | ALIASES: 选刊, 投哪个期刊, 期刊推荐, journal, submission target, 冲稳保, 投稿建议 | RETURNS: 候选期刊与三档策略","inputSchema":{"type":"object","properties":{"title":{"type":"string","description":"论文标题"},"abstract":{"type":"string","description":"摘要"},"sample_size":{"type":"integer","description":"样本量"},"study_design":{"type":"string","description":"研究设计类型（rct/cohort/case_control/cross_sectional/meta）。端点按此字段做匹配；英文小写下划线写法命中率最高。"},"discipline":{"type":"string","description":"学科/专科方向（如 cardiology、oncology、护理）。影响候选刊池。"},"language":{"type":"string","description":"期刊语言：en（默认）/zh。"},"min_if":{"type":"number","description":"影响因子下限（含）。"},"max_if":{"type":"number","description":"影响因子上限（含）。"},"q1_only":{"type":"boolean","description":"只要 JCR Q1，默认 false。"},"oa_only":{"type":"boolean","description":"只要开放获取（OA）期刊，默认 false。"},"no_warning":{"type":"boolean","description":"排除中科院预警期刊，默认 true。投预警刊会影响职称认定。"},"china_friendly":{"type":"boolean","description":"优先中国作者友好度高的刊（审稿周期/接收率参考），默认 false。"},"limit":{"type":"integer","description":"返回条数，默认 10，上限 50。"}},"required":["title"]},"annotations":{"title":"智能选刊 V3","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"title":"model context protocol","limit":1}},{"name":"kaplan_meier","description":"Kaplan-Meier curve / Kaplan-Meier 曲线 | USE WHEN: KM curve and median survival only (no multivariable model) | ALIASES: KM曲线, Kaplan-Meier, 中位生存, 生存曲线, 生存率, log-rank | RETURNS: KM 曲线与中位生存","inputSchema":{"type":"object","properties":{"times":{"type":"array","description":"随访时间（一维数值数组，须 >0）。与 events 等长；负时间会被 400 拒绝（否则会算出负的中位生存期）。","items":{"type":"number"}},"events":{"type":"array","description":"事件指示，1=事件发生、0=删失（只接受二值编码，传 2/3 会被 400）。与 times 等长；全删失时不给中位生存期。","items":{"type":"number"}},"groups":{"type":"array","description":"分组标签（一维数组，长度=样本数，如 [\"A\",\"B\",…]）。**不传只出总体曲线、没有 log-rank**；等价字段名 group_ids 也认。","items":{"type":"string"}},"group_ids":{"type":"array","description":"分组标记的**规范字段名**（与 groups 等价，两者都认）。长度=样本数；不传则只出总体曲线、没有 log-rank。","items":{"type":"string"}}},"required":["times","events"]},"annotations":{"title":"Kaplan-Meier 曲线","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"linear_mixed_model","description":"Linear mixed model (repeated measures) / 线性混合模型（纵向/重复测量，公式模式） | USE WHEN: same subject measured repeatedly (pre/post, multiple follow-ups): compare trajectories over time, group×time interaction; modern replacement for repeated-measures ANOVA (handles missing, no sphericity assumption) | ALIASES: 混合模型, 重复测量, 纵向数据, LMM, mixed model, 交互作用, 多次随访, 每人测多次, repeated measures | RETURNS: 固定效应系数/SE/Wald z/P/95%CI（按真实变量名，不是 X1/X2）、各项整体检验 omnibus、交互项检验、primary_test、ICC、方差成分、n_subjects/n_obs、组间例数、缺失与收敛告警","inputSchema":{"type":"object","properties":{"data":{"type":"array","description":"长格式数据：每行一次观测 [{受试者ID, 分组, 时点, 结局}, ...]；也接受列式 {列名: [值, ...]}。注意必须是**长表**（每行一次测量），不是每人一行多列","items":{"type":"object"}},"formula":{"type":"string","description":"R 风格公式，如 '收缩压 ~ 分组 * 时点'（组×时间交互）；左端=结局"},"subject":{"type":"string","description":"受试者/病案号列名（随机截距的分组依据）"},"reference":{"type":"object","description":"参照水平，如 {\"分组\": \"对照组\"} —— 报告表里「与对照组相比」必须是它"},"time_values":{"type":"object","description":"把字符串时点映射成数值以估线性趋势，如 {\"时点\": {\"基线\":0,\"4周\":1,\"12周\":2}}"},"categorical":{"type":"array","description":"显式声明哪些列按分类处理（如 [\"分组\"]）；数值编码的 0/1 分组必须声明，否则会被当连续变量","items":{"type":"string"}},"re_formula":{"type":"string","description":"随机效应，默认 '1'（随机截距）；随机斜率用 '1 + 时点'"},"reml":{"type":"boolean","description":"默认 true（REML）"}},"required":["data","formula","subject"]},"annotations":{"title":"线性混合模型（纵向/重复测量，公式模式）","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"literature_search_pmc","description":"Literature search (1.53M PMC full texts) / 文献检索（站内 153 万篇 PMC） | USE WHEN: search the in-house PMC corpus for literature / evidence / state of the art | ALIASES: 找文献, 文献检索, 检索文献, literature search, PMC, 证据, 研究现状, PubMed替代 | RETURNS: 文献列表（含 PMCID）","inputSchema":{"type":"object","properties":{"q":{"type":"string","description":"检索词（英文效果更好）"},"limit":{"type":"integer","description":"返回条数"}},"required":["q"]},"annotations":{"title":"文献检索（站内 153 万篇 PMC）","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"q":"model context protocol","limit":1}},{"name":"nomogram","description":"Nomogram / 列线图 Nomogram | USE WHEN: turn a logistic or Cox model into a nomogram figure for clinical use | ALIASES: 列线图, Nomogram, 评分图, nomogram, 风险评分图 | RETURNS: 列线图 SVG","inputSchema":{"type":"object","properties":{"csv_data":{"type":"string","description":"带表头的 CSV 文本，**整段放在一个字符串里**（不是数组、不 base64）。首行是列名，其后每行一个样本。硬性要求：① 至少 1 个特征列 + 1 个结局列；② 数据行 ≥2（含表头 ≥3 行）。结局列按此顺序识别：列名命中 outcome/target/y/label/endpoint/result/结局/因变量/目标变量/结局变量 → 否则取**最后一列**（须为二分类）→ 否则从右往左找第一个二分类列；都找不到会报「未识别到结局列」。结局值只认 0/1、yes/no、true/false、阳性/阴性、是/否、存活/死亡/alive/event 等；其它值该行被跳过。列名命中 id"}},"required":["csv_data"]},"annotations":{"title":"列线图 Nomogram","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"pico_refine","description":"PICO refinement / PICO 精炼 | USE WHEN: turn a vague clinical question into a structured PICO (Population / Intervention / Comparator / Outcome) | ALIASES: PICO, 把问题拆开, 研究问题怎么提, refine question, 结构化问题, PICO拆解 | RETURNS: 结构化 PICO","inputSchema":{"type":"object","properties":{"pico":{"type":"object","description":"PICO 四要素对象。键名用 population / intervention / comparison / outcome（也接受 P/I/C/O 与中文键，服务端会归一）。原 desc: 结构化 PICO，如 {\"P\":\"ICU 脓毒症患者\",\"I\":\"乳酸清除率\",\"C\":\"常规\",\"O\":\"28天病死率\"}","properties":{"population":{"type":"string","description":"目标人群（疾病/严重程度/年龄段）"},"intervention":{"type":"string","description":"干预或暴露措施（药物/剂量/疗程，观察性研究填暴露）"},"comparison":{"type":"string","description":"对照（安慰剂/标准治疗/无干预）"},"outcome":{"type":"string","description":"主要结局指标（客观、可测量）"},"topic":{"type":"string","description":"课题名（可选）"}}}},"required":["pico"]},"annotations":{"title":"PICO 精炼","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"ppi_network","description":"Protein-protein interaction network / 蛋白互作网络 | USE WHEN: PPI network from a protein list, hub identification (STRING) | ALIASES: 蛋白互作, PPI, STRING, hub基因, 互作网络, network | RETURNS: 互作网络与 hub 蛋白","inputSchema":{"type":"object","properties":{"protein_list":{"type":"array","description":"蛋白/基因列表（HGNC 符号或 UniProt AC，全表统一）。至少 2 个才能成网；只给 1 个会返回空边集。","items":{"type":"string"}}},"required":["protein_list"]},"annotations":{"title":"蛋白互作网络","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"primer_tm","description":"Primer Tm & dimers / 引物 Tm 计算 | USE WHEN: Tm, GC% and self/cross dimer check for given primer sequences | ALIASES: Tm, 引物Tm, 退火温度, GC含量, 二聚体, primer dimer, melting temperature | RETURNS: Tm、GC、二聚体","inputSchema":{"type":"object","properties":{"sequence":{"type":"string","description":"引物序列（18~30 bp 为宜）。核酸序列（纯序列文本）。只接受 DNA IUPAC 字符（ACGT 及 N/R/Y/S/W/K/M/B/D/H/V），大小写不限、空白自动去除；粘贴 FASTA 请只保留序列行（`>` 注释行、行号、数字/标点会被 422 拒绝）。"}},"required":["sequence"]},"annotations":{"title":"引物 Tm 计算","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"propensity_score_matching","description":"Propensity score matching (PSM) / 倾向性评分匹配 PSM | USE WHEN: match treated and control subjects on baseline covariates (1:1 nearest neighbour within caliper), then report SMD balance | ALIASES: PSM, 倾向性评分, 倾向评分匹配, propensity score, 1:1匹配, 基线可比, 混杂控制, 匹配后均衡 | RETURNS: 匹配后样本与均衡性","inputSchema":{"type":"object","properties":{"data":{"type":"array","description":"样本表：每行一个受试者的字典，如 [{\"treat\":1,\"age\":62,\"sex\":0}, …]（也可改用 treatment/covariates 直接传数组）","items":{"type":"object"}},"treatment":{"type":"string","description":"处理变量（1=处理组，0=对照组）。传 data 时填列名 \"treat\"；也可直接传 0/1 数组"},"covariates":{"type":"array","description":"协变量列名数组，如 [\"age\",\"sex\"]（传 data 时）或二维数值矩阵","items":{"type":"string"}},"ratio":{"type":"integer","description":"匹配比例 1:k 中的 k，默认 1。"},"X":{"type":"array","description":"协变量矩阵（二维数值数组，每行一例）。与 covariates(列名式) 二选一，X 优先。","items":{"type":"string"}},"caliper":{"type":"number","description":"卡钳值（倾向评分 logit 尺度的最大允许差），默认 0.2×SD(logit PS)。不设卡钳会匹配出「评分差很大但硬凑」的对子。"},"records":{"type":"array","description":"逐例原始记录（对象数组，每行含协变量与分组列）。传了才能回溯匹配前后究竟是哪几例，否则只得到匹配后的统计量、无法核对个体。","items":{"type":"string"}},"rows":{"type":"array","description":"records 的历史别名（等价，两者都认）。新代码建议统一用 records。","items":{"type":"string"}}},"required":["treatment","covariates"]},"annotations":{"title":"倾向性评分匹配 PSM","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"protein_physchem","description":"Protein physicochemical properties / 蛋白理化性质 | USE WHEN: molecular weight, pI, GRAVY, instability index etc. from a protein sequence | ALIASES: 蛋白理化性质, 分子量, 等电点, pI, GRAVY, 疏水性, MW, protein properties | RETURNS: MW/pI/GRAVY 等","inputSchema":{"type":"object","properties":{"sequence":{"type":"string","description":"蛋白序列（氨基酸单字母，大写）。返回分子量、等电点、GRAVY 疏水性、不稳定指数等理化参数。"},"protein_name":{"type":"string","description":"蛋白名"}},"required":["sequence"]},"annotations":{"title":"蛋白理化性质","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"pubmed_search","description":"PubMed search / PubMed 检索 | USE WHEN: search PubMed for the latest literature (live NCBI E-utilities) | ALIASES: PubMed, 查pubmed, 最新文献, pubmed检索, NCBI, 最新研究 | RETURNS: PubMed 文献列表","inputSchema":{"type":"object","properties":{"q":{"type":"string","description":"检索式（英文）"},"max_results":{"type":"integer","description":"条数"},"year_start":{"type":"integer","description":"起始年份"}},"required":["q"]},"annotations":{"title":"PubMed 检索","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"q":"model context protocol","max_results":1}},{"name":"randomization_allocate","description":"Randomization / allocation / 随机化分组 | USE WHEN: produce a reproducible randomization list: simple, block, stratified, or minimization, with a fixed seed | ALIASES: 随机分组, 随机数字表, 区组随机, 分层随机, 最小化法, randomization, random allocation, 分组名单, seed | RETURNS: 分组结果表","inputSchema":{"type":"object","properties":{"n_subjects":{"type":"integer","description":"总样本量，如 60"},"groups":{"type":"array","description":"分组名称数组，如 [\"干预组\",\"对照组\"]（**必须是数组，不是数字**）。组数由数组长度决定；两组以上会按区组/分层规则分配。","items":{"type":"string"}},"method":{"type":"string","description":"simple 简单 / block 区组 / stratified 分层 / minimization 最小化"},"block_size":{"type":"integer","description":"区组长度（block 方法用）"},"seed":{"type":"integer","description":"随机种子（固定才可复现）"},"strata":{"type":"object","description":"分层因素 {因素名: [各水平…]}，仅 method=stratified 时使用，如 {\"中心\": [\"A\",\"B\"], \"分期\": [\"I\",\"II\"]}。"},"n_per_stratum":{"type":"integer","description":"每个层内例数，仅 method=stratified 时使用；不传按 n_subjects/层数 均分。"},"factors":{"type":"object","description":"最小化法的预后因素及权重 {因素名: 权重}，仅 method=minimization 时使用。"},"covariates":{"type":"object","description":"基线协变量 {因素名: [各例取值…]}，用于随机后自动做均衡性检验（返回 balance_report）。长度须等于 n_subjects。"},"covariate_types":{"type":"object","description":"协变量类型 {因素名: \"continuous\"|\"categorical\"}，配合 covariates 使用。"}},"required":["n_subjects","groups"]},"annotations":{"title":"随机化分组","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"restriction_sites","description":"Restriction sites / 酶切位点分析 | USE WHEN: find restriction enzyme sites in a DNA sequence (can it be cut, which enzyme) | ALIASES: 酶切位点, 限制性内切酶, restriction enzyme, 能不能切开, cloning sites | RETURNS: 酶切位点清单","inputSchema":{"type":"object","properties":{"sequence":{"type":"string","description":"核酸序列（纯序列文本）。只接受 DNA IUPAC 字符（ACGT 及 N/R/Y/S/W/K/M/B/D/H/V），大小写不限、空白自动去除；粘贴 FASTA 请只保留序列行（`>` 注释行、行号、数字/标点会被 422 拒绝）。 返回限制性内切酶位点分布。"}},"required":["sequence"]},"annotations":{"title":"酶切位点分析","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"risk_ratio_or","description":"Risk ratio / odds ratio / 相对危险度 RR | USE WHEN: RR, OR and 95% CI from a 2×2 table of counts | ALIASES: 相对危险度, RR, OR, 比值比, 四格表, risk ratio, odds ratio, 95%CI | RETURNS: RR、OR、95%CI","inputSchema":{"type":"object","properties":{"exposed_events":{"type":"integer","description":"暴露组事件数"},"exposed_total":{"type":"integer","description":"暴露组总数"},"unexposed_events":{"type":"integer","description":"非暴露组事件数"},"unexposed_total":{"type":"integer","description":"非暴露组总数"}},"required":["exposed_events","exposed_total","unexposed_events","unexposed_total"]},"annotations":{"title":"相对危险度 RR","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"exposed_events":1,"exposed_total":1,"unexposed_events":1,"unexposed_total":1}},{"name":"roc_auc","description":"ROC curve & AUC / ROC 曲线与 AUC | USE WHEN: the user has a binary gold standard and predicted scores/probabilities and wants AUC, ROC curve, discrimination, or the best cut-off | ALIASES: ROC, AUC, 曲线下面积, 诊断效能, 最佳阈值, cutoff, discrimination, 敏感度特异度, ROC曲线 | RETURNS: AUC、最优阈值、敏感度特异度","inputSchema":{"type":"object","properties":{"labels":{"type":"array","description":"真实标签，只能取 0/1（也认 yes/no、阳性/阴性）。**两个类别各需至少 2 例**——总例数 <4 或某类只有 1 例时直接 400：样本这么少 AUC 的置信区间没有意义，本接口不给一个看起来精确的假数值。长度须等于 scores。","items":{"type":"number"}},"scores":{"type":"array","description":"模型对每个样本的输出分数或预测概率，长度须等于 labels。AUC 只看排序不看绝对量纲，概率（0~1）或原始 logit 分数都可以。返回 AUC、95% CI、最佳阈值及对应敏感度/特异度。","items":{"type":"number"}}},"required":["labels","scores"]},"annotations":{"title":"ROC 曲线与 AUC","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"sample_size_calculator","description":"Sample size & power / 样本量计算（设计口径） | USE WHEN: calculate how many subjects are needed (two means / two proportions / correlation / survival), or solve for power | ALIASES: 样本量, 要做多少例, 需要多少病人, sample size, power calculation, 把握度, 最少例数, n per group | RETURNS: 每组例数与合计","inputSchema":{"type":"object","properties":{"effect_size":{"type":"number","description":"预期效应量（连续=Cohen's d，二分类=率差，相关=Pearson r）。这是决定样本量的实质输入，必填"},"outcome_type":{"type":"string","description":"结局类型：continuous 连续 / binary 二分类 / correlation 相关，默认 continuous"},"alpha":{"type":"number","description":"显著性水平，默认 0.05"},"power":{"type":"number","description":"把握度，默认 0.8"},"dropout_rate":{"type":"number","description":"脱落率，默认 0.10"},"n_groups":{"type":"integer","description":"组数（整数，默认 2，范围 1~20）。多组比较时样本量按每组分别给出、不是总数；组数越多单组所需例数越大（多重比较校正）。"},"design_type":{"type":"string","description":"设计类型，默认 two_sample。可选 two_sample/paired/one_sample/two_proportion/one_proportion/survival/correlation。它决定公式用哪个，传错会算出一个形式正确但含义不对的样本量。"},"control_rate":{"type":"number","description":"对照组事件率（0~1），仅 outcome_type=binary 时需要。与 p1/p2 二选一：p1/p2 是两组的率，control_rate 只给对照侧。"}},"required":["effect_size"]},"annotations":{"title":"样本量计算（设计口径）","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"effect_size":1}},{"name":"sanyu_job_status","description":"Get progress and result of an asynchronous job. 生成类动作（topic_generate / section_writer / nsfc_grant_analysis / …）提交后返回 job_id（engine_status=queued），用这个工具轮询：每 3 秒查一次，最多等 300 秒；status=succeeded 才取 result，failed 读 error 并如实告知用户（失败不扣分）。**success 字段只有 succeeded 时才为 true；queued/running 时 pending=true 且没有结果，此时不要向用户报告任何结果。** USE WHEN: 你刚收到 job_id 需要取结果; 不要请求 poll_url（REST 地址，MCP 客户端打不到）。US English: poll a queued generation job until succeeded/failed.","inputSchema":{"type":"object","properties":{"job_id":{"type":"string","description":"提交生成类动作时返回的 job_id"}},"required":["job_id"]},"annotations":{"title":"异步任务进度","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"sanyu_list_actions","description":"List every tool on this server as a compact catalogue (name / when-to-use / returns / required params / cost). 列出三域医研全部动作摘要。仅在不确定该用哪个工具时调用；已知工具名可直接调用对应工具。","inputSchema":{"type":"object","properties":{},"required":[]},"annotations":{"title":"动作目录","readOnlyHint":true},"sample":{}},{"name":"scrna_cluster","description":"Single-cell clustering / 单细胞分析 | USE WHEN: cluster and embed single-cell data (UMAP) | ALIASES: 单细胞, scRNA, 聚类降维, UMAP, Seurat, single cell | RETURNS: 聚类结果与 UMAP","inputSchema":{"type":"object","properties":{"data_json":{"type":"string","description":"单细胞表达矩阵，**JSON 字符串**（把下面这个对象序列化后作为字符串传；本层也直接接受对象）。对象结构：{细胞名: {基因名: 计数}} —— 外层必须是细胞。例：\"{\\\"cell_1\\\": {\\\"CD3D\\\": 5, \\\"NKG7\\\": 12}, \\\"cell_2\\\": {\\\"CD3D\\\": 7}}\"。不接受 {cells:[], genes:[], matrix:[[]]} 三段式——外层只有 3 个键，会被判成「不足 10 个细胞」并回 Need at least 10 cells。细胞数需 ≥10，且每个细胞通过 QC 的基因数需 ≥ min_genes。也可以改用 file_i"},"min_genes":{"type":"integer","description":"每个细胞至少检出多少个基因才保留该细胞，**默认 200**。小矩阵（如只有 6 个基因的演示数据）不传此参数会全部细胞被 QC 滤掉，报 Too few cells pass QC —— 此时把它设成 ≤ 每细胞基因数。"},"max_mito_pct":{"type":"number","description":"线粒体比例上限"},"n_pcs":{"type":"integer","description":"主成分数"}},"required":["data_json"]},"annotations":{"title":"单细胞分析","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"survival_cox","description":"Survival analysis (KM + Cox) / 生存分析（KM/Cox 全流程） | USE WHEN: follow-up time and event data: survival curves, median survival, hazard ratios, log-rank, multivariable Cox | ALIASES: 生存分析, Cox回归, HR, 风险比, log-rank, 中位生存, 随访, 生存率, hazard ratio | RETURNS: 生存曲线、中位生存、HR、log-rank P","inputSchema":{"type":"object","properties":{"data":{"type":"array","description":"逐例记录，**必须是对象数组**：[{\"time\":10,\"event\":1,\"group\":\"A\",\"age\":65}, …]。不接受二维数组或裸数值（会 400）；列名由 time_col/event_col/group_col 指定。","items":{"type":"object"}},"analysis_type":{"type":"string","description":"km 或 cox"},"time_col":{"type":"string","description":"随访时间列名"},"event_col":{"type":"string","description":"结局事件列名（1=事件）"},"group_col":{"type":"string","description":"分组列名"},"covariate_cols":{"type":"array","description":"Cox 模型纳入的协变量列名数组（如 [\"age\",\"sex\",\"stage\"]）。每纳入一个协变量约需 10 个事件，事件数不足时 HR 的 CI 会极宽。","items":{"type":"string"}},"categorical_cols":{"type":"array","description":"按分类处理的协变量列名数组（如 [\"sex\",\"stage\"]）。数值编码的 0/1 必须在此声明，否则会被当连续变量。","items":{"type":"string"}},"static_covariates":{"type":"array","description":"基线协变量列名数组（不随时间变化），用于 Cox 调整。与 time_varying_covariates 区分：基线值全表一份。","items":{"type":"string"}},"time_varying_covariates":{"type":"array","description":"时变协变量列名数组（长格式下每行带当时的值）。每个受试者可有多行，time_col 取各行的区间起点。","items":{"type":"string"}},"competing_col":{"type":"string","description":"竞争风险事件列名（0=删失/1=主事件/2=竞争事件）。传了走 Fine-Gray。"},"horizon":{"type":"number","description":"时间依赖 ROC 的评价时点（随访时间单位），默认取随访时间中位数。"},"roc_times":{"type":"array","description":"多个评价时点数组，如 [12, 24, 36]（月）。用于一次出多条时间依赖 ROC。","items":{"type":"string"}},"score_col":{"type":"string","description":"风险评分/预测概率列名（做时间依赖 ROC 时必须给）。"},"landmark_time":{"type":"number","description":"landmark 分析的界标时点；小于该时点的事件不计入。"},"selection_method":{"type":"string","description":"变量筛选方法：none/forward/backward/stepwise/lasso，默认 none。"},"selection_direction":{"type":"string","description":"筛选方向：both/forward/backward（配合 selection_method）。"}},"required":["data"]},"annotations":{"title":"生存分析（KM/Cox 全流程）","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"table_one_baseline","description":"Table 1 (baseline characteristics) / 生成 Table 1（基线特征表） | USE WHEN: build the paper's first table: baseline characteristics by group with P values | ALIASES: Table 1, 基线表, 基线特征表, 人口学表, 第一张表, baseline table, characteristics table, 组间比较表 | RETURNS: Table 1 表格 + 可选段落","inputSchema":{"type":"object","properties":{"file_id":{"type":"integer","description":"数据文件 id（可不填，助手会自动用你最近上传的数据）"},"group_variable":{"type":"string","description":"分组变量列名"},"variables_to_include":{"type":"array","description":"纳入的变量列名数组（按顺序出现在表里）。不传则自动纳入全部非 ID 列；与 variables_to_exclude 互斥时排除优先。","items":{"type":"string"}},"generate_paragraph":{"type":"boolean","description":"是否同时生成论文表述段落"},"variables_to_exclude":{"type":"array","description":"排除的列名数组（优先级高于 variables_to_include），如 [\"住院号\",\"联系电话\"]。","items":{"type":"string"}},"variable_labels":{"type":"object","description":"变量显示名映射 {原始列名: 表内显示名}，如 {\"sbp\":\"收缩压(mmHg)\"}。不传则表里显示原始列名。"},"balance_check":{"type":"boolean","description":"是否同时输出组间均衡性 P 值（默认 true）。P<0.05 只代表基线不均衡，不代表需要调整或删除该变量。"},"posthoc":{"type":"string","description":"多组（≥3 组）两两比较的事后方法：none/tukey/dunn，默认 none。两组时该字段无作用。"},"type_overrides":{"type":"object","description":"强制指定变量类型 {列名: \"continuous\"|\"categorical\"}。用于数值编码但实为分类的列（如 0/1 性别、1/2/3 分级）。"},"include_suspected_vars":{"type":"boolean","description":"是否纳入系统猜测为 ID/时间的列（默认 false，即自动剔除）。"}},"required":["file_id","group_variable"]},"annotations":{"title":"生成 Table 1（基线特征表）","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"topic_feasibility","description":"Topic feasibility check / 选题可行性评估 | USE WHEN: the user asks whether a topic is doable with their time, sample and resources | ALIASES: 可行性, 做得完吗, 条件够不够, 能不能做, 难度, feasibility, can I finish this | RETURNS: 可行性评分与建议","inputSchema":{"type":"object","properties":{"topic":{"type":"string","description":"研究主题/题目"}},"required":["topic"]},"annotations":{"title":"选题可行性评估","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"topic":"model context protocol"}},{"name":"topic_novelty","description":"Topic novelty check / 选题新颖性检索 | USE WHEN: the user asks whether a topic is new, or whether someone already published it | ALIASES: 创新点, 新不新, 有没有人做过, 查新, 重复了没有, novelty, is this new, already published | RETURNS: 新颖性评估与相似研究","inputSchema":{"type":"object","properties":{"topic":{"type":"string","description":"研究主题/题目"}},"required":["topic"]},"annotations":{"title":"选题新颖性检索","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"topic":"model context protocol"}},{"name":"two_way_anova","description":"Two-way ANOVA / 双因素方差分析 | USE WHEN: two factors: main effects and interaction | ALIASES: 双因素方差分析, two-way ANOVA, 交互作用, 主效应, 两个因素 | RETURNS: 主效应与交互","inputSchema":{"type":"object","properties":{"group_a":{"type":"array","description":"因素 A 的水平标签（逐观测一维数组，与 group_b、values 等长）。本接口是**长表口径**：三个数组按行对应同一观测。","items":{"type":"number"}},"group_b":{"type":"array","description":"因素 B 的水平标签（逐观测一维数组，与 group_a、values 等长）。","items":{"type":"number"}},"values":{"type":"array","description":"观测值（一维数值数组，与 group_a、group_b 逐行对应、等长）。字段名也可用 y；三者行序错位不会报错但结论完全不同。","items":{"type":"number"}}},"required":["group_a","group_b","values"]},"annotations":{"title":"双因素方差分析","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}}],"tools_withheld":13,"usage_guide":{"endpoint":"https://agentconcierge.biz/api/gateway/mcp/280420","tools_ref":"agent.tools"},"test_reports":[],"test_report":null,"report_count":0,"usage_endpoint":"https://agentconcierge.biz/api/gateway/mcp/280420","connection_available":false,"price_status":"free","price_atoms":0,"agent_ref":"ag_115d6d76507ad7b1be5f4461e3300551","connection_profile_version":"mcp-stateless-v1","gateway_ready":false,"connection_readiness":{"profile_available":false,"verified_callable":false,"reason":"auth_required","verified_at":null,"evidence_scope":"execution"},"capability_contracts":[],"verification":{"level":"unverified","reachable":false,"callable":false,"task_tested":false,"as_of":null,"method":"https://agentconcierge.biz/methodology"}},"sponsored":[{"id":"house-agent-value-v1","kind":"house","label":"Advertisement","advertiser":"AgentValCon","title":"Revenue for your agent's useful work","text":"Paid Pearl Necklace runs cost 0.01 USDC per slot; half goes to the verified creators of the agents that answered.","click_url":"https://agentconcierge.biz/agents/earn","auto_execute":false,"reward":null,"why_shown":"AgentValCon service information; no eligible advertiser placement.","facts":{"grade":null,"report_score":null,"report_url":null,"report_signature":null,"data_at":null,"health_7d":null,"independent":true,"note":"Measured by AgentValCon; advertising cannot change it."},"sponsored":true,"disclosure":{"sponsored":true,"paid_placement":false,"affects":{"ranking":false,"selection":false,"test_results":false},"statement":"AgentValCon house advertisement. Advertising does not affect ranking, selection or test results.","policy_url":"https://agentconcierge.biz/ads/library","policy_json":"https://agentconcierge.biz/ads/library.json","advertise_url":"https://agentconcierge.biz/advertise","advertise_api":"POST https://agentconcierge.biz/api/ad-coin/v2/sponsor","house":true},"url":"https://agentconcierge.biz/agents/earn"}]}