Skip to main content
Glama

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

Matrix scaling (z-score / min-max / median) / 矩阵标准化(Z-score / Min-Max / 中位数中心化)

preprocess_zscore
Read-only

Matrix scaling (z-score / min-max / median) / 矩阵标准化(Z-score / Min-Max / 中位数中心化) | USE WHEN: the user needs to standardize an expression matrix before heatmap / clustering / PCA | ALIASES: 标准化, Z-score, Min-Max, 中位数中心化, scaling, standardize, heatmap, clustering, PCA | RETURNS: 标准化后矩阵、axis 说明、engine、方法学段落

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": {
      "matrix": "<matrix>"
    },
    "name": "preprocess_zscore"
  }
}

Input Schema

NameRequiredDescriptionDefault
matrixYes表达矩阵(二维数值数组,**行 = 基因、列 = 样本**)。含缺失值会 400;Z-score 按行(基因内)跨样本标准化。
methodNozscore / minmax / median,默认 zscore
paramsNo附加参数:{「axis」: 「sample」|「gene」},默认按样本列(热图常用)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / matrix / description
      Previous value: -"表达矩阵:行 = 基因,列 = 样本;含缺失值会 400"New value: +"表达矩阵(二维数值数组,**行 = 基因、列 = 样本**)。含缺失值会 400;Z-score 按行(基因内)跨样本标准化。"
  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 the return payload (normalized matrix, axis note, engine, methodology paragraph), which is genuinely useful given no output schema, but it omits behavioral details such as missing-value rejection and row-vs-column standardization direction, which appear 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.

Conciseness4/5

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

The pipe-delimited layout front-loads the purpose, then USE WHEN, ALIASES, and RETURNS, so an agent can scan the decisive parts immediately. It loses a point only for restating the title verbatim in the description body, which is pure duplication of the title field.

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?

With three parameters (one required, one nested object) and no output schema, the definition covers purpose, trigger condition, and return contents, which is enough to invoke it correctly. The gap is that key constraints on input validity (missing values cause a 400, per-row vs per-column direction) live only in the schema rather than being surfaced in the description.

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%, including the semantics of matrix orientation and the method/params fields, so the schema carries the parameter burden. The description adds no parameter-specific meaning beyond listing method names in the title and aliases; baseline 3 is appropriate.

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 operation (matrix scaling/standardization) and enumerates the concrete methods (z-score, min-max, median-centered), which also disambiguates the tool from its narrower name 'preprocess_zscore'. It clearly distinguishes itself from sibling preprocessing steps like filter/impute/normalize, though it never explicitly contrasts the scaling method choice against preprocess_normalize.

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: the user needs to standardize an expression matrix before heatmap / clustering / PCA' clause gives a concrete triggering condition and downstream context. It does not state when-not to use it or name a sibling alternative, so it falls short of full routing 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.