Skip to main content
Glama

Get Genes for Disease

get_genes_for_disease
Read-onlyIdempotent

Retrieve genes associated with a disease using its CURIE identifier. Supports pagination and multiple response modes.

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=).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax genes to return (default 25).
offsetNoRows to skip for forward paging (default 0).
disease_idYesA disease CURIE, e.g. 'OMIM:106210' (MIM Morbid) or 'ORPHA:550' (Orphanet). The prefix is case-sensitive.
response_modeNoVerbosity: minimal|compact|standard|full (default compact).compact

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
hintNo
_metaNo
fieldNo
limitNo
totalNo
offsetNo
messageNo
successNo
returnedNo
retryableNo
truncatedNo
candidatesNo
error_codeNo
hpo_versionNo
next_offsetNo
allowed_valuesNo
recovery_actionNo
recommended_citationNo
Behavior3/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so the description is not required to restate safety. However, it adds the function signature but does not disclose pagination behavior, error handling, or performance characteristics beyond what is obvious.

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

Conciseness5/5

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

The description is two sentences: first defines the core function, second provides the exact function signature. No wasted words, front-loaded with the most important information.

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?

With a complete output schema and annotations covering safety, the description adequately covers the tool's purpose and basic usage. It could mention paging behavior or result size limits, but given the simplicity and schema richness, it is nearly 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%, so the description's role is minimal. It provides an example disease_id and lists parameter names in the signature, but these are already present in the schema. Baseline 3 is appropriate.

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 clearly states the action (return) and resource (genes) and specifies the input as a disease CURIE with examples. This distinguishes it from sibling tools like get_diseases_for_gene or get_genes_for_phenotype.

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?

The description implies usage when you have a disease CURIE and want associated genes, but does not explicitly state when to use this tool versus alternatives, nor does it mention conditions like required permissions or data freshness.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/berntpopp/hpo-link'

If you have feedback or need assistance with the MCP directory API, please join our Discord server