Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BINDNoOnly used if you enable the HTTP transport in server.py
PORTNoOnly used if you enable the HTTP transport in server.py
MG_API_KEYNoIf you have an API token, it will be sent as Bearer auth
MG_BASE_URLNoOverride the MGnify API base URLhttps://www.ebi.ac.uk/metagenomics/api/v1

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
mgnify_list_biomesA

List biomes (environmental categories like soil, marine, gut). Filter by biome_lineage (matches the prefix and all descendants, e.g. 'root:Environmental:Aquatic') and optionally cap depth with max_depth. Each item has biome_name and lineage.

mgnify_list_studiesA

Search MGnify studies. Filters: search (titles/accessions), biome_lineage, has_analyses_from_pipeline (e.g. '5.0'), order (accession or updated_at, optionally prefixed '-' for desc). Each item has accession, title, biome, ena_accessions.

mgnify_get_studyB

Get a single study by MGnify accession (e.g. 'MGYS00005292'). Returns title, biome, metadata.

mgnify_study_samplesC

List samples that belong to a study.

mgnify_study_analysesC

List analyses produced from a study.

mgnify_study_publicationsA

List publications linked to a study.

mgnify_list_super_studiesC

List super-studies (umbrella collections like Tara Oceans, Earth Microbiome Project, HoloFood).

mgnify_get_super_studyA

Get a super-study by url-slug (e.g. 'tara-oceans', 'earth-microbiome-project', 'holofood'). Response embeds flagship_studies, related_studies, and genome_catalogues.

mgnify_list_samplesA

Search samples. Filters: search (accession/title), biome_lineage, order. Use this to discover biological material; then drill into runs/analyses.

mgnify_get_sampleB

Get one sample by accession (e.g. 'ERS123456'). Returns title, biome, metadata, related studies.

mgnify_sample_runsB

List sequencing runs taken from a sample.

mgnify_list_runsA

List sequencing runs. Filter by has_experiment_type (amplicon|metagenomic|metatranscriptomic|assembly|metabarcoding|hybrid_assembly|long_reads_assembly). For runs filtered by study or sample use mgnify_study_analyses or mgnify_sample_runs instead.

mgnify_get_runC

Get one run by accession (e.g. 'ERR1234567').

mgnify_run_analysesB

List analyses produced from a single run.

mgnify_list_analysesA

List MGnify analyses. The v2 /analyses/ endpoint supports only pagination — use mgnify_study_analyses or mgnify_run_analyses for filtered lookups.

mgnify_get_analysisB

Get one analysis by MGnify accession (e.g. 'MGYA00012345'). Includes pipeline_version, downloads, results_dir.

mgnify_analysis_annotationsB

Fetch a typed annotation table for an analysis. annotation_type must be one of: taxonomies__ssu, taxonomies__lsu, taxonomies__its_one_db, taxonomies__unite, taxonomies__pr2, taxonomies__dada2_pr2, taxonomies__dada2_silva, pfams. Pick taxonomies__ssu for 16S/18S ribosomal taxonomy, pfams for protein-family annotation.

mgnify_list_genome_cataloguesA

List MGnify genome catalogues (e.g. human-gut, marine, chicken-gut). Returns catalogue_id, name, biome label, genome_count, pipeline_version_tag, catalogue_type.

mgnify_get_genome_catalogueC

Get one genome catalogue by id (e.g. 'human-gut-v2-0-2', 'marine-v2-0').

mgnify_list_genomesA

List genomes inside a catalogue. Provide catalogue_id (e.g. 'human-gut-v2-0-2'); v2 only exposes genomes scoped to a catalogue.

mgnify_get_genomeA

Get one genome by MGnify accession (e.g. 'MGYG000000001'). Returns length, completeness, taxon_lineage, etc.

mgnify_list_publicationsC

Search publications. Filters: title (substring), published_after/published_before (year), order.

mgnify_get_publicationA

Get one publication by PubMed id.

Prompts

Interactive templates invoked by user choice

NameDescription
explain_mgnify_plan

Resources

Contextual data attached and managed by the client

NameDescription
res_biomes
res_catalogues
res_super_studies

TDQS

A3.6/5.0

Scored across 23 tools

Disambiguation5/5

Every tool targets a distinct entity or relationship: list/get variants for studies, samples, runs, analyses, genomes, catalogues, publications, biomes, and super-studies. Where multiple tools list analyses, their scoping (all, by study, by run) is explicit in descriptions, so an agent should not confuse them.

Naming Consistency4/5

The set consistently uses the mgnify_ prefix and snake_case, with list_X/get_X for most resources. The relational endpoints (mgnify_study_analyses, mgnify_sample_runs) and the single mgnify_analysis_annotations deviate from the list/get convention, but the pattern is still predictable.

Tool Count4/5

23 tools is above the typical sweet spot, but the domain spans many entity types and each tool maps to a distinct API operation. It is slightly heavy but not bloated.

Completeness5/5

The read-only domain is covered end-to-end: every core entity has a list and get tool, and relationship tools allow traversal from super-studies/studies to samples to runs to analyses, plus genome catalogues and publications. No obvious dead ends or missing operations for the stated browse/search purpose.

Maintenance

ActivityInactive
ResponsivenessNo issues