Skip to main content
Glama

Get Gene

get_gene
Read-only

Retrieve a CIViC gene record with its symbol, NCBI Gene ID, aliases, curator summary, and paged list of curated variants with molecular profile IDs. Accepts HGNC symbols or NCBI Gene IDs.

Instructions

Return a CIViC gene (symbol, full name, NCBI Gene ID, aliases, fenced curator summary) and the variants CIViC curates for it, each with its single-variant molecular profile ID; total is exact, page with offset. Ensembl or HGNC IDs are rejected with a converter step. Signature: get_gene(gene, limit=, offset=).

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": "<gene>"
    },
    "name": "get_gene"
  }
}

Input Schema

NameRequiredDescriptionDefault
geneYesHGNC symbol (BRAF) or NCBI Gene ID (NCBIGene:673).
limitNoMax variants (default 50, max 100).
offsetNoRows to skip; use the previous `next_offset`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered; the description adds genuinely new behavior: the returned set is bounded to CIViC-curated variants, `total` is exact (not an estimate), and pagination is offset-based. It omits error/empty-result behavior (e.g., unknown gene symbol), so it stops short of full 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?

Two dense sentences that front-load the return payload and then the constraints, with no filler. The trailing 'Signature: get_gene(gene, limit=, offset=).' restates the input schema and earns little, which keeps it from a 5.

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?

There is no output schema, so the description correctly spends its words describing the response shape, including the nested variant list and exact total. For a read-only, three-parameter tool that is nearly enough; only failure modes and the shape of the converter-step error are left implicit.

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

Parameters4/5

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

With 100% schema coverage the baseline is 3, and the description adds meaning on top: it clarifies the accepted gene identifier space (rejecting Ensembl/HGNC IDs) and ties `limit`/`offset` to exact-total pagination. The only ambiguity is the symbol-vs-ID overlap with the schema's 'HGNC symbol' example, which it does not fully resolve.

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?

The description gives a specific verb and resource ('Return a CIViC gene') and then enumerates the returned fields (symbol, full name, NCBI Gene ID, aliases, curator summary) plus the attached variant list with molecular profile IDs. That detail distinguishes it from get_variant and get_molecular_profile, which return the same entities at a different granularity.

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?

It states a concrete precondition ('Ensembl or HGNC IDs are rejected with a converter step') and tells the caller how to page ('page with offset'), which is real when-to-use guidance. It stops short of naming an alternative tool for variant-level detail or for gene discovery by free text, so the agent must infer sibling routing.

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