Skip to main content
Glama

Search STRchive Loci

search_loci
Read-onlyIdempotent

Search the STRchive catalog of tandem-repeat disease loci by gene, locus ID, disease, ontology ID, or motif, returning ranked loci with inheritance, evidence, pathogenic motifs, and repeat ranges.

Instructions

Search the STRchive catalog of tandem-repeat (STR) disease loci; returns ranked loci (locus_id, gene, disease, inheritance, evidence level, pathogenic motifs, pathogenic_min) with total/truncated/next_offset. query matches, in rank order: an exact locus id / gene symbol / disease abbreviation; an abbreviation followed by a type number (FRA -> FRA2A, FRA7A, ...); a MONDO:/OMIM:/ORPHA: id; a repeat motif in either orientation (e.g. CAG, AAGGG); words in the disease name, then in source tags (e.g. 'ataxia'), then in the locus HPO phenotype labels. Each row's matched_on says which. Omit query to list every locus. Signature: search_loci(query=, limit=, offset=, response_mode=).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_loci"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size (1-100, default 20).
queryNoGene, locus id, MONDO/OMIM/Orphanet id, motif, or disease words. Omit to list all loci.
offsetNoRows to skip (default 0).
response_modeNoRow verbosity: minimal (locus_id, gene, matched_on) | compact (default; + disease, inheritance, evidence, pathogenic motifs, pathogenic_min) | standard (+ all repeat ranges, MONDO/OMIM ids) | full (+ coordinates, tags). No source prose at any mode; use get_locus for notes.compact

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.3
    • changedInput schema / properties / response_mode / description
      Previous value: -"Verbosity: minimal (ids + ranges) | compact (default; + motifs, coordinates, ids, references) | standard (+ fenced source prose, HPO ids) | full (+ cross-references, additional literature)."New value: +"Row verbosity: minimal (locus_id, gene, matched_on) | compact (default; + disease, inheritance, evidence, pathogenic motifs, pathogenic_min) | standard (+ all repeat ranges, MONDO/OMIM ids) | full (+ coordinates, tags). No source prose at any mode; use get_locus for notes."
  2. First observedv0.1.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/openWorld/non-destructive, yet the description adds substantial behavior: results are ranked, truncation is signaled via total/truncated/next_offset, and each row carries matched_on explaining why it matched. It also discloses a negative trait – no source prose at any response mode – which prevents a wasted call expecting notes.

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?

Front-loaded with the outcome and return fields, then the matching order, then usage rules. Density is high and nearly every clause carries information, though the trailing 'Signature: search_loci(...)' line restates what the input schema already lists and could be dropped.

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?

No output schema exists, and the description compensates by enumerating the returned fields and the pagination/truncation signals. For a read-only search tool with no required parameters, an agent has everything needed to call it and interpret the result.

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 limit/offset/response_mode are already documented in structured form. The description earns extra credit by specifying the query matching algorithm and its rank order (exact id/gene/abbreviation, abbreviation+type number, MONDO/OMIM/ORPHA id, motif in either orientation, disease words, tags, HPO labels), which the schema's one-line query description does not convey.

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 (search the STRchive catalog of tandem-repeat disease loci) plus the return shape, and names get_locus as the place to go for prose notes. An agent can distinguish it from get_locus and compare_repeat_length 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 Guidelines4/5

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

Gives concrete usage rules: 'Omit query to list every locus' and 'use get_locus for notes' at full verbosity, and the response_mode ladder tells the agent which mode to pick. It stops short of explicit when-not-to-use guidance against the other siblings (e.g. when to prefer compare_repeat_length), so it is strong but not exhaustive.

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