Skip to main content
Glama
Unofficial BioThings.io MCP Server

Unofficial BioThings.io MCP Server

search_variants_by_gene

Find variants in or near a gene by symbol, filtering by variant type, clinical significance, and result count.

Instructions

Find all variants in or near a specific gene

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": {
      "gene_symbol": "<gene_symbol>"
    },
    "name": "search_variants_by_gene"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNoNumber of results to return
gene_symbolYesGene symbol (e.g., "BRCA1", "TP53", "EGFR")
variant_typesNoTypes of variants to include
clinical_significanceNoClinVar clinical significance filterall

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 behavioral burden and discloses almost nothing. It says "all variants," yet the schema caps size at 1000 with a default of 100, and nothing explains pagination, truncation of large genes, or what a result record contains. "In or near" also leaves the genomic window undefined, which matters behaviorally for interpreting hits.

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 front-loaded sentence with zero padding or redundancy. It is efficient, but its brevity leaves the definition under-specified for a four-parameter search tool.

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

Completeness2/5

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

For a tool with four parameters, no annotations, and no output schema, the description should say something about results and limits. It never addresses what is returned, how many records at most, or how "near" is bounded, so an agent cannot predict the response shape or result size.

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 per-parameter descriptions and an enum for clinical_significance, so the schema already does the explaining. The description adds no meaning beyond it, and doesn't clarify how variant_types default (snp, indel) interacts with "all variants" or how the proximity window is configured.

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 and resource ("Find all variants") and adds a scope qualifier ("in or near a specific gene"), so the agent knows the query axis is a gene symbol. It offers no differentiation from the many adjacent search tools (search_variants_by_population_frequency, search_pathogenic_variants, query_variants), leaving disambiguation to the names alone.

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?

There is no explicit when-to-use or when-not-to-use guidance and no named alternative. An agent must infer from the sibling names that this is the gene-centric entry point and that clinical_significance filtering overlaps with search_pathogenic_variants.

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