Skip to main content
Glama

analyze

Runs gnomancer locally on raw DNA or VCF files to return report paths and a digest covering haplogroups, traits, ClinVar, and pharmacogenomics.

Instructions

Run gnomancer on a raw DNA file (AncestryDNA, 23andMe, MyHeritage, FamilyTreeDNA, LivingDNA, VCF; .zip OK). Takes one to three minutes; the very first run also downloads ~250 MB of open-source tools and references (a few minutes), automatically. fast=True skips Yleaf, ClinVar and PharmCAT. Returns the output directory, report paths and the at-a-glance digest. gnomancer uploads nothing; the returned results go to your model provider like any tool output.

A whole-genome or exome VCF (or gVCF) from sequencing is detected automatically and read natively: every variant, indels included, on its own build. For those, pass the vendor's structural-variant and copy-number VCFs as sv and cnv if the user has them (Sequencing.com delivers both), and the aligned reads (BAM or CRAM) as bam. With bam, gnomancer checks coverage, confirms every position the VCF is silent about, reads the Y lineage and mitochondrial heteroplasmy from the reads, and runs the read-level callers named in callers (comma-separated from repeats, cyp2d6, hla, smn; 'all' or 'none'). Those need gnomancer setup --wgs once and add about five minutes.

genes (comma-separated symbols, e.g. "HFE,HJV,HAMP,TFR2,SLC40A1") adds a full listing of the variants the sample carries in those genes: everything that changes the protein or has a non-benign ClinVar record, uncertain ones included. Use it when the user has a condition or family history that points at specific genes; the default report lists only variants ClinVar already calls pathogenic, plus unclassified truncating variants in the ACMG genes.

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": {
      "path": "<path>"
    },
    "name": "analyze"
  }
}

Input Schema

NameRequiredDescriptionDefault
svNo
bamNo
cnvNo
fastNo
pathYes
genesNo
callersNoall
out_dirNo
ancestryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.7.0
    • addedInput schema / properties / genes
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Genes"
      +}
  2. Changed4 schema fields changedv0.6.0
    • addedInput schema / properties / bam
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Bam"
      +}
    • addedInput schema / properties / callers
      Added value: +{
      +  "default": "all",
      +  "title": "Callers",
      +  "type": "string"
      +}
    • addedInput schema / properties / cnv
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Cnv"
      +}
    • addedInput schema / properties / sv
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Sv"
      +}
  3. First observedv0.5.1

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses a 1-3 minute runtime, a one-time ~250 MB download, what `fast` skips, that `bam` requires a prior `gnomancer setup --wgs` and adds ~5 minutes, and that nothing is uploaded by the tool but results go to the model provider. It also states what the call returns.

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 text is dense but well organized into paragraphs by concern (inputs, sequencing/VCF path, genes), and the most important facts (what it does, runtime, first-run download) are front-loaded. A few clauses, such as the repeated explanation of default-report scope, run long, but there is little true waste.

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?

For a nine-parameter, no-annotation, no-output-schema tool, the description covers runtime, side effects, prerequisites, return values, and most parameter semantics. The main gaps are the undocumented `out_dir` and `ancestry` parameters and no explicit statement of what failure looks like for unsupported input files.

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 0%, so the description must compensate, and it explains most of the nine parameters: `path` inputs, `sv`, `cnv`, `bam`, `genes` (with a concrete symbol-list example and what it adds over the default report), `callers` (enumerated values and 'all'/'none'), and `fast`. `out_dir` and `ancestry` get no mention, leaving two parameters undocumented anywhere.

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 opens with a specific verb+resource ('Run gnomancer on a raw DNA file') and enumerates the accepted inputs (AncestryDNA, 23andMe, MyHeritage, FamilyTreeDNA, LivingDNA, VCF, .zip). It also distinguishes itself from sibling reporting tools by describing the full pipeline run and the returned artifact set (output directory, report paths, digest).

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?

It gives concrete when-to-use guidance for the optional inputs: use `genes` when the user has a condition or family history pointing at specific genes, pass `sv`/`cnv` when the vendor supplies them, pass `bam` for read-level work, and use `fast=True` to skip Yleaf/ClinVar/PharmCAT. It does not explicitly steer the agent away from siblings such as `summary` or `lookup` for already-analyzed data, so routing among tools is left partly implicit.

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