Skip to main content
Glama

gene_record

Fetches one gene record from NCBI Gene or Ensembl by gene symbol or ID and returns annotations such as symbol, description, chromosome, location, aliases, and summary.

Instructions

Fetch one gene record from NCBI Gene or Ensembl.

Pick kind:

  • ncbi (default): identifier is a gene symbol ("TP53") or a numeric NCBI Gene ID ("7157"); returns symbol, description, chromosome, map location, aliases, summary, organism and taxid.

  • ensembl: identifier is a gene symbol or Ensembl gene id; the NCBI taxid in organism is mapped to an Ensembl species. Returns symbol, description, biotype, chromosome, coordinates, assembly and canonical transcript. One request per call, no retries.

Missing annotations stay missing; nothing is inferred or completed. Failures return an error dict (error, source).

Args: identifier: Gene symbol, NCBI Gene ID, or Ensembl gene id. organism: NCBI taxonomy id (default 9606 human). kind: "ncbi" or "ensembl".

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": {
      "identifier": "<identifier>"
    },
    "name": "gene_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoncbi
organismNo
identifierYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations present the description carries the full burden and does well: it discloses 'one request per call, no retries', that the NCBI taxid is mapped to an Ensembl species, and that failures return an error dict with `error` and `source` keys. It does not mention rate limits, caching or auth, which keeps it short of a 5.

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?

Front-loaded with the verb and the mode-selection decision, then structured bullets per mode, then per-argument notes. Mostly tight, but the line 'Missing annotations stay missing; nothing is inferred or completed' is ambiguous meta-commentary that costs a point.

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

Completeness4/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 no annotations and no output schema, the description covers return fields for both modes and the error shape, which is unusually complete. Only the absence of any guidance relative to sibling lookup tools leaves a small gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate and does: `identifier` formats are enumerated with concrete examples ('TP53', '7157'), `organism` is defined as an NCBI taxid with default 9606, and `kind` allowed values are given in prose because the schema supplies no enum. Nothing about the three parameters is left undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Fetch one gene record') and immediately scopes it to two named sources (NCBI Gene, Ensembl). The per-mode breakdown of returned fields makes the tool's identity unmistakable and clearly separates it from protein_record or gene_expression.

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

Usage Guidelines4/5

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

Gives explicit guidance for selecting between the two modes via the `kind` parameter and specifies which identifier formats each mode accepts. It stops short of saying when to use this tool rather than a sibling like gene_expression, so it is not full when/when-not coverage.

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