Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ALPHAFOLD_OFFLINENoSet to '1' to run in offline mode, refusing all outbound HTTP and serving only from the local SQLite cache.

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": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": false,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
lookup_diseaseA

Retrieve a disease record from the MONDO unified disease ontology.

Returns the canonical MONDO entry with:

  • Disease name, definition, synonyms

  • ICD-10 / ICD-11 codes (for clinical coding / EHR integration)

  • OMIM, Orphanet, MeSH, DOID cross-references

  • Immediate parent and child terms in the MONDO hierarchy

Example: lookup_disease(mondo_id='MONDO:0005010') returns the record for coronary artery disease.

search_diseasesA

Search for diseases by name or keyword using the MONDO ontology.

Returns a ranked list of matching diseases with MONDO IDs and cross-references. Useful for resolving a clinical term to a canonical identifier before querying targets or phenotypes.

Example: search_diseases(query='breast cancer', limit=5)

lookup_phenotypeA

Retrieve an HPO phenotype term with associated disease annotations.

Returns:

  • Phenotype label, definition, synonyms

  • Diseases annotated with this phenotype (from HPO + OMIM + Orphanet)

  • Parent phenotype terms

Example: lookup_phenotype(hpo_id='HP:0001250') returns the Seizure phenotype with ~400 associated diseases.

get_gene_phenotype_profileA

Return all HPO phenotypes associated with a gene, plus gnomAD constraint.

Useful for understanding the clinical consequences of variants in a gene before requesting structural context.

Returns:

  • HPO phenotypes linked to the gene (from HPO association database)

  • gnomAD LOEUF / pLI constraint scores

  • A one-line reading of the LOEUF band (highly constrained, moderately constrained, or not constrained by this metric). It reports depletion of loss-of-function variants in gnomAD; it does not establish haploinsufficiency, and an unconstrained gene can still carry pathogenic loss-of-function variants

Example: get_gene_phenotype_profile(gene_symbol='SCN1A')

get_disease_targetsA

Return top protein targets for a disease with Open Targets evidence scores.

Evidence score breakdown (0–1 per data type):

  • genetic_association: GWAS + rare-variant signals

  • somatic_mutation: Cancer somatic variant evidence

  • known_drug: Approved or clinical-stage drugs

  • affected_pathway: Pathway membership (Reactome, SIGNOR)

  • literature: Text-mining evidence (Europe PMC)

  • animal_model: Knockout / model organism phenotypes

  • rna_expression: Differential expression evidence

drug_count is the target's Open Targets drug-and-clinical-candidate record count (all stages) and tractable is true when any Open Targets tractability bucket is set; both are observed per row and are null only when the source omits them.

Example: get_disease_targets(disease_id='MONDO:0007254', limit=15) returns top 15 targets for breast carcinoma.

get_target_diseasesA

Return all diseases associated with a protein target via Open Targets.

Accepts a UniProt accession and returns the full disease landscape for that target — essential for target-validation and indication-expansion.

Example: get_target_diseases(uniprot_id='P04637') returns all diseases associated with TP53 / p53.

get_common_disease_targetsA

Profile the top drug targets for a curated set of common diseases in one call.

Use this for a fast landscape scan across a whole disease area: given a category (e.g. 'oncology'), it looks up the curated MONDO diseases in that category and returns each one's top Open Targets evidence-scored targets, in parallel. To profile a single disease you already have a MONDO ID for, use get_disease_targets instead — this tool is its category-level, multi-disease counterpart and does not accept a raw MONDO ID.

Queries Open Targets live. Returns a JSON string with the category and a profile object mapping each disease to its MONDO ID and top targets. A lookup that fails is reported inline as that disease's error, not raised. status summarises the lookups: success when every one answered, partial when some failed, error when all failed and no targets were retrieved. diseases_requested, diseases_profiled (lookups that succeeded) and diseases_failed give the counts. A failed lookup is not evidence that a disease has no associated targets. Returns a JSON error object listing the valid values when the category — or a disease_name filter within it — is not recognised.

triage_variant_3dA

Retrieve source-reported variant evidence for research.

Fuses the upstream signals this tool currently wires into a single prioritised report:

  1. Pathogenicity — ClinVar interpretation + review status. The alphamissense_score / alphamissense_interpretation fields are always null / "Not available" here: AlphaMissense is not wired into this tool. For an AlphaMissense pathogenicity score use generate_variant_clinical_report.

  2. Population genetics — gnomAD LOEUF / pLI gene-constraint scores. Per-variant allele frequencies and the per-ancestry breakdown are not wired into this tool.

  3. Disease associations — a placeholder note pointing at get_target_diseases(); the Open Targets / MONDO traversal is a roadmap (Wave-3) item.

  4. Structural context — a text note pointing at analyze_structural_confidence (resolve the gene to a UniProt accession first); the AlphaFold pLDDT / PAE join into this report is a roadmap (Wave-3) item.

Returns the legacy pathogenicity_tier key as NOT_ASSESSED. Raw verified ClinVar classifications remain source-attributed in the pathogenicity section; they are not converted into a local risk tier. Gene-relative candidates remain explicitly unverified. AlphaMissense is not wired into this particular tool. The report is not a calibrated risk estimate.

status summarises the evidence lookups that were attempted: success when none failed, partial when some failed and some answered, error when all failed and no source evidence was retrieved. data_sources_status gives each source's state, and lookup_summary groups the sources into attempted, answered, failed and skipped with a reason for each failure. A lookup that finds nothing (no_data) is an answer. gnomAD is skipped, and counts neither way, when include_gnomad is false or a transcript's gene could not be verified. A failed lookup is not evidence about the variant: the fields it feeds keep their defaults (clinvar_classification "Not provided", empty population_genetics).

Example: triage_variant_3d(hgvs='BRCA1:c.181T>G')

phenotype_to_structuresA

Map a clinical phenotype to the protein structures of its disease targets.

Pipeline:

  1. Resolve HPO term → associated diseases

  2. For each disease → top protein targets (Open Targets)

  3. For each target → UniProt ID (for AlphaFold retrieval)

Use the returned UniProt IDs with analyze_structural_confidence to retrieve AlphaFold structural confidence (pLDDT/PAE).

Example: phenotype_to_structures(hpo_id='HP:0002621') maps Atherosclerosis → disease targets → UniProt IDs.

compare_disease_target_overlapA

Compare the protein target landscapes of two diseases.

Identifies shared and unique targets between two diseases — a key analysis for drug repurposing, identifying shared mechanisms, and understanding comorbidity.

Returns:

  • Shared targets (present in both disease target sets)

  • Unique to Disease A / Disease B

  • Jaccard similarity score of target sets

resolve_icd10_to_mondoA

Resolve an ICD-10 clinical code to MONDO disease ontology terms.

Enables integration between clinical / EHR data (which uses ICD-10) and the research-grade MONDO ontology used by Open Targets, HPO, and this MCP.

Example: resolve_icd10_to_mondo(icd10_code='I21.0') maps ST-elevation MI (ICD-10) to MONDO coronary disease terms.

query_variant_databaseA

Search the local knowledge graph for stored variants.

Returns variants matching the filter criteria. No upstream API calls are made — all data is served from the local SQLite knowledge graph, which is populated only through explicit writes to the knowledge-graph storage API. Historical SQLite files may retain illustrative rows from older versions; these should not be interpreted as independently verified biology.

query_protein_databaseA

Recall proteins already stored in the local knowledge graph.

This is a local-recall query, not a live lookup: it returns only proteins that have previously been written through the knowledge-graph storage API (or retained from earlier versions of the database). No upstream API is called. To assess a protein that may not be stored yet, use assess_target_druggability (druggability tier) or analyze_structural_confidence (pLDDT), which query live sources.

Filters are combined with AND; omit a filter to leave that dimension unconstrained. Returns a JSON record with the applied query, a result_count, and the matching proteins rows. The list is empty when nothing stored matches; an empty result means the local store has no matching row, not that the protein is absent from upstream biology.

get_knowledge_graph_statsA

Return statistics about the local knowledge graph.

Shows entity counts, database size, and last activity — useful for understanding the current contents and coverage of the local store.

export_research_datasetA

Export the stored knowledge-graph data for downstream analysis.

Returns the selected tables as JSON-serialisable dicts, suitable for:

  • Loading into pandas DataFrames for ML feature engineering

  • Importing into R or Julia for statistical analysis

  • Feeding into downstream bioinformatics pipelines

Example (Python)::

import pandas as pd
result = await export_research_dataset(ExportInput(tables=["variants"]))
df = pd.DataFrame(result["data"]["variants"])
high_tier = df[df["clinical_tier"] == "HIGH"]
find_drug_gene_networkA

Traverse the local knowledge graph from a seed entity.

Given a seed (UniProt ID, gene symbol, or MONDO disease ID), expands its immediate neighbourhood in the stored drug-gene-disease graph: a gene symbol resolves to its encoded proteins and reported variants, a UniProt accession resolves to its stored protein record, and a MONDO disease resolves to drugs with an indication for it. The store is populated by the storage API, or retained from historical database versions.

generate_variant_clinical_reportA

Generate a multi-source variant interpretation report.

Cross-references evidence from up to seven upstream databases for a single HGVS variant into one structured research report. It preserves source classifications and computational observations separately; it does not assign an independent clinical tier or establish ACMG criteria.

  1. Ensembl VEP — functional consequence, VEP's protein-level HGVS (hgvsp), SIFT and PolyPhen predictions

  2. ClinVar — clinical pathogenicity classifications and review status

  3. gnomAD v4 — population allele frequencies (gnomAD v4, ~807k individuals)

  4. AlphaMissense — deep-learning missense pathogenicity (Cheng et al. 2023)

  5. Open Targets — disease-gene evidence scores

  6. DisGeNET — curated gene-disease association scores

  7. ChEMBL — approved drugs acting on the gene product

The report includes unassessed ACMG-related computational signals, sequence consequences, and gene-level drug context. It does not compute variant-specific three-dimensional structural impact.

gnomAD is queried only when the input pins one genomic allele: a versioned RefSeq coding (NM_…:c.) or genomic (NC_…:g.) expression that Ensembl VEP maps to a single GRCh38 single-nucleotide change or simple insertion/deletion, or a chrom-pos-ref-alt variant ID. unassessed_evidence.population_frequency gives the looked-up variant ID, the per-cohort (exome, genome) counts and an explicit lookup_status; a variant without a gnomAD record is never reported as allele frequency 0. Allele frequency and predictor scores (AlphaMissense, SIFT, PolyPhen) are returned as observations: BA1, BS1, PM2, PP3 and BP4 are NOT_ASSESSED. CADD is not retrieved: cadd_phred is always null. functional_consequence.hgvsp is VEP's protein-level HGVS expression for the canonical Ensembl transcript, such as ENSP00000350283.3:p.Cys61Gly (p.Thr125= for a synonymous change). It is empty when VEP reports none, as for an intronic or splice-site change.

assess_target_druggabilityA

Comprehensive druggability assessment for a protein target.

Integrates four independent druggability signals into a HOT/WARM/COLD/NOT_DRUGGABLE classification:

  1. Drug precedent — ChEMBL approved drugs + clinical compounds

  2. Tractability — Open Targets tractability labels (small-molecule, antibody, PROTAC)

  3. Structural confidence — AF2 pLDDT (model-local confidence, not binding evidence)

  4. Population constraint — gnomAD LOEUF (gene-level LoF depletion, not toxicity evidence)

This is an author-defined, uncalibrated research score, not a validated predictive model, clinical safety result, or independent biological fact.

synthesize_protein_dossierA

Generate a complete protein intelligence dossier from 7 data sources.

It assembles disease associations, drug precedent, population constraint, ClinVar variants, and cross-species orthologs for one protein into a single structured record. It composes upstream records and author-defined research heuristics, without issuing clinical conclusions.

map_disease_drug_landscapeB

Map a bounded, source-attributed therapeutic landscape for a disease.

Returns retrieved approved drugs, pipeline agents, top druggable targets, and an exploratory summary for a given MONDO disease.

Combines Open Targets evidence with ChEMBL drug indications and MONDO disease hierarchy to produce a comprehensive landscape report used in business development, competitive intelligence, and R&D portfolio decisions.

classify_variant_acmgA

Generate a draft ACMG/AMP variant classification framework.

Reports computational observations that may inform an expert's later disease-specific ACMG/AMP review. This tool does NOT establish ACMG criteria or assign a pathogenicity class: generic consequence, model scores, and population frequencies are insufficient without clinical disease mechanism, inheritance, and criterion-specific validation.

Candidate signals (candidate_criteria; variant-type observations, never met criteria): PVS1 — Candidate loss-of-function consequence; mechanism not established BP7 — Synonymous consequence; splice impact not assessed

Not assessed (unassessed_evidence; raw observations, criteria NOT_ASSESSED): BA1 / BS1 / PM2 — gnomAD counts per cohort (exome, genome) for the looked-up variant ID, with an explicit lookup_status. gnomAD is queried only for a versioned NM_…:c. or NC_…:g. expression mapped to one GRCh38 single-nucleotide change or simple insertion/deletion, or a chrom-pos-ref-alt ID; a variant without a gnomAD record is never reported as allele frequency 0. PP3 / BP4 — AlphaMissense score and class, SIFT and PolyPhen as reported by their sources; no calibrated evidence strength is derived. CADD is not retrieved (cadd_phred is always null). ClinVar is returned as independent source context, not as PP5/BP6 evidence.

find_drug_repurposing_candidatesA

Rank existing clinical-stage drugs as repurposing candidates for a disease.

Surfaces approved or trial-stage drugs whose target carries genetic/association evidence for the disease — i.e. drug-repurposing hypotheses. For the full approved-plus-pipeline drug picture of a disease (not only repurposing candidates), use map_disease_drug_landscape instead.

How it works: take the top target_limit Open Targets evidence-scored targets for the disease; for each, fetch its ChEMBL drugs at or above min_phase; drop duplicate molecules; rank by composite_repurposing_score = OT evidence score × (max ChEMBL phase / 4). Ranking uses clinical and association evidence only — no protein structure.

Returns a JSON record whose candidates list holds up to 20 drugs (each with ChEMBL ID, name, max phase, target gene/UniProt, OT evidence score, composite score, and mechanism), plus the candidate count and the methodology string. Returns an empty candidates list with a message when the disease has no Open Targets associations. The composite score is a prioritisation aid, not an efficacy prediction — validate mechanistically before acting on it.

analyze_structural_confidenceA

Analyze AlphaFold structural confidence using pLDDT and PAE.

Returns a structural reliability summary (not a per-residue profile):

  • pLDDT: the model's mean confidence (AlphaFold DB globalMetricValue) plus a coarse confidence tier

  • PAE (predicted aligned error): mean and maximum; up to five residue pairs more than 10 positions apart with PAE above 15 Å (one-based model indices); and local_high_pae, the approximate zero-based model indices where a run of locally elevated near-diagonal PAE begins (a short stretch much less certain than the model as a whole, such as a flexible tail or linker)

  • Domains: NOT assessed. Near-diagonal PAE does not locate domain boundaries; the legacy domain_boundaries block is kept for existing clients with n_putative_domains null and no candidate positions

  • Druggability pre-screen: model confidence limitations; actual ordered fraction and ligand suitability are NOT assessed

compute_topology_fingerprintA

Compute an exploratory, rotation-invariant Cα summary vector for an AlphaFold model.

Fetches the AlphaFold model for uniprot_id and derives an exploratory 64-slot feature vector from its Cα coordinates. With GUDHI installed, H0 and H1 are computed on the 15-Å Vietoris-Rips 2-skeleton and the vector holds 16 summary statistics of their finite bar lifetimes (eight each); the other 48 slots are zero. H2 is NOT computed. On this GUDHI path, models longer than 500 residues are reduced to 500 evenly spaced Cα atoms first, so their Betti numbers and statistics describe that subsample (subsampled is then true). Without GUDHI the fallback uses every residue, with no subsampling: the vector holds eight distance and contact statistics, one of them a 4-Å contact-graph component count, and no persistent homology is computed. Betti numbers describe this chosen filtration, not protein domains, β-barrels, drug cavities, molecular function, or an experimental structure.

Returns the fingerprint vector and its slot layout, the Betti numbers, the residue counts, and which method ran. Full persistent homology needs the optional [tda] extra (gudhi); without it a coarse fallback runs that does NOT compute persistent homology, and the result flags this. Returns a no-structure result when AlphaFold DB has no model for the accession. This is a coarse, geometry-only summary — not a substitute for sequence alignment, RMSD, or functional-homology assessment.

compare_proteins_topologicallyA

Compare multiple proteins using a TDA-fingerprint distance.

Computes a pairwise distance matrix between the TDA fingerprints of the provided proteins. Distance metric: L2 distance between length-normalised 64-slot fingerprint vectors (see _fingerprint_distance). Distance = 0 means identical fingerprints; larger values mean more divergent fingerprints. This is not a Wasserstein distance between persistence diagrams.

The vectors hold at most 16 statistics (see compute_topology_fingerprint). With GUDHI (the optional [tda] extra), a model longer than 500 residues is compared on 500 evenly spaced Cα atoms. Without GUDHI the fallback uses every residue of every model, with no subsampling, and builds each model's full pairwise distance matrix, so its cost grows with the square of the model length. protein_metadata reports n_residues_used and subsampled for each model. In an internal audit of 23 AlphaFold models run with GUDHI, nearly all of each normalised vector lay in its two total-persistence components, so the distance mostly tracks one ratio: total H1 over total H0 persistence. It has no validated threshold for fold similarity and is not a functional, sequence-similarity or binding-site measure (LIMITATIONS.md L12).

find_evolutionary_structural_shiftsB

Report ortholog sequence identity and exploratory structural distances.

Distances between Cα-derived feature vectors are not calibrated evolutionary, functional, binding, or antibody cross-reactivity measures. The GUDHI and geometric-proxy methods are distinguished in each result. There is deliberately no cross-method conservation ranking.

score_binding_pocket_geometryA

Cluster the core residues of an AlphaFold model by geometry.

Not a validated binding-pocket detector; no druggability class is assigned. Cα atoms closer to the model centroid than the 60th percentile of centroid distances are grouped greedily: in sequence order, each unassigned core residue seeds a cluster of the unassigned core residues within 8 Å of it. A cluster is reported when it has at least min_pocket_residues members and a mean pLDDT of at least 50. No cavity, solvent-accessible surface or ligand is computed.

Each of up to 10 clusters reports its residue numbers, mean pLDDT, radius of gyration, centroid offset from the model centroid, and geometry_score: an uncalibrated 0 to 100 sum of four equally weighted sub-scores (residue count, radius of gyration, mean pLDDT, centroid offset) that only orders the clusters. estimated_volume_angstrom3 is the volume of a sphere with the cluster's radius of gyration, not a cavity volume.

Validation status: in an internal audit of 19 AlphaFold models the top-ranked cluster was enriched for the PDBe-KB ligand-binding site in 4 of the 18 proteins that had one, and every reported cluster scored 55 or more (LIMITATIONS.md L11). For existing clients the same clusters are also returned under the earlier names, as deprecated aliases: putative_pockets and n_pockets_found, with entries keyed pocket_id, druggability_index and druggability_components; their druggability_label is NOT_ASSESSED. To locate binding sites, use a dedicated pocket detector such as fpocket or P2Rank.

detect_intrinsically_disorderedA

Flag low-confidence modeled regions as intrinsic-disorder candidates.

Reads per-residue AlphaFold pLDDT from PDB C-alpha records and groups contiguous runs below 50. Low pLDDT may reflect intrinsic disorder, missing binding partners, alternate conformations, or model uncertainty; it is NOT independent evidence that a region is disordered.

Returns model-local residue indices, observed PDB chain/residue identifiers, and positional descriptions of low-pLDDT runs. These labels describe model geometry, not validated linkers, tails, disorder or function. Legacy idr_fraction and disordered_residue_count remain deprecated numeric aliases of low-pLDDT measurements, NOT validated intrinsic-disorder assays. Prefer low_plddt_* fields for scientific interpretation. PDB numbering is not mapped to full-length UniProt via SIFTS here.

This implementation is a reproducible screening heuristic, not a validated disorder predictor, biomolecular mechanism classifier, or clinical result. For background on intrinsic disorder, see Ruff & Pappu (2021), J Mol Biol. 433:167208; that paper does not validate these cutoffs or code.

get_protein_structureA

Retrieve a protein's AlphaFold model: metadata, download URLs, optional coordinates.

The single entry point for getting the predicted structure itself. Returns the AlphaFold DB entry metadata — entry ID, model version and creation date, organism, gene, UniProt description, the amino-acid sequence and its length, and the model's mean pLDDT — plus stable download URLs for the PDB and mmCIF coordinate files, the PAE matrix, and the AlphaMissense substitutions CSV. The PAE image URL is only present in legacy API responses. Set include_coordinates to embed the full PDB coordinate text directly.

Use the sibling structure tools for interpretation rather than retrieval, so their scopes don't overlap: analyze_structural_confidence for a pLDDT/PAE confidence read, score_binding_pocket_geometry for geometric clusters of core residues (not validated pockets), compute_topology_fingerprint for an exploratory Cα summary vector, and detect_intrinsically_disordered for low-pLDDT intervals. This tool hands you the structure and its handles; it does not score or interpret the model.

Returns structure_available: false when no model was retrieved, and retrieval_status says why. no_prediction_returned: AlphaFold DB answered without a model for the accession, an expected coverage gap. request_failed: the request was blocked (offline mode) or failed, which is not evidence that no prediction exists.

With include_coordinates, coordinates_pdb is the file that this same record advertises (file_urls.pdb); no second prediction lookup is made. coordinates_status is retrieved, no_coordinates_returned (the record advertises no PDB file, or the file is empty) or request_failed (the request for that file failed, HTTP 404 included). coordinates_pdb is empty unless the status is retrieved; when it is empty, coordinates_error gives the reason.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 29 tools

Disambiguation3/5

The set has several overlapping clusters, especially variant interpretation (classify_variant_acmg, triage_variant_3d, generate_variant_clinical_report) and structural analysis (get_protein_structure, analyze_structural_confidence, compute_topology_fingerprint, compare_proteins_topologically, score_binding_pocket_geometry). The verbose descriptions do clarify boundaries and cross-reference alternatives, but agents must read carefully to avoid misselection.

Naming Consistency4/5

Tool names are consistently snake_case and mostly follow a verb_noun pattern such as lookup_disease, get_disease_targets, and classify_variant_acmg. Minor deviations like phenotype_to_structures and resolve_icd10_to_mondo are still readable and predictable.

Tool Count2/5

With 29 tools, the surface is heavy and exceeds the practical range for easy tool selection. The broad biomedical domain explains some breadth, but overlapping variant and structure analysis tools make the set feel overgrown rather than tightly scoped.

Completeness3/5

The server covers disease ontology, phenotypes, targets, drugs, variants, structures, and knowledge-graph queries, so major research workflows are represented. However, the local knowledge graph is largely read-only in the exposed tool set, and some variant-to-structure workflows are explicitly marked as roadmap or not wired in.

Maintenance

ActivityMaintained
ResponsivenessLimited data