Skip to main content
Glama

uniprot_lookup_variant

Read-only

Look up an HGVS amino-acid change in a UniProt entry's natural-variant annotations, returning curated matches and verifying the reference residue against the canonical sequence.

Instructions

Look up an HGVS-shorthand amino-acid change (e.g. R175H, V600E, R248*) in the UniProt entry's natural-variant annotations. Returns the matching variant feature(s) including the UniProt-curated description (often a disease association).

The stated reference residue and position are checked against the entry's canonical sequence, and the result reports which case applies (reference_check.status in JSON): reference_confirmed, reference_mismatch (the sequence has a different residue at that position), position_out_of_range (beyond the end of the sequence) or not_checked (the entry carried no sequence). Only a confirmed reference with no match means UniProt has no annotation for the change. Such a null result does NOT mean a variant is benign — UniProt only annotates literature-described variants; ClinVar / dbSNP carry population-level data.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "accession": "<accession>",
      "change": "<change>"
    },
    "name": "uniprot_lookup_variant"
  }
}

Input Schema

NameRequiredDescriptionDefault
changeYesHGVS-shorthand amino-acid change, e.g. 'R175H', 'V600E', 'R248*' (stop). Format: <original residue><1-indexed position><alt residue or '*'>. Positions are numbered on the UniProt canonical sequence.
accessionYesUniProt accession, e.g. 'P04637' (human TP53) or 'P38398' (human BRCA1). Both reviewed (Swiss-Prot) and unreviewed (TrEMBL) accessions are accepted; case-sensitive.
response_formatNo'markdown' (default) for a human-readable report with a provenance footer, or 'json' for a machine-parseable structured payload with the same data. Any other value is rejected.markdown

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.4.0
    • changedInput schema / properties / change / description
      Previous value: -"HGVS-shorthand amino-acid change, e.g. 'R175H', 'V600E', 'R248*' (stop). Format: <original residue><1-indexed position><alt residue or '*'>."New value: +"HGVS-shorthand amino-acid change, e.g. 'R175H', 'V600E', 'R248*' (stop). Format: <original residue><1-indexed position><alt residue or '*'>. Positions are numbered on the UniProt canonical sequence."
  2. Changed3 schema fields changedv1.3.0
    • addedInput schema / properties / accession / description
      Added value: +"UniProt accession, e.g. 'P04637' (human TP53) or 'P38398' (human BRCA1). Both reviewed (Swiss-Prot) and unreviewed (TrEMBL) accessions are accepted; case-sensitive."
    • addedInput schema / properties / change / description
      Added value: +"HGVS-shorthand amino-acid change, e.g. 'R175H', 'V600E', 'R248*' (stop). Format: <original residue><1-indexed position><alt residue or '*'>."
    • addedInput schema / properties / response_format / description
      Added value: +"'markdown' (default) for a human-readable report with a provenance footer, or 'json' for a machine-parseable structured payload with the same data. Any other value is rejected."
  3. First observedv1.1.9

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations, the description discloses the reference-check outcome taxonomy (reference_confirmed, reference_mismatch, position_out_of_range, not_checked) and the exact condition under which a null is meaningful. It also flags a real coverage limitation — UniProt only annotates literature-described variants — which prevents a dangerous false interpretation of an empty result.

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?

The core action is front-loaded in the first sentence with examples, and the second paragraph groups validation semantics into one coherent block. Both paragraphs carry information an agent needs, though the status enumeration is slightly dense and could be tightened.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema already present, the description needn't restate return shapes, yet it still explains the one result field an agent must interpret (reference_check.status) and the null-result caveat. Nothing material for correct invocation or interpretation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds semantics the schema does not: it ties the 'change' argument to a sequence-level reference check and explains what each check outcome implies about the input. The reference/position validation behavior is meaning that no parameter description conveys.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource — look up a single HGVS amino-acid change in a UniProt entry's natural-variant annotations — and scopes it to one variant rather than a listing. It does not name the obvious alternative (uniprot_get_variants), so the sibling distinction is implied by scope rather than stated.

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?

It clearly frames the input as an HGVS shorthand string with three concrete examples and explains that a confirmed-reference null result means 'no UniProt annotation', not 'benign'. It also points to ClinVar/dbSNP for population-level data, though it does not explicitly say when to prefer uniprot_get_variants over this single-variant lookup.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.