Skip to main content
Glama

brad_gene_variants

Read-onlyIdempotent

SNPs of a gene across a BRAD diversity panel (live from BRAD; the first query of a gene can take up to a minute), with each SNP's alleles and alternative-allele frequency and the accessions grouped into haplotypes. Panels, chosen from the gene ID: B. rapa 524 accessions (Chiifu v3.0 IDs, BraA06g029970.3C; Cai et al. 2021 Genome Biol doi:10.1186/s13059-021-02383-2), B. rapa 199 accessions (v1.5 IDs = Ensembl Bra019255), B. oleracea 119 accessions (JZS v2.0 BolC07g051080.2J or v1.1 Bol042142), B. napus 608 accessions (Darmor v5 = Ensembl v4.1 names, BnaA01g13580D), B. juncea 187 accessions (T84 v2.0 BjuVA01G15790). Use gene_in_assemblies or brad_syntenic_orthologues to get the right ID. For allele frequencies between morphotypes (B. rapa) or ecotypes (B. napus winter/spring) use brad_snp_group_test.

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": "brad_gene_variants"
  }
}

Input Schema

NameRequiredDescriptionDefault
geneYes
panelNo
membersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, and the description adds real context beyond them: data is live from BRAD and a first query for a gene can take up to a minute, which is operationally important for timeout/retry decisions. It also discloses that panel choice is constrained by the gene's ID namespace. It does not cover failure modes, such as what happens when the gene is absent from the selected panel, which keeps it below a 5.

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?

Front-loaded with the core behavior and output contents, then progressively adds panel details and alternatives, so the agent gets the essentials first. The single opening sentence is very long and heavily parenthesized, which hurts skimmability somewhat, but nearly every clause carries usable information rather than filler.

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 three-parameter, no-output-schema tool, this covers the hard parts: which panels exist, what ID format each needs, latency expectations, and where to get the gene ID. The remaining gaps are the undefined 'members' parameter and the absence of any statement about the shape of the returned variant/haplotype data or error behavior.

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 substantially clarifies the gene/panel relationship by enumerating the five panels with accession counts and the ID convention each expects (e.g., Chiifu v3.0 BraA06g029970.3C, Darmor v5 BnaA01g13580D), but it never states the exact accepted string values for the panel argument nor explains the 'members' integer (default 20), leaving one of three parameters entirely undefined.

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?

States a specific verb and resource: returns SNPs of a gene across a BRAD diversity panel, with alleles, alternative-allele frequency, and accessions grouped into haplotypes. The output content is enumerated, so an agent can tell this apart from gene-level siblings like gene_in_assemblies or brad_snp_group_test without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent: use gene_in_assemblies or brad_syntenic_orthologues first to obtain the correct gene ID for the chosen panel, and use brad_snp_group_test instead when the goal is allele-frequency comparison between morphotypes (B. rapa) or ecotypes (B. napus winter/spring). Both the when-to-use and the when-to-use-something-else conditions are named.

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