Skip to main content
Glama

Get Genes for Disease

get_genes_for_disease
Read-onlyIdempotent

Return genes linked to a disease CURIE (OMIM, ORPHA, DECIPHER) so you can map disease identifiers to implicated genes for analysis.

Instructions

Return genes associated with a disease CURIE (e.g. OMIM:106210, ORPHA:550). Signature: get_genes_for_disease(disease_id, limit=, offset=, response_mode=).

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": {
      "disease_id": "<disease_id>"
    },
    "name": "get_genes_for_disease"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax genes to return (default 25).
offsetNoRows to skip for forward paging (default 0).
disease_idYesA disease CURIE: 'OMIM:106210', 'ORPHA:550' (Orphanet) or 'DECIPHER:16'; the 'MIM:' and 'Orphanet:' spellings are accepted. MONDO and other ontology ids are rejected: convert them with mondo_map_cross_ontology first.
response_modeNoVerbosity: minimal|compact|standard|full (default compact).compact

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.12.0
    • changedInput schema / properties / disease_id / description
      Previous value: -"A disease CURIE, e.g. 'OMIM:106210' (MIM Morbid) or 'ORPHA:550' (Orphanet). The prefix is case-sensitive."New value: +"A disease CURIE: 'OMIM:106210', 'ORPHA:550' (Orphanet) or 'DECIPHER:16'; the 'MIM:' and 'Orphanet:' spellings are accepted. MONDO and other ontology ids are rejected: convert them with mondo_map_cross_ontology first."
  2. Changed1 schema field changedv0.4.0
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "properties": {
      -    "_meta": {
      -      "additionalProperties": true,
      -      "type": "object"
      -    },
      -    "allowed_values": {
      -      "type": "array"
      -    },
      -    "candidates": {
      -      "type": "array"
      -    },
      -    "error_code": {
      -      "type": "string"
      -    },
      -    "field": {
      -      "type": "string"
      -    },
      -    "hint": {
      -      "type": "string"
      -    },
      -    "hpo_version": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "limit": {
      -      "type": "integer"
      -    },
      -    "message": {
      -      "type": "string"
      -    },
      -    "next_offset": {
      -      "type": "integer"
      -    },
      -    "offset": {
      -      "type": "integer"
      -    },
      -    "recommended_citation": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "recovery_action": {
      -      "type": "string"
      -    },
      -    "retryable": {
      -      "type": "boolean"
      -    },
      -    "returned": {
      -      "type": "integer"
      -    },
      -    "success": {
      -      "type": "boolean"
      -    },
      -    "total": {
      -      "type": "integer"
      -    },
      -    "truncated": {
      -      "type": "boolean"
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered elsewhere. The description adds essentially no behavior beyond that: the CURIE examples it cites duplicate the schema's examples, and it says nothing about empty results, invalid-ID errors, or what the returned gene records contain. With rich annotations the bar is lower, but there is almost no added context to credit.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and front-loads the purpose, which is good. However, the second sentence is a pure restatement of the input schema signature and therefore does not earn its place; the same information could have been spent on guidance that the schema doesn't already provide.

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 single-input lookup with a fully documented four-parameter schema and covering annotations, the description is close to sufficient: an agent knows what it returns and what input shape to supply. Since there is no output schema, a brief note on the shape of the returned gene list would have made it complete.

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%, including per-parameter descriptions, enum values, defaults and bounds, so the baseline of 3 applies. The description's signature line merely restates parameter names and does not clarify paging semantics, response_mode trade-offs, or cap behavior beyond what the schema already states.

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 gives a specific verb and resource ('Return genes associated with a disease CURIE') with concrete CURIE examples, so the disease-to-genes direction is unambiguous and distinguishable from siblings like get_genes_for_phenotype or get_diseases_for_gene by the resource named. It stops short of explicitly naming the contrasting siblings to route an agent, so it is clear but not fully differentiating.

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?

There is no when-to-use framing, no statement of alternatives (e.g. get_genes_for_phenotype when the input is a phenotype rather than a disease), and no note about the ID-conversion prerequisite — that MONDO ids are rejected and must be mapped first lives only in the schema, not in the description. The agent gets a purpose but no routing or precondition guidance from the prose.

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