Skip to main content
Glama

snp_gene

Read-only

CropSNPdb SNPs in and around a gene (flank bp), placed on the dataset's assembly: pea (Psat v1a via LIS pangenes, or v2) on Cameor v2, lentil Lcu.2RBY on Redberry v2, chickpea (Ca_ or Ca1g) on CDC Frontier v1. dataset: pea|pea_ams|lentil|chickpea; lines: up to 50 for calls. Say how the gene was placed ('via').

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": {
      "gene": "<gene>"
    },
    "name": "snp_gene"
  }
}

Input Schema

NameRequiredDescriptionDefault
geneYes
flankNo
limitNo
linesNo
datasetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changed
    • removedInput schema / properties / dataset / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / dataset / default
      Removed value: -null
    • removedInput schema / properties / dataset / title
      Removed value: -"Dataset"
    • addedInput schema / properties / dataset / type
      Added value: +"string"
    • removedInput schema / properties / flank / title
      Removed value: -"Flank"
    • removedInput schema / properties / gene / title
      Removed value: -"Gene"
    • removedInput schema / properties / limit / title
      Removed value: -"Limit"
    • removedInput schema / properties / lines / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / lines / default
      Removed value: -null
    • addedInput schema / properties / lines / items
      Added value: +{
      +  "type": "string"
      +}
    • removedInput schema / properties / lines / title
      Removed value: -"Lines"
    • addedInput schema / properties / lines / type
      Added value: +"array"
    • removedInput schema / title
      Removed value: -"snp_geneArguments"
  2. Added

TDQS

B3.3/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read, so the bar is lower. The description adds useful context beyond that: which assembly each dataset resolves to, the pangene remapping caveat, and the instruction to report how the gene was placed ('via'). It says nothing about result size, pagination, or behavior when the gene cannot be placed on the target assembly.

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

Conciseness3/5

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

It is front-loaded with the core action and has no filler, but the assembly/mapping sentence is compressed into cryptic telegraphy (Ca_ or Ca1g, Lcu.2RBY) that costs more parse effort than a clean structure would.

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 and zero schema coverage, the description makes a reasonable attempt by documenting the dataset vocabulary and the lines cap. It is still incomplete for a 5-parameter tool: 'limit' is undocumented and the return shape (which SNP fields, how many per gene) is left unspecified.

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 0% across 5 parameters, so the description must carry the load. It does explain 'flank' (bp window), 'lines' (cap of 50 for calls), and enumerates valid 'dataset' values, but it leaves 'limit' entirely undefined and adds no format hints for 'gene' identifiers.

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 states the resource and scope precisely: SNPs in and around a gene, widened by 'flank bp', drawn from CropSNPdb and mapped onto a named assembly. It is clear what is returned, though the verb is elided and it never names a sibling (e.g. snp_genotypes, snp_lines) to mark the boundary against nearby 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?

It gives real invocation constraints - the accepted dataset values (pea|pea_ams|lentil|chickpea) and that lines are capped at 50 'for calls' - which steers usage. However, it never says when to prefer this over the many sibling SNP tools; context is implied by the request shape rather than stated.

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