Skip to main content
Glama
Unofficial BioThings.io MCP Server

Unofficial BioThings.io MCP Server

batch_gene_query

Retrieve annotations for up to 1,000 genes in one request using Entrez or Ensembl IDs, with optional fields and species filters.

Instructions

Retrieve annotations for multiple genes efficiently (up to 1000 genes)

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_ids": "<gene_ids>"
    },
    "name": "batch_gene_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsNoComma-separated fields to returnsymbol,name,taxid,entrezgene
speciesNoSpecies filterall
gene_idsYesArray of gene IDs (Entrez or Ensembl)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. "Retrieve" weakly implies a read, but the description says nothing about what happens with invalid or duplicate IDs, whether results preserve input order, result size/rate limits, or authentication needs; "efficiently" is unquantified marketing rather than disclosure.

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 no filler; the batch qualifier and the size ceiling arrive immediately. It is short to the point where brevity starts to cost completeness, but nothing in it is wasted.

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?

The tool is low-complexity with a fully documented 3-parameter schema, so a short description is nearly enough. However, with no annotations and no output schema, an agent gets no statement of return shape, error behavior, or how ordering works across 1000 IDs.

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 fields, species, and gene_ids are fully documented in the schema and the baseline is 3. The description's "up to 1000 genes" merely restates the schema's maxItems=1000 and adds no new semantics about ID formats or species default behavior.

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+resource combination ("Retrieve annotations for multiple genes") with a batch scope and a size ceiling (up to 1000). The plural "multiple genes" implicitly distinguishes it from single-gene siblings like get_gene_annotation, but no sibling is named explicitly.

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

Usage Guidelines3/5

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

Usage context is only implied: "multiple genes" and "up to 1000" suggest this is the batch path rather than a single-record lookup. There is no explicit when-to-use, when-not-to-use, or named alternative for one-off queries or for search-by-attribute cases.

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