Skip to main content
Glama

snp_compare_lines

Read-onlyIdempotent

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
datasetNoPisum sativum Cameor v2 PSPPC
chromosomeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so the safety profile is covered. The description adds real value beyond that by enumerating what the comparison yields: markers compared, identical, different, percent identity, and the differing regions — effectively a return-value summary in the absence of an output schema. It does not mention cost, runtime, or behavior when a line lacks data, which keeps it at 4.

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 with the resource and scope stated first and the use case last. It is dense but every clause carries information; the only mild redundancy is the trailing parenthetical, which still earns its place by orienting the agent.

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?

For a six-parameter read-only analysis tool with no output schema, listing the output metrics was the right call and largely completes the picture. Gaps remain: the dataset parameter and line identifier conventions are unexplained, and there is no hint about performance or data-availability constraints.

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 carry the load. It successfully glosses line_a/line_b as the two lines being compared, chromosome, and the optional start/end region. It says nothing about the 'dataset' parameter or the expected identifier format for line names, leaving two of six parameters undocumented anywhere.

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 or region. An agent can tell this is a pairwise genotype comparison rather than a lookup like snp_genotypes or snp_markers. It stops short of explicitly naming which sibling to prefer, so it is a 4 rather than a 5.

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 an implied when-to-use context, which is more than nothing. However, there is no explicit exclusion, no statement of prerequisites (e.g. both lines must have genotype data in the chosen dataset), and no routing to alternatives such as snp_genotypes for single-line queries.

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