Skip to main content
Glama
Unofficial BioThings.io MCP Server

Unofficial BioThings.io MCP Server

query_variants

Search genetic variants by genomic range, rsID, gene name, or other criteria to retrieve annotated variant records for research and workflow integration.

Instructions

Search variants using genomic ranges, rsIDs, gene names, and other criteria

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": {
      "q": "<q>"
    },
    "name": "query_variants"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesQuery string (e.g., "rs58991260", "chr1:69000-70000", "dbnsfp.genename:CDK2")
fromNoNumber of results to skip (for pagination)
sizeNoNumber of results to return (max 1000)
sortNoComma-separated fields to sort on (prefix with "-" for descending)
facetsNoFields to return facets for (e.g., "cadd.polyphen.cat")
fieldsNoComma-separated fields to returnall

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, yet it says nothing about read-only semantics, result caps, pagination behavior, or hit ranking. The 1000-result maximum and default page size exist only in the schema, not in the description's account of behavior.

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 tight sentence with no wasted words and the core action front-loaded. It is arguably over-compressed for a tool with six parameters and several sibling look-alikes.

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 six-parameter search tool with no annotations and no output schema, the definition omits what is returned, how results are ordered, and how to choose it over search_variants_by_gene or batch_variant_query. The burden of understanding the response shape falls entirely on the caller.

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 coverage is 100%, so every parameter is already documented with examples, defaults, and bounds. The description's mention of query criteria adds no syntax or format detail beyond what 'q' already states, so 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 and resource ('Search variants') and enumerates the query modes it accepts (genomic ranges, rsIDs, gene names). It does not distinguish itself from close siblings such as search_variants_by_gene or batch_variant_query, leaving the agent to infer the boundary.

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?

No explicit when-to-use guidance, no exclusions, and no pointer to an alternative. The phrase 'and other criteria' actively widens scope without telling the agent when a narrower sibling is the better choice.

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