Skip to main content
Glama

Find Blat Alignments

find_blat_alignments
Read-only

Map a DNA sequence to its genomic source by BLAT-aligning it against hg38 or hg19, returning scored hits with strand, identity, coverage, and spliced blocks.

Instructions

Return the genomic alignments of one DNA sequence (BLAT, as UCSC web BLAT), i.e. where the sequence comes from. Hits sorted primary assembly first, then by UCSC score, each with 0-based half-open start/end + 1-based display, strand, identity %, query_coverage %, blocks (several blocks = spliced, e.g. cDNA across exons), alt_or_patch for hg38 alt/fix contigs (primary_total excludes them). total/truncated are honest. Runs on this deployment's own UCSC gfServer; an assembly that is not deployed answers upstream_unavailable (get_diagnostics -> blat shows what is live). Signature: find_blat_alignments(sequence, assembly=, min_identity=, 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": {
      "sequence": "<sequence>"
    },
    "name": "find_blat_alignments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax hits (default 10).
assemblyNoGenome assembly (default hg38). Never lifted over.
sequenceYesDNA, 20-25,000 bases of A/C/G/T/N (other IUPAC codes refused). Whitespace and one optional FASTA header line are ignored; exactly one sequence per call.
min_identityNoDrop hits below this identity % (default 90, gfClient's default).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly and openWorld, and the description earns its place by disclosing sort order (primary assembly first, then UCSC score), the meaning of blocks (spliced hits), alt_or_patch handling, that primary_total excludes alt contigs, and that total/truncated are honest. It also discloses the deployment-specific gfServer backing and the upstream_unavailable failure mode, which no annotation conveys. Return-field detail is thorough; pagination beyond 'limit' is not discussed, keeping it short of a 5.

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?

Purpose is front-loaded in the first clause, followed by output shape, then deployment caveats, then the signature recap. Dense but each clause carries information; the signature line duplicates schema content and could be trimmed.

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, and the description compensates by enumerating the returned fields (coordinates in both conventions, strand, identity, query_coverage, blocks, alt_or_patch, total/truncated). Combined with the deployment/error caveat, 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.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents defaults, ranges, enum values and constraints for all four parameters. The description's signature line and default notes largely restate that, adding only marginal meaning such as 'never lifted over' framing already present in the 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?

States a specific verb and resource ('Return the genomic alignments of one DNA sequence (BLAT, as UCSC web BLAT)') and frames it functionally as 'where the sequence comes from', which separates it from reference/annotation siblings. It also scopes input to exactly one sequence, preventing confusion with batch or multi-region tools.

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?

Usage context is implied well ('where the sequence comes from', one sequence per call, assembly that is not deployed answers upstream_unavailable), but there is no explicit contrast with alternatives such as search_genome or get_reference_sequence, which performs the inverse lookup. The get_diagnostics pointer covers error recovery rather than tool selection.

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