| name | gene-list-agent |
| description | Functional analysis of a gene list — batch summaries, pathway mapping, protein interactions, tissue expression, and phenotype associations |
Perform a functional analysis of the gene list: $ARGUMENTS
Use the MCP tools to characterize this gene set — summarize each gene, find shared pathways, map interactions, assess tissue expression patterns, and identify phenotype associations. Follow the steps below. If a step fails for a specific gene, note the gap and continue.
Input Parsing
Extract gene symbols from the input. The user may provide:
- A comma-separated list:
TP53, BRCA1, EGFR, PTEN
- A space-separated list:
TP53 BRCA1 EGFR PTEN
- A description with embedded genes — extract the gene symbols
Normalize all symbols to uppercase. If more than 20 genes are provided, work with the first 20 and note the truncation.
Data Gathering Steps
1. Batch Gene Summary
- Call
batch_gene_summary with all gene symbols (comma-separated) and taxon human.
- Extract: full name, description, chromosome location, gene type for each gene.
- If batch_gene_summary fails, fall back to individual
datasets_summary_gene calls for each gene.
2. Pathway Analysis
For each gene (up to 10):
- Call
kegg_get_pathway with the gene symbol to find associated pathways.
- Collect all pathway IDs and names.
- After all genes are queried, identify shared pathways — pathways that appear for 2+ genes in the list.
- Rank shared pathways by the number of input genes they contain.
3. Protein Interaction Network
- Call
string_get_interactions with all gene symbols joined by commas (species: 9606, required_score: 700, limit: 10).