Skip to main content
Glama
Unofficial BioThings.io MCP Server

Unofficial BioThings.io MCP Server

query_genes

Search BioThings gene records by symbol, name, genomic interval, or summary using flexible query syntax, with species, pagination, sorting, field, and facet controls.

Instructions

Search genes using flexible query syntax including symbols, names, genomic intervals, and more

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_genes"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesQuery string (e.g., "CDK2", "symbol:TP53", "chr1:1000-2000", "summary:insulin")
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., "taxid,type_of_gene")
fieldsNoComma-separated fields to returnsymbol,name,taxid,entrezgene
speciesNoSpecies filter (human, mouse, rat, etc.)all

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 mostly fails to. It never states that this is a read-only operation, how results are paged or capped, what an empty match looks like, or whether the query language supports boolean operators — details that matter for a free-form query tool with seven parameters.

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 well-formed sentence with the core capability front-loaded and no filler. It is efficient, though the dangling 'and more' adds vagueness rather than information.

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 seven-parameter query tool with no annotations and no output schema, the definition is thin. It says nothing about result shape, pagination behavior, facet returns, or the query-language grammar an agent must construct a valid q for — leaving real gaps an agent would hit on first use.

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%, so every parameter including q, from, size, sort, facets, fields, and species is already documented with examples and constraints. The description's mention of symbols, names, and intervals merely echoes the schema's own q examples rather than adding syntax or semantics beyond it, so the baseline of 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?

The description names a specific verb and resource ('Search genes') and enumerates the query modes it accepts (symbols, names, genomic intervals). It is clear what the tool does, but it draws no line between itself and siblings such as search_genes_by_go_term, get_genomic_interval_genes, or batch_gene_query.

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 or when-not-to-use guidance is given. The phrase 'flexible query syntax ... and more' weakly implies this is the general-purpose entry point versus narrower siblings, but the agent is left to infer that routing decision entirely.

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