Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

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

MGI-Link grounds mouse-genetics work in Mouse Genome Informatics (informatics.jax.org). It is backed by a local index built from the MGI bulk data reports, served from a pinned data release, so lookups are fast and offline. It reproduces an MGI gene/marker page — especially Mutations, Alleles, and Phenotypes.

  • Resolve first: resolve_marker(query=) maps a mouse symbol (current or synonym), an MGI id (MGI:98968 or 98968), OR a human gene symbol / HGNC id (via the mouse ortholog) to the canonical {mgi_id, symbol, match_type}. An ambiguous symbol returns an ambiguous_query error with candidates.

  • Record: get_marker(query=) returns the marker with location, xrefs, human ortholog, and summary counts. search_markers(query=) is FTS over symbol/name/synonyms.

  • Mutations & Alleles: get_marker_alleles(query=, allele_type=) returns the alleles plus generation-method category counts (Targeted, Endonuclease-mediated, Radiation induced, Chemically induced, ...).

  • Phenotypes: get_marker_phenotypes(query=, mp_system=) returns MP annotations with allelic composition, genetic background, and PubMed, plus a phenotype summary. get_phenotype_overview(query=) returns the 27-system grid (the page's Phenotype Overview). find_markers_by_phenotype(mp_id=) is the reverse lookup.

  • Cross-species: get_marker_ortholog(query=) gives the mouse<->human ortholog (HGNC/Entrez/Ensembl/OMIM); get_marker_diseases(query=) lists human-mouse disease models (DO/OMIM). Ontology: get_mp_term(mp_id=) and search_phenotype_terms(query=).

  • Verbosity: most tools take response_mode (minimal | compact | standard | full, default compact). get_marker_phenotypes returns deduplicated DISTINCT terms by default (response_mode=full for per-genotype rows).

  • Completeness: every list tool returns {total, returned, limit, truncated}; when truncated is true, follow the widen step in _meta.next_commands — never infer completeness from list length.

  • Chaining: every response carries _meta.next_commands, a ready-to-call list of {tool, arguments} steps, on success AND error. Discovery: get_server_capabilities or get_diagnostics, or read mgi://capabilities / mgi://tools. Research use only; not for clinical decision support, diagnosis, treatment, or patient management.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

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

Tools

Functions exposed to the LLM to take actions

NameDescription
get_server_capabilitiesA

Return the mgi-link discovery surface. detail='summary' (default) is light: identity/build/MGI release, the tool list WITH call signatures, accepted argument aliases, response modes, recommended workflows, error taxonomy, and limits. detail='full' adds vocabularies (allele types, marker types, match types) and the ortholog field catalogue. Call this first in a cold session, or read mgi://tools / mgi://capabilities. Signature: get_server_capabilities(detail=).

get_diagnosticsA

Report the local MGI index status: whether the data is built, the loaded release, marker/allele/phenotype/ortholog/disease counts, schema version, and when it was built. Use this to confirm freshness or diagnose a data_unavailable error. Signature: get_diagnostics().

resolve_markerA

Resolve any mouse marker reference to its canonical MGI record. Accepts a mouse symbol (current or synonym, case-insensitive), an MGI id (MGI:98968 or 98968), OR a human gene symbol / HGNC id (resolved to the mouse ortholog). Returns {mgi_id, symbol, name, marker_type, match_type (mgi_id|current|synonym|ortholog)}. An ambiguous symbol returns an ambiguous_query error with the candidate list (not silently picked). A human symbol identical to the mouse symbol resolves as match_type=current (case collision) rather than ortholog; the marker is the same. Signature: resolve_marker(query, response_mode=).

get_markerA

Return the full MGI marker record, resolved from an MGI id, mouse symbol/synonym, or human ortholog. Includes name, marker/feature type, GRCm39 location, NCBI/Ensembl ids, synonyms, the human ortholog (symbol/HGNC/OMIM), and summary counts (alleles, phenotypes, phenotype references, diseases). response_mode controls verbosity. Signature: get_marker(query, response_mode=).

search_markersA

Free-text search over mouse marker symbols, names, and synonyms (FTS, relevance-ranked); returns ranked {mgi_id, symbol, name, marker_type, score, match} summaries. Exact symbol/synonym hits are PINNED first (match: exact_symbol|exact_synonym|fts) so an exact gene is never buried under transgenes or lncRNAs. Returns a truncation contract {total, returned, limit, truncated}; when truncated, next_commands includes a widen step. marker_type optionally restricts to a type (e.g. 'Gene'). Nomenclature-only: no phenotype semantics — use search_phenotype_terms + find_markers_by_phenotype for phenotype-driven discovery, or resolve_marker for an exact symbol/id. Signature: search_markers(query, marker_type=, limit=, response_mode=).

get_marker_allelesA

Return the phenotypic alleles / mutations for a mouse marker — the gene page's 'All Mutations and Alleles' panel. Includes per-allele {allele_id, symbol, name, allele_type, attributes, pubmed_ids} and the generation-method category_counts (Targeted, Endonuclease-mediated, Radiation induced, Chemically induced, Transgenic, ...). allele_type optionally filters (accepts friendly tokens like 'knockout', 'crispr', 'targeted'). Returns a truncation contract {total, returned, limit, truncated}; when truncated, next_commands includes a widen step. Signature: get_marker_alleles(query, allele_type=, limit=, response_mode=).

get_marker_phenotypesA

Return the Mammalian Phenotype (MP) annotations for a mouse marker. Distinct MP terms {mp_id, mp_term, genotype_count}, best-supported first; response_mode=full: per-genotype rows with genetic_background, pubmed_id. Paged: {total, returned, limit, truncated}. Single-locus non-conditional genotypes only (scope_note): empty is not absence. Cite via get_server_capabilities. Signature: get_marker_phenotypes(query, mp_system=, limit=, response_mode=).

get_phenotype_overviewA

Return a per-system phenotype overview grid: for each top-level MP system annotated for the marker (adipose tissue, cardiovascular system, renal/urinary system, nervous system, neoplasm, vision/eye, ...), the distinct annotated MP terms rolled up via the MP ontology. Use this for the system-level overview, then get_marker_phenotypes(mp_system=) to drill into one system. SCOPE: built from single-locus, NON-conditional genotypes (MGI_GenePheno); conditional/Cre-driven and multi-genic genotypes are EXCLUDED (see the response 'scope'/'scope_note'), so this grid is NOT a full mirror of the MGI gene page and a system may be absent here while the gene page shows it. Signature: get_phenotype_overview(query).

find_markers_by_phenotypeA

Reverse lookup: return the mouse markers (genes) annotated with a Mammalian Phenotype term. include_descendants defaults to TRUE and changes WHICH genes are returned: it rolls up annotations to more-specific child terms via the MP ontology (e.g. MP:0005367 renal/urinary system phenotype gathers all kidney phenotypes); the flag is echoed in the response. Returns a truncation contract {total, returned, limit, truncated}; when truncated, next_commands includes a widen step. Resolve a term first with search_phenotype_terms. Signature: find_markers_by_phenotype(mp_id, include_descendants=, limit=).

get_marker_orthologA

Return the mouse<->human ortholog mapping and cross-references for a marker: human symbol, HGNC id, NCBI Gene (human), Ensembl (human), OMIM gene id, and human GRCh38 coordinates. Accepts a mouse symbol/MGI id OR a human symbol/HGNC id (resolved to the mouse marker first). Signature: get_marker_ortholog(query, response_mode=).

get_marker_diseasesA

Return the human-mouse disease models associated with a marker (Disease Ontology id + name + OMIM ids), from MGI's curated DO annotations. Accepts a mouse symbol/MGI id or a human ortholog. Signature: get_marker_diseases(query).

get_mp_termA

Return a Mammalian Phenotype (MP) ontology term: id, name, definition, direct parents and children (is_a edges), and the top-level system(s) it rolls up to. Use with find_markers_by_phenotype to go from a phenotype to the mouse genes that model it. Signature: get_mp_term(mp_id).

search_phenotype_termsA

Free-text search over Mammalian Phenotype (MP) term names and definitions (FTS, relevance-ranked); returns {mp_id, name, definition, score} plus a truncation contract {total, returned, limit, truncated} (widen step in next_commands when truncated). Use this to resolve a phenotype description to an MP id, then find_markers_by_phenotype or get_mp_term. Signature: search_phenotype_terms(query, limit=).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
capabilities
tools_overview
usage
reference
research_use
citation

TDQS

A4.2/5.0

Scored across 13 tools

Disambiguation4/5

The set is largely clean: marker-centric tools (get_marker, get_marker_alleles, get_marker_phenotypes, get_marker_ortholog, get_marker_diseases) each target a distinct facet, and the description text explicitly contrasts search_markers, resolve_marker, and get_marker. The only residual overlap is resolve_marker vs get_marker, which both accept the same reference forms and differ mainly in payload size/verbosity, so an agent must read descriptions to pick correctly.

Naming Consistency5/5

Every tool follows a snake_case verb_noun convention (get_marker_alleles, search_phenotype_terms, find_markers_by_phenotype, resolve_marker), with a small, predictable verb vocabulary of get/search/find/resolve. Noun ordering varies slightly (get_phenotype_overview vs get_marker_phenotypes) but the pattern remains readable and predictable.

Tool Count5/5

13 tools sit comfortably in the well-scoped 3-15 band for a domain-specific data server. Each tool covers a meaningful slice (diagnostics, discovery, marker facets, MP term work) rather than being redundant duplication.

Completeness4/5

The surface covers the core MGI workflow end to end: discovery, resolution, marker records, alleles, phenotypes (per-marker and per-system), orthologs, disease models, and phenotype-to-gene reverse lookup. Gaps are minor but real: there is no disease-term lookup or markers-by-disease reverse path, and no allele-level detail tool, which leaves some returned identifiers as dead ends.

Maintenance

ActivityNo data
ResponsivenessOutdated data