Skip to main content
Glama

snp_compare_lines

Read-only

Compare two lines' SNP genotypes on a chromosome (optionally a region): markers compared, identical, different, % identity and the regions where they differ (useful for pedigree/introgression questions).

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": {
      "line_a": "<line_a>",
      "line_b": "<line_b>",
      "chromosome": "<chromosome>"
    },
    "name": "snp_compare_lines"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNo
startNo
line_aYes
line_bYes
datasetNoBrassica napus Darmor v81
chromosomeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changed
    • removedInput schema / properties / chromosome / title
      Removed value: -"Chromosome"
    • removedInput schema / properties / dataset / title
      Removed value: -"Dataset"
    • removedInput schema / properties / end / anyOf
      Removed value: -[
      -  {
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / end / default
      Removed value: -null
    • removedInput schema / properties / end / title
      Removed value: -"End"
    • addedInput schema / properties / end / type
      Added value: +"integer"
    • removedInput schema / properties / line_a / title
      Removed value: -"Line A"
    • removedInput schema / properties / line_b / title
      Removed value: -"Line B"
    • removedInput schema / properties / start / anyOf
      Removed value: -[
      -  {
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / start / default
      Removed value: -null
    • removedInput schema / properties / start / title
      Removed value: -"Start"
    • addedInput schema / properties / start / type
      Added value: +"integer"
    • removedInput schema / title
      Removed value: -"snp_compare_linesArguments"
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

The readOnlyHint annotation already establishes that this is a safe read operation, lowering the behavioral burden. The description adds useful output transparency by naming markers compared, identical/different counts, percent identity, and differing regions, though it does not cover performance, errors, or limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is a single front-loaded sentence with no wasted wording. The parenthetical output list is dense but informative and directly relevant to interpreting the result.

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 read-only SNP comparison tool with no output schema, the description is reasonably complete: it states the comparison scope, optional region, expected outputs, and a use case. The main remaining gap is the dataset parameter's meaning and any error or data-scope caveats.

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 description coverage is 0%, so the description must compensate. It explains line_a/line_b as "two lines," chromosome as the scope, and start/end as an optional region, but it never explains the dataset parameter or its default dataset semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource: "Compare two lines' SNP genotypes on a chromosome," and it lists the comparison outputs. It does not explicitly distinguish itself from similar-sounding siblings such as pangenome_compare or snp_genotypes, so sibling differentiation is left implicit.

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 parenthetical "useful for pedigree/introgression questions" provides clear when-to-use context. It does not state when not to use this tool or name an alternative, so it falls short of full routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources