Skip to main content
Glama

gwas_associations

Read-onlyIdempotent

Published GWAS marker-trait associations curated by GWAS Atlas (CNCB-NGDC), each with its position, trait (Plant Trait Ontology), p-value, R2, population and paper (PMID). Data here: soybean (10,238 associations with p <= 0.01 from 76 papers, Wm82.a2 = Ensembl glycine_max, with the nearest gene). trait: words ('plant height', 'stripe rust', 'grain yield'); region: 'chromosome:start-end' on the stated assembly (e.g. '6A:8-9Mb'); gene: a gene ID or symbol, giving associations within window_kb of it; species: limit to one species (Ensembl name; default all, 'all' for every species); max_p: keep p-values at or below this. Results are sorted by p-value; by_trait and by_paper summarise all matches.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "gwas_associations"
  }
}

Input Schema

NameRequiredDescriptionDefault
geneNo
limitNo
max_pNo
traitNo
regionNo
speciesNo
window_kbNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds genuine context the annotations cannot: the dataset's provenance and size (76 papers), the assembly convention, the fact that only associations with p <= 0.01 are present, and that results come back sorted by p-value with nearest-gene annotation.

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 resource and data scope, and there is little pure filler, but the parameter documentation is compressed into a dense semicolon run-on that mixes schema facts, formatting examples, and output notes in one block. The dangling 'by_trait and by_paper' clause adds noise without a corresponding parameter.

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?

With no output schema, the description does step in to say results are sorted by p-value and that summaries are available, so the agent knows the shape of the response. Combined with the dataset scoping (soybean-only, p <= 0.01, nearest gene), this is nearly sufficient for a seven-parameter read tool; the unmentioned 'limit' and phantom by_trait/by_paper modes are the only shortfalls.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must carry the parameters, and it largely does: trait, region, gene plus window_kb, species (with default 'all'), and max_p all get concrete formats and examples ('6A:8-9Mb', 'plant height'). The gap is 'limit' (default 40) which is never mentioned, and the trailing reference to 'by_trait and by_paper' describes modes that do not exist in the input schema, which could mislead an agent into passing them.

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?

The description names a specific resource with provenance ('Published GWAS marker-trait associations curated by GWAS Atlas (CNCB-NGDC)') and enumerates exactly what each record carries (position, trait, p-value, R2, population, PMID). It also scopes the currently loaded data (soybean, 10,238 associations, Wm82.a2 = Ensembl glycine_max), which is far more than a restatement of the name and clearly separates it from QTL or literature-trait siblings.

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 filter semantics ('gene: ... within window_kb of it', 'region: chromosome:start-end on the stated assembly') implicitly tell an agent how to query by locus, trait, or species, which is usable guidance. However, there is no explicit statement of when to prefer this over siblings such as legume_qtl or literature_gene_traits, and no stated prerequisites or exclusions.

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