Skip to main content
Glama

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

Meta 亚组分析

act_meta_subgroup
Read-only

Meta 亚组分析 想比较不同亚组(如不同地区、不同剂量)的合并效应是否有差异 各亚组合并效应+亚组间差异检验

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": {
      "or_per_study": "<or_per_study>",
      "se_log_or": "<se_log_or>",
      "subgroup_labels": "<subgroup_labels>"
    },
    "name": "act_meta_subgroup"
  }
}

Input Schema

NameRequiredDescriptionDefault
se_log_orYes各研究**对数**效应量的标准误(一维数组,全为正数),与效应量等长。注意与 or_per_study 的尺度对应:效应量是原始值、SE 是对数尺度。
or_per_studyYes各研究的效应量(OR/RR/HR 原始值,**不是对数**),一维数值数组。端点内部取对数;若你已传对数请改走 meta-regression。
subgroup_labelsYes每个研究所属的亚组名(一维字符串数组,与效应量等长)。每组至少 2 项研究才能做亚组间比较。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / or_per_study / description
      Previous value: -"各研究的效应量(OR/RR/HR)"New value: +"各研究的效应量(OR/RR/HR 原始值,**不是对数**),一维数值数组。端点内部取对数;若你已传对数请改走 meta-regression。"
    • changedInput schema / properties / se_log_or / description
      Previous value: -"各研究对数效应量的标准误"New value: +"各研究**对数**效应量的标准误(一维数组,全为正数),与效应量等长。注意与 or_per_study 的尺度对应:效应量是原始值、SE 是对数尺度。"
    • changedInput schema / properties / subgroup_labels / description
      Previous value: -"每个研究所属亚组名,与效应量等长(必须传)"New value: +"每个研究所属的亚组名(一维字符串数组,与效应量等长)。每组至少 2 项研究才能做亚组间比较。"
  2. Added

TDQS

B3.4/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. The description adds behavioral value by disclosing what is computed (per-subgroup pooled effects plus a between-subgroup difference test). It does not cover assumptions, the heterogeneity/testing method used, or the input-scale caveat (that distinction lives only 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 'Meta 亚组分析' merely restates the title and the sentences are run together without punctuation, making the when-to-use condition and the output list hard to separate. Every element is relevant, but the structure is loose.

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

Completeness4/5

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

For a read-only, three-parameter computation with full schema documentation and no output schema, the description suffices: it tells the agent what the tool computes and what results to expect. The main residual gap is the ≥2-studies-per-subgroup prerequisite, which the schema states but the description does not.

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 the schema is unusually rich, explicitly warning that or_per_study is on the raw scale while se_log_or is on the log scale and requiring equal lengths. The description adds no parameter meaning beyond this, so the 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?

States a specific analysis verb and resource ('亚组分析' comparing pooled effects across subgroups such as region or dose) and what it produces ('各亚组合并效应+亚组间差异检验'). An agent can tell it computes subgroup meta-analysis, though the description never explicitly contrasts it with the sibling act_meta_regression (that distinction appears only inside the schema).

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?

'想比较不同亚组…的合并效应是否有差异' implies the use case and gives concrete examples of subgroups, which is genuine context. However, there is no when-not guidance, no mention of the prerequisite of ≥2 studies per subgroup for a between-group test, and no pointer to act_meta_regression for moderation analysis.

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.