Skip to main content
Glama

三域医研 · 科研算法引擎 (SanYu Research Engine)

Meta 回归(异质性来源)

act_meta_regression
Read-only

Meta 回归(异质性来源) Meta 分析 I² 很高,想找出是什么研究特征(年份/地区/剂量)解释了异质性 回归系数、p 值与异质性可解释比例

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": {
      "log_or": "<log_or>",
      "se_log_or": "<se_log_or>",
      "moderators": "<moderators>"
    },
    "name": "act_meta_regression"
  }
}

Input Schema

NameRequiredDescriptionDefault
log_orYes各研究的对数效应量(ln OR / ln RR / ln HR),一维数值数组。与 se_log_or、moderators 的行数一致。
se_log_orYes各研究对数效应量的标准误(一维数组,**必须全为正数**),与 log_or 等长。SE=0 或缺失会让权重变成无穷大。
moderatorsYes调节变量矩阵(二维数组,每行一个研究、每列一个协变量)。行数必须等于研究数;研究数太少(<4)时回归不可靠。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / log_or / description
      Previous value: -"各研究的对数 OR(或对数 RR/HR)"New value: +"各研究的对数效应量(ln OR / ln RR / ln HR),一维数值数组。与 se_log_or、moderators 的行数一致。"
    • changedInput schema / properties / moderators / description
      Previous value: -"调节变量矩阵,每行一个研究、每列一个协变量(必须传,否则端点报缺字段)"New value: +"调节变量矩阵(二维数组,每行一个研究、每列一个协变量)。行数必须等于研究数;研究数太少(<4)时回归不可靠。"
    • changedInput schema / properties / se_log_or / description
      Previous value: -"各研究对数效应量的标准误,与 log_or 等长"New value: +"各研究对数效应量的标准误(一维数组,**必须全为正数**),与 log_or 等长。SE=0 或缺失会让权重变成无穷大。"
  2. Added

TDQS

A3.5/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 the safety profile is covered. The description adds the return content (regression coefficients, p-values, share of heterogeneity explained), which is useful, but says nothing about modeling assumptions, minimum study counts per moderator, or moderator coding rules beyond what the schema states.

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, but the opening clause repeats the title verbatim with zero added information. The remaining content is a run-on phrase without punctuation separating the scenario from the returned statistics, which hurts scannability.

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?

There is no output schema, and the description does name the three returned quantities, which partly compensates. However, for a statistical modeling tool it omits key operational facts an agent would want, such as whether moderators may be categorical, how many studies are needed, and what happens with missing values.

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% and already documents all three parameters thoroughly, including the positivity requirement on se_log_or and the row-count alignment for moderators. The description only adds that moderators are study-level features such as year/region/dose, which is a marginal contribution over the schema's own 'covariate matrix' wording.

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?

States a specific verb+resource: meta-regression for identifying sources of heterogeneity, with concrete example moderators (year/region/dose). It is clearly a heterogeneity-explanation tool rather than a pooling tool, but it never names the closely related sibling act_meta_subgroup, so an agent must infer the boundary between regression and subgroup analysis.

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?

Gives an explicit triggering condition: use it when I² is high and you want to know which study characteristics explain the heterogeneity. No exclusions or named alternatives are provided, so the when-not case (e.g., few studies, categorical grouping better handled by subgroup analysis) is left to inference.

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.