Skip to main content
Glama

resolve_gene_sets

Read-only

Gene sets for an organism, fetched from the authority at run time instead of a bundled list: Gene Ontology terms from the GO Consortium's own annotation file for the organism (each term's direct annotations, NOT annotations dropped, term names from QuickGO), or Reactome pathways from Reactome's AnalysisService (each pathway's members among the genes you submit, in the species Reactome resolves). Returns GMT text for gene_set_overrepresentation, gene_set_enrichment and gene_set_camera, with the source, release and retrieval date.

Input Schema

NameRequiredDescriptionDefault
genesNoreactome: the genes to map, one per line (a 'gene value' line keeps its first field), e.g. a DE run's tested genes, in an ID system Reactome reads (Ensembl, UniProt, NCBI Gene, a model organism's own). Only applies when authority is reactome.
_filesNoThe project: record references shaped like _subject. Their records become library documents a tool names in sequences/parts/document; a trace or alignment is found by file name.
_subjectNoThe record to act on: exactly one of sequence, accession (+source), sample (an id from list_samples) or file ({name, text} or {name, base64}); record_index picks one record of several.
organismYesthe organism: an NCBI taxon ID (7227) or a name (Drosophila melanogaster, human); GO resolves it through NCBI Taxonomy, Reactome resolves it itself.
authorityNogo: every GO term with a direct annotation in the organism. reactome: Reactome's pathways, restricted to the genes in `genes`. Values: go (GO · GO Consortium), reactome (Reactome · AnalysisService).go

Output Schema

NameRequiredDescriptionDefault
geneSetsYesthe sets as GMT text: ID, name, member genes
provenanceYesthe authority, the organism it resolved, its release, the retrieval date, every URL read and what the sets are restricted to

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, and the description adds real behavioral context beyond that: retrieval happens at run time from an external authority, GO sets use direct annotations only ('NOT annotations dropped'), Reactome sets are restricted to the submitted genes and to the species Reactome resolves, and the output carries source, release and retrieval date. It doesn't mention failure modes or rate limits, but the disclosure is substantial.

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?

Front-loaded with the purpose, then the two authority branches, then the return value. It is one dense sentence with heavy parentheticals, and the 'NOT annotations dropped' aside is a little cryptic, but nearly every clause carries information an agent needs.

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?

An output schema exists, so return-value detail needn't be exhaustive, and the description still summarizes the GMT output with provenance. The nested _files/_subject project plumbing is left entirely to the schema, but the core behavior of the tool itself is adequately covered.

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 the schema already documents organism resolution, the reactome-only scope of `genes`, and the authority enum. The description largely restates those semantics (organism resolution path, genes applicability) rather than adding syntax or format guidance, so the baseline of 3 applies.

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?

The description opens with a specific verb+resource ('Gene sets for an organism, fetched from the authority at run time') and immediately names the two concrete sources (GO Consortium annotation file, Reactome AnalysisService). It also names the downstream consumers (gene_set_overrepresentation, gene_set_enrichment, gene_set_camera), which lets an agent place the tool in the workflow rather than guessing.

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?

By stating that the output is GMT text for the three gene_set_* enrichment tools, it makes the when-to-use context explicit: this is the prerequisite fetch step. It does not, however, state any exclusions or say when a bundled-list or lookup_gene/ontology path would be preferable instead.

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