Skip to main content
Glama
Unofficial BioThings.io MCP Server

Unofficial BioThings.io MCP Server

get_variant_annotation

Retrieve variant annotations by HGVS ID to get biological details for a specific variant and choose which fields to return.

Instructions

Retrieve comprehensive variant annotation by HGVS ID

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_id": "<variant_id>"
    },
    "name": "get_variant_annotation"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsNoComma-separated fields to return (default: all available fields)all
variant_idYesHGVS variant ID (e.g., "chr7:g.55241707G>T", "chr1:g.35367G>A")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. 'Retrieve' weakly signals a read-only operation, but nothing is said about behavior for invalid or unknown HGVS IDs, whether the result is a single record or a set, what 'comprehensive' actually spans, or any rate/volume limits.

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?

A single nine-word sentence with no filler and the key concept (HGVS ID) front-loaded. It is efficient but slightly under-specified rather than padded; a clause on what the annotation covers would cost little and add a lot.

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

Completeness3/5

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

For a two-parameter, single-record read tool with no output schema, the definition is minimally viable but thin: 'comprehensive variant annotation' does not tell the agent what categories of data come back (consequences, frequencies, transcripts). Sibling context (get_variant_fields, get_variant_metadata) makes the missing scope boundary more noticeable.

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

Parameters3/5

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

Schema description coverage is 100%, with both variant_id (HGVS format with examples) and the fields projection fully documented in the schema. The description's 'by HGVS ID' merely restates what the schema already provides and adds no new semantics, so the baseline 3 applies.

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?

States a specific verb ('Retrieve') and resource ('variant annotation') plus the lookup key ('by HGVS ID'), so the operation is unambiguous. It does not distinguish itself from close siblings such as get_variant_metadata, get_variant_fields, or query_variants, leaving the agent to infer which retrieval tool to pick.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Beyond the implicit requirement that the caller already holds an HGVS ID, there is no when-to-use guidance, no mention of when a different tool is preferable (e.g., field listing via get_variant_fields or batch access), and no prerequisites or failure conditions. The agent must guess at routing among many similarly named variant and gene tools.

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