Skip to main content
Glama

Resolve Gene Symbol

resolve_symbol
Read-onlyIdempotent

Resolve any gene symbol or HGNC ID to its canonical HGNC record, returning the approved symbol and match type.

Instructions

Resolve any gene symbol or HGNC id to its canonical record. Accepts a current symbol, a previous (withdrawn) symbol, an alias, or an HGNC id in either form (HGNC:1100 or 1100), case-insensitively. Returns {hgnc_id, approved_symbol, match_type (hgnc_id|current|previous|alias)}. An alias shared by several genes returns an ambiguous_query error with the candidate list (not silently picked); a withdrawn/merged symbol returns a not_found error that redirects to the successor record. Signature: resolve_symbol(query, response_mode=).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesA gene symbol (current/previous/alias, case-insensitive) or HGNC id (HGNC:1100 or 1100).
response_modeNoVerbosity: minimal | compact | standard | full (default compact).compact

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
hintNo
nameNo
noteNo
_metaNo
fieldNo
queryNo
statusNo
hgnc_idNo
messageNo
successNo
locationNo
obsoleteNo
ambiguousNo
retryableNo
candidatesNo
error_codeNo
locus_typeNo
match_typeNo
replaced_byNo
other_matchesNo
allowed_valuesNo
approved_symbolNo
candidate_countNo
recovery_actionNo
Behavior5/5

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

Annotations already indicate readOnlyHint=true, idempotentHint=true, destructiveHint=false. The description adds critical behavioral details: return fields (hgnc_id, approved_symbol, match_type), error handling for ambiguous and withdrawn queries, and the existence of a response_mode parameter. No contradiction with annotations.

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?

The description is two sentences plus a signature line, which is efficient and packs much information. The final signature line is somewhat redundant given the input schema, but overall it is well-structured and front-loaded with key behavioral details.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (multiple input types, error cases) and the presence of full schema coverage and an output schema, the description is complete. It covers input variants, error handling, return fields, and parameter verbosity. No gaps remain for safe and correct usage.

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?

Schema coverage is 100%, so the schema thoroughly describes both parameters. The description adds value by providing concrete examples (e.g., 'BRAF', 'HGNC:1097', 'MLL2', '1100') and clarifying that HGNC id can be with or without prefix. It also mentions the response_mode enum options, enriching beyond schema.

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 tool's purpose: resolving any gene symbol or HGNC id to its canonical record. It lists specific input types (current, previous, alias, HGNC id) and emphasizes case-insensitivity. This distinguishes it from sibling tools like get_gene (for known IDs) and search_genes (fuzzy search).

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?

The description explains when to use the tool and provides explicit behavior for edge cases (ambiguous alias returns error with candidates, withdrawn/merged returns not_found with redirect). However, it does not explicitly state when not to use it or compare it to siblings, though the sibling context and error handling subtly guide usage.

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/hgnc-link'

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