Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as 三域医研 · 科研算法引擎 (SanYu Research Engine). If you published it, claim ownership there.

Expression matrix normalization / 表达矩阵归一化(CPM / log2CPM / quantile / 中位数中心化)

preprocess_normalize
Read-only

Expression matrix normalization / 表达矩阵归一化(CPM / log2CPM / quantile / 中位数中心化) | USE WHEN: the user has raw expression counts and needs library-size normalization (CPM / log2CPM / quantile / median centering) before differential analysis | ALIASES: 归一化, 标准化, 表达矩阵, CPM, log2CPM, quantile, 中位数中心化, normalization, expression matrix, library size | RETURNS: 归一化后矩阵、库大小、归一化前后的分布摘要、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_normalize"
  }
}

Input Schema

NameRequiredDescriptionDefault
matrixYes表达矩阵:**外层 = 基因(行),内层 = 样本(列)**,如 [[10,20],[5,8]]。含缺失值会 400,要求先做缺失值填补;含负值也会 400(CPM 前提是非负计数)
methodNocpm / log2cpm / quantile / median,默认 cpm。**不做 TPM/FPKM**(缺基因长度,宁可拒绝也不编造)
gene_namesNo基因名数组(可选,长度须等于矩阵行数)。不匹配时接口会**静默改用 G1/G2…**,结果里就对不上你的基因名了,所以要么传对要么别传。
sample_namesNo样本名数组(可选,长度须等于矩阵列数)。长度不符会**静默改用 S1/S2…**,结果里就对不上你的样本名了。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / gene_names / description
      Previous value: -"基因名(与行等长,可选)"New value: +"基因名数组(可选,长度须等于矩阵行数)。不匹配时接口会**静默改用 G1/G2…**,结果里就对不上你的基因名了,所以要么传对要么别传。"
    • changedInput schema / properties / sample_names / description
      Previous value: -"样本名(与列等长,可选)"New value: +"样本名数组(可选,长度须等于矩阵列数)。长度不符会**静默改用 S1/S2…**,结果里就对不上你的样本名了。"
  2. Added

TDQS

A4/5.0
Behavior4/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 real value beyond them by disclosing the return payload (normalized matrix, library sizes, before/after distribution summary, engine identifier, methodology paragraph) in the absence of an output 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?

The USE WHEN / ALIASES / RETURNS labeling is scannable and front-loads the trigger, but the first segment duplicates the title verbatim and the ALIASES list is largely search-engine padding rather than information an agent needs to invoke the tool correctly.

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 single-purpose preprocessing transform with no output schema, the definition covers purpose, trigger, method options, and the shape of the response, and the schema covers all four parameters in depth. Only minor gaps remain, such as how the engine/method choice affects output or whether a methodology paragraph is always produced.

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 each parameter already documents its constraints (row/column orientation, 400 on NA/negative values, silent G1/G2 and S1/S2 fallback for name mismatches). The description only restates the method list that the schema already carries, so it adds little meaning beyond structured data — baseline 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (expression matrix normalization) and enumerates the concrete methods (CPM / log2CPM / quantile / median centering), so the agent can distinguish it from siblings like preprocess_filter, preprocess_impute, and differential_expression purely from the text.

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' clause gives a clear trigger condition (raw counts needing library-size normalization) and a pipeline position (before differential analysis), which implicitly routes the agent away from differential_expression. It stops short of naming explicit alternatives or exclusion cases, so it is strong context rather than full when/when-not 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.

Resources