Skip to main content
Glama
mitomap-link
by berntpopp

Get MITOMAP Variant

get_variant
Read-onlyIdempotent

Look up an mtDNA allele on rCRS in MITOMAP to retrieve matching disease or polymorphism records, status, plasmy, GenBank counts, and references for variant interpretation.

Instructions

Look up one mtDNA allele in MITOMAP on the rCRS reference (NC_012920.1): every MITOMAP record for it (coding/control-region or rRNA/tRNA disease mutation, polymorphism) with locus, disease, MITOMAP status verbatim ('Reported', 'Cfrm' = confirmed; a bracketed ClinGen VCEP rating is split out), homoplasmy/heteroplasmy as reported, GenBank count/frequency and reference count (PMIDs at response_mode=standard|full). Accepts m.3243A>G, NC_012920.1:m.3243A>G, MT-3243-A-G, chrM:3243 A>G, A3243G, and HGVS indels (m.5133_5134del, exact MITOMAP allele match). Other mito references (Yoruba NC_001807, RSRS) and rCRS reference-base mismatches are rejected. An allele MITOMAP does not list returns found=false, not an error. Signature: get_variant(variant, response_mode=).

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": {
      "variant": "<variant>"
    },
    "name": "get_variant"
  }
}

Input Schema

NameRequiredDescriptionDefault
variantYesmtDNA variant on rCRS, e.g. m.3243A>G, MT-3243-A-G, chrM:8344 A>G or m.5133_5134del.
response_modeNoVerbosity: minimal (ids, locus, disease, status) | compact (default; + alleles, plasmy, GenBank counts, reference_count) | standard (get_variant: + up to 10 references with fenced titles; search_variants: + up to 10 PMIDs) | full (get_variant: + up to 50 references and every PMID; search_variants: + every PMID).compact

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations: it discloses error semantics (found=false, not an error), input validation rules (which references and mismatches are rejected), and exactly what each response_mode returns including GenBank counts, plasmy, PMIDs and ClinGen VCEP rating handling. No annotation contradiction — the described read-only lookup matches readOnlyHint=true and destructiveHint=false.

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?

Purpose is front-loaded and the dense single paragraph is information-rich rather than padded. The trailing 'Signature: get_variant(variant, response_mode=)' line adds nothing the schema does not already show, and some response_mode detail duplicates the enum text.

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 no output schema, the description carries the burden of describing return content and does so across all four verbosity levels, plus edge cases (not found, rejected references). Nothing an agent needs to invoke this correctly appears 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 real meaning: additional accepted notations not in the schema examples (NC_012920.1:m.3243A>G, A3243G), exact-allele matching for HGVS indels, and the rejection rules for wrong reference builds. The response_mode tiers are also restated with content detail, though that largely duplicates the enum description.

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?

States a specific verb and resource — 'Look up one mtDNA allele in MITOMAP on the rCRS reference (NC_012920.1)' — and scopes it to a single allele, which implicitly separates it from the search_variants sibling referenced later in the response_mode notes.

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?

Gives clear operating context: accepted input notations, that non-rCRS references (Yoruba NC_001807, RSRS) and reference-base mismatches are rejected, and that an unlisted allele returns found=false rather than an error. It stops short of an explicit 'use search_variants instead when…' routing statement, so the when-to-use-this-vs-alternative guidance is implied rather than spelled out.

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