Skip to main content
Glama

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

Bland-Altman 一致性分析

act_diag_bland_altman
Read-only

Bland-Altman 一致性分析 两种测量方法(新方法 vs 金标准)测同一批对象,要看二者是否可互换 均值差、一致性界限(LoA)与偏倚评估

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": {
      "method1": "<method1>",
      "method2": "<method2>"
    },
    "name": "act_diag_bland_altman"
  }
}

Input Schema

NameRequiredDescriptionDefault
method1Yes方法 1 的测量值(一维数值数组)。与 method2 长度必须相同,且逐例配对(同一样本两法各测一次)。
method2Yes方法 2 的测量值(一维数值数组,长度须等于 method1)。返回差值均值(偏倚)与 95% 一致性界限。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / method1 / description
      Previous value: -"方法 1 的测量值"New value: +"方法 1 的测量值(一维数值数组)。与 method2 长度必须相同,且逐例配对(同一样本两法各测一次)。"
    • changedInput schema / properties / method2 / description
      Previous value: -"方法 2 的测量值,长度须与 method1 相同"New value: +"方法 2 的测量值(一维数值数组,长度须等于 method1)。返回差值均值(偏倚)与 95% 一致性界限。"
  2. Added

TDQS

A3.6/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 that output is bias plus 95% LoA, but says nothing about assumptions (e.g. normality of differences, no proportional bias) or handling of mismatched pairs.

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

Conciseness4/5

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

Very short and front-loaded with the method name, and every clause carries information. The lack of punctuation makes it read as a run-on, but nothing is wasted.

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?

There is no output schema, and the description compensates by naming the returned quantities (mean difference, LoA, bias). For a two-parameter, annotation-covered analysis tool this is essentially complete, with only methodological caveats missing.

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 coverage is 100% and the schema itself explains the paired, equal-length array requirement for method1/method2. The description adds no meaning beyond that, 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?

The description names a specific named statistical procedure (Bland-Altman 一致性分析) and states concretely what it produces — mean difference, limits of agreement (LoA), and bias. It is clearly distinct from categorical-agreement siblings like kappa, though it never names an alternative explicitly.

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?

It gives a clear scenario: two measurement methods (new method vs gold standard) applied to the same subjects, asking whether they are interchangeable. That context is enough to pick this tool over unrelated diagnostics, but there are no explicit exclusions or named alternatives (e.g. a paired-equivalence test).

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.