Skip to main content
Glama

Studies By Trait

studies_by_trait
Read-onlyIdempotent

GWAS Catalog: find genome-wide association studies for a disease/trait (EFO trait, e.g. "asthma" or "type 2 diabetes"). Returns accession, PubMed ID, title, journal, date, sample size. Keyless, from EBI/NHGRI.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax studies to return (default 10).
traitYesDisease or trait name, e.g. "asthma", "type 2 diabetes".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "trait": "asthma"
      +  },
      +  {
      +    "limit": 25,
      +    "trait": "type 2 diabetes"
      +  }
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, and non-destructive behavior. The description adds value by specifying return fields (accession, PubMed ID, etc.), that it is keyless, and the data source (EBI/NHGRI). This goes beyond annotations but does not cover all edge cases (e.g., pagination).

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?

Two sentences, front-loaded with the core purpose. Every sentence adds value: first for what it does, second for return fields and source. No fluff.

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 simple list-returning tool with good annotations and schema, the description is quite complete. It lists return fields, notes keyless access, and mentions the data source. The absence of pagination details is a minor gap, but overall adequate.

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 100% with descriptions for both parameters, so the baseline is 3. The description adds minimal extra meaning beyond the schema, only noting that trait is an EFO term. The schema already provides examples and descriptions.

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 clearly states the tool finds genome-wide association studies for a specific disease/trait, using the GWAS Catalog. It distinguishes from sibling tools like 'get_snp' and 'snp_associations' by focusing on studies by trait, and the name itself reinforces the purpose.

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

Usage Guidelines4/5

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

The description provides clear context for when to use the tool (to find studies for a given trait), but does not explicitly state when not to use it or mention alternative tools. However, the context is sufficient for an AI agent to infer appropriate usage.

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.