Skip to main content
Glama
Unofficial BioThings.io MCP Server

Unofficial BioThings.io MCP Server

get_gene_annotation

Fetch detailed gene annotations by Entrez or Ensembl gene ID, with optional species and field filters, to support biological data workflows.

Instructions

Retrieve comprehensive gene annotation by Entrez or Ensembl gene ID

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_id": "<gene_id>"
    },
    "name": "get_gene_annotation"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsNoComma-separated fields to return (default: all available fields)all
gene_idYesEntrez gene ID (e.g., "1017") or Ensembl gene ID (e.g., "ENSG00000123374")
speciesNoSpecies filter (human, mouse, rat, etc. or taxonomy ID)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 it discloses almost nothing: 'comprehensive' hints at breadth but the return shape, whether the call is read-only, how multi-species results are handled, and whether the response is paginated or large are all unstated. For a lookup tool with zero annotation coverage this is a real gap.

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?

One front-loaded sentence with no filler, appropriate for a simple lookup. Its brevity is efficient rather than padded, though it leans on the schema to do most of the work.

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?

For a three-parameter read tool with fully documented schema and a single required ID, the description is minimally sufficient to call it. Without an output schema, however, nothing tells the agent what 'annotation' actually contains or how the 'fields' parameter changes the response.

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 all three parameters (gene_id, species, fields) are already documented with examples and defaults. The description only echoes the ID types already in the gene_id schema, adding no meaning about the 'fields' projection or the 'all' species default.

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 ('Retrieve') and resource ('gene annotation') and names the identifier types accepted, so an agent knows this is a lookup-by-ID tool. It stops short of distinguishing it from neighbors like get_gene_fields, get_gene_metadata, or get_gene_orthologs, which sound similarly retrieval-oriented.

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 guidance on when to prefer this over get_gene_fields, get_gene_metadata, or query_genes, and no mention of prerequisites or the fact that a gene ID is required rather than a symbol or free-text query. The agent must infer selection from the name alone.

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