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.

GSEA gene set enrichment / GSEA 基因集富集分析

gsea
Read-only

GSEA gene set enrichment / GSEA 基因集富集分析 | USE WHEN: the user has a ranked gene list (e.g. DEGs sorted by log2FC) and wants to know which pathways are coordinately up- or down-regulated | ALIASES: GSEA, 基因集富集, 富集分析, 通路富集, NES, ES, 置换检验, gene set enrichment, ranked list, pathway | RETURNS: results(ES/NES/p_value/fdr 逐通路)、n_gene_sets、significant、engine(local_msigdb 或 hardcoded_50)、p_floor、方法学与图注段落

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": {
      "ranked_genes": "<ranked_genes>",
      "ranked_scores": "<ranked_scores>"
    },
    "name": "gsea"
  }
}

Input Schema

NameRequiredDescriptionDefault
n_permNo置换次数,默认 200;P 值下限 = 1/n_perm(返回体给出 p_floor 并说明达到下限不等于 P=0)
ranked_genesYes基因符号数组(HGNC 大写,至少 3 个;小写/Ensembl ID/探针 ID 会因重叠不足 3 个而报错)
ranked_scoresYes与 ranked_genes **等长**的排序分数(如 log2FC 或 -log10P×符号);长度不一致直接 422

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already establish readOnly/no-destructive/closed-world, so the burden is light, and the description still adds real behavior: the RETURNS block discloses the engine fallback (local_msigdb vs hardcoded_50), n_gene_sets, p_floor, and that a hit at the permutation floor does not mean P=0. That engine-fallback disclosure is materially useful and not derivable from 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?

Pipe-delimited, front-loaded sections (purpose → USE WHEN → ALIASES → RETURNS) make it scannable, with no redundant prose. The ALIASES list is long but serves routing/matching rather than padding.

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 no output schema, the RETURNS block carries the return-value burden well: result fields, counts, engine identity, p_floor caveat, and accompanying methodology/figure-caption text. Only minor gaps remain, such as behavior when nothing is significant.

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%, so baseline is 3; the schema already explains n_perm, the p_floor relationship, HGNC capitalization, the minimum of three overlapping genes, and the 422 on length mismatch. The description adds no parameter-level meaning beyond what those field descriptions already say.

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 definition states a specific verb+resource (GSEA gene set enrichment on a ranked gene list) and the biological question it answers ('which pathways are coordinately up- or down-regulated'). The requirement for a *ranked* list implicitly separates it from over-representation siblings such as go_kegg_enrichment, but no sibling is named 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?

The 'USE WHEN' clause gives a concrete triggering condition – user has a ranked gene list such as DEGs sorted by log2FC and wants pathway-level directionality. It lacks an explicit when-not clause or a named alternative for the unranked-list case, so the agent must infer the boundary.

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