Skip to main content
Glama

get_variant

Read-only

ANNOTATE A PUBLIC VARIANT by rsID: alleles, genes, ClinVar significance and conditions, gnomAD allele frequency and predicted consequence. Reference data only, never personal genotypes. NEXT: get_gene or search_literature.

Input Schema

NameRequiredDescriptionDefault
rsidYesdbSNP rsID, e.g. rs2476601.

Output Schema

NameRequiredDescriptionDefault
dataNoThe answer. Shape depends on the tool; describe_tool documents it.
_metaNosource, generatedAt, sources (per-source lastSyncedAt and ageHours), rateLimit, disclaimer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "_meta": {
      +      "additionalProperties": {},
      +      "description": "source, generatedAt, sources (per-source lastSyncedAt and ageHours), rateLimit, disclaimer.",
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "data": {
      +      "description": "The answer. Shape depends on the tool; describe_tool documents it."
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / rsid / maxLength
      Added value: +20000
  3. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety/side-effect profile is covered. The description usefully adds that this is reference data and never personal genotypes — an important scoping disclosure not encoded in annotations — but says nothing about lookup failures (unknown rsID), latency, or caching behavior. An output schema exists, so return shape need not be covered; a 3 reflects the modest additional context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three compact clauses: what it returns, the scope constraint, and the next step. Nothing is repeated or wasted, and the payload (fields returned) is front-loaded.

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

Completeness4/5

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

With one required param documented in schema, an output schema present, and readOnly/openWorld annotations, the description covers the remaining gaps (scope and follow-up). Minor omission: no mention of behavior for an unmatched or invalid rsID.

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?

Only one parameter and schema description coverage is 100%, with the schema providing the dbSNP format and an example (rs2476601). The description's 'by rsID' restates rather than extends that. Baseline 3 is appropriate.

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 ('ANNOTATE A PUBLIC VARIANT by rsID') and enumerates exactly what comes back: alleles, genes, ClinVar significance/conditions, gnomAD frequency, predicted consequence. The 'public variant / reference data only' framing also separates it from the patient-oriented siblings in the tool list.

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?

Adds an explicit routing line ('NEXT: get_gene or search_literature'), which tells the agent where to go for follow-up. It does not state exclusions or prerequisites explicitly, but 'Reference data only, never personal genotypes' implicitly bounds when this tool applies versus patient tools.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources