Skip to main content
Glama

Search Genome

search_genome
Read-only

Locate a gene or transcript on a UCSC assembly to retrieve 0-based start/end coordinates and a display position for region annotation; query by symbol or accession for exact matches first.

Instructions

Find where a gene or transcript lies on an assembly (UCSC position search over MANE, HGNC, GENCODE and RefSeq). Returns 0-based half-open start/end plus a 1-based display string, ready for get_region_annotations. Exact symbol/accession hits come first (exact_matches counts them, each hit has exact), then UCSC's looser text matches on gene descriptions, which are weak: a disease name is not a gene lookup (resolve it with mondo_resolve_disease). UCSC search gives no strand: get_region_annotations(track='ncbiRefSeqSelect') does. Signature: search_genome(assembly, query, limit=).

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": {
      "assembly": "<assembly>",
      "query": "<query>"
    },
    "name": "search_genome"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax matches to return (default 5).
queryYesGene symbol, transcript accession or term, e.g. BRCA1, SHH, NM_007294.4, ENST00000357654.9.
assemblyYesGenome assembly: hg38 (=GRCh38) or hg19 (=GRCh37). Never lifted over.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.9/5.0
Behavior5/5

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

Beyond readOnlyHint/openWorldHint it discloses ranking semantics (exact symbol/accession hits first, with an exact_matches count and per-hit exact flag, then looser text matches), the coordinate convention (0-based half-open start/end alongside a 1-based display string), and the known gap that no strand is returned. The negative case (disease names) is called out explicitly.

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?

Dense but front-loaded: purpose first, then result format, then ranking caveats and alternatives. The trailing signature line largely restates the schema and is dead weight, but everything else earns its place.

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?

There is no output schema, so the description carries the return-value burden and does: start/end coordinates, display string, exact_matches count, per-hit exact flag, and the absence of strand. Combined with explicit alternative routing, an agent has everything needed to call and interpret it.

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 100% and the description's 'Signature: search_genome(assembly, query, limit=)' plus the assembly/query characterisation add little parameter detail beyond the schema, so baseline 3 would apply. It does add interpretive context about why query type matters (symbol vs accession vs loose term), nudging slightly above baseline.

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 ('Find where a gene or transcript lies on an assembly') plus the underlying data source (UCSC over MANE, HGNC, GENCODE, RefSeq). This is enough to distinguish it from get_region_annotations and the alignment-oriented siblings without opening a schema.

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

Usage Guidelines5/5

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

Gives explicit downstream and alternative routing: results are 'ready for get_region_annotations', disease names should go to mondo_resolve_disease, and strand must come from get_region_annotations(track='ncbiRefSeqSelect'). It also warns that UCSC's text matches on gene descriptions are weak and not gene lookups.

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