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
datasetNowheat40k
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

A3.6/5.0
Behavior4/5

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

readOnlyHint=true already covers the safety profile, so the description is free to add value — and it does, disclosing the actual returned metrics and the fact that differing regions are reported. It stops short of noting anything about dataset scope or resolution limits, which would matter for interpretation.

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?

A single front-loaded sentence that leads with the action and resource, then lists outputs, then the use case. No filler; the parentheticals are compact and informative rather than redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description correctly carries the return-value burden by listing the metrics produced. However, for a 6-parameter tool it leaves the dataset parameter and identifier conventions entirely unexplained, so an agent could call it correctly but not confidently.

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% across 6 parameters, so the description must compensate. It conveys the meaning of line_a, line_b, chromosome and the optional start/end region, but never mentions the 'dataset' parameter (default wheat40k) or the expected chromosome/line identifier formats.

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?

States a specific verb and resource — 'Compare two lines' SNP genotypes on a chromosome — and enumerates the comparison outputs (markers compared, identical, different, % identity, differing regions). This is clearly distinguishable from a generic genotype lookup, though no sibling tool is named explicitly.

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?

The parenthetical '(useful for pedigree/introgression questions)' gives a use-case hint, and '(optionally a region)' implies when to pass start/end. But there is no explicit when-not guidance and no named alternative such as snp_genotypes for single-line lookups.

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