Skip to main content
Glama

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

Hub gene pathway co-occurrence ranking / Hub 基因通路共现度排序

preprocess_hub
Read-only

Hub gene pathway co-occurrence ranking / Hub 基因通路共现度排序 | USE WHEN: the user has candidate genes and wants to rank them by how often they appear in known pathways (a rough hub screen) | ALIASES: hub基因, 枢纽基因, 通路共现, 度中心性, hub gene, degree, pathway co-occurrence, MSigDB, centrality | RETURNS: 按 degree 排序的 top/all、n_input/n_found、每个基因命中的通路名;degree 是「本地 MSigDB 基因集出现次数」,不是 PPI 互作度(返回体写明)…

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": {
      "gene_list": "<gene_list>"
    },
    "name": "preprocess_hub"
  }
}

Input Schema

NameRequiredDescriptionDefault
top_nNo返回前 N 个,默认 10
gene_listYes基因符号数组(HGNC 官方大写符号,如 ["TP53","EGFR"])。top_n 默认 10;符号写错会得到空结果而不是报错,务必用标准符号。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / gene_list / description
      Previous value: -"基因符号数组(HGNC 大写,如 [「TP53」,「EGFR」])"New value: +"基因符号数组(HGNC 官方大写符号,如 [\"TP53\",\"EGFR\"])。top_n 默认 10;符号写错会得到空结果而不是报错,务必用标准符号。"
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), and the description adds genuine context on top: the return shape (degree-sorted top/all, n_input/n_found, per-gene pathway hits) and the critical semantic caveat that degree is a local MSigDB count rather than a PPI measure. It does not cover data-source versioning or behavior on oversized gene lists, so it stops short of full disclosure.

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 sections (USE WHEN / ALIASES / RETURNS) are scannable and front-loaded with the actionable guidance. The only waste is the duplicated bilingual title echoing the tool name and TITLE field, plus a long alias list whose terms are largely search-oriented rather than actionable.

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 simple two-parameter read-only tool with no output schema, the definition covers entry conditions, input expectations and the shape of the return value, including the empty-result-on-typo caveat carried by the schema. What is missing is any statement of the underlying pathway database scope or size limits on gene_list, which would matter for a ranking screen.

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 both parameters are already documented, including top_n's default of 10 and the requirement for HGNC uppercase symbols. The description adds nothing beyond what the schema says about parameter values; 'top/all' in RETURNS only loosely echoes top_n. Baseline 3 applies when the schema does the heavy lifting.

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 operation: rank candidate genes by how often they co-occur in known pathways as a rough hub screen. It also preempts a plausible misreading by declaring that 'degree' means local MSigDB gene-set occurrence, not PPI interaction degree. It never names a sibling tool as an alternative, so the differentiation from gene_pathway_disease or gene_info_lookup is left to inference.

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 has candidate genes and wants to rank them by how often they appear in known pathways (a rough hub screen)' clause gives clear entry conditions. There is no when-not guidance and no named alternative for the PPI-hub or annotation-lookup cases, which keeps it below a 5.

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.