Skip to main content
Glama
ebi-gwas-catalog-genomics-mcp

ebi-gwas-catalog-genomics-mcp

Get GWAS SNP trait associations

get_gwas_snp_associations
Read-onlyIdempotent

Retrieve genome-wide trait associations, p-values, beta/odds ratios, and mapped genes for a dbSNP rsID to link genetic variants with studied traits.

Instructions

Retrieve genome-wide trait associations, p-values, beta/odds ratios, and mapped genes for a dbSNP rsID.

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": {
      "rs_id": "<rs_id>"
    },
    "name": "get_gwas_snp_associations"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoZero-based page index (default 0).
sizeNoAssociations per page (default 10, max 25).
rs_idYesdbSNP variant identifier (for example "rs7329174" or "rs429358").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description usefully discloses the returned data categories, but says nothing about result completeness (the hard cap of 25 per page), total counts, or rate/volume behavior for a variant that may map to many traits.

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

Conciseness5/5

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

A single front-loaded sentence that names the action, the resource, the input key, and the payload. Every clause carries information; there is no boilerplate or repetition of the title.

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, enumerating the returned fields is the right compensating move, and the required input is unambiguous. The remaining gap is that it never signals that results are paginated with a low maximum page size, which matters for an agent handling variants with many associations.

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 100%, with rs_id examples and page/size bounds and defaults all documented in the schema. The description only restates that the input is a dbSNP rsID and adds no meaning about pagination or page-size tradeoffs beyond the schema.

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 ('Retrieve') and resource ('genome-wide trait associations') keyed to a dbSNP rsID, and enumerates the returned fields (p-values, beta/odds ratios, mapped genes). The rsID keying implicitly separates it from get_gwas_gene_associations, but no sibling is named explicitly, so the differentiation is left to inference.

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?

Usage is implied by the input ('for a dbSNP rsID'), so an agent can infer this is the variant-first lookup path. There is no explicit when-to-use versus get_gwas_gene_associations or search_gwas_efo_traits, and no stated exclusions or prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.