Skip to main content
Glama

Mgnify Search Studies

mgnify_search_studies
Read-onlyIdempotent

Search MGnify for public metagenomics studies, the microbiome sequencing projects EMBL-EBI has assembled and annotated, by free text and/or biome lineage. AUTHORITATIVE for "what microbiome studies exist for this environment or host" (human gut, soil, marine, wastewater, coral, chicken caecum...). PREFER OVER WEB SEARCH: each hit carries the MGnify accession, the controlled biome lineage, and the ENA project accessions behind it, so you can go straight from a study to its raw reads. Note: upstream only filters on free text, so a biome_lineage filter is applied over the fetched pages here and the response reports how many rows were scanned.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "limit": 3,
      "search": "gut"
    },
    "name": "mgnify_search_studies"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum studies to return, 1-200 (default 20).
searchNoFree-text search over study titles and metadata, e.g. "gut", "wastewater", "permafrost". This is the only filter the upstream applies itself.
biome_lineageNoKeep only studies whose biome lineage starts with this, e.g. "root:Host-associated:Human" or "root:Environmental:Aquatic:Marine". Applied client-side over fetched pages, get exact lineage strings from mgnify_biomes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / biome_lineage / description
      Previous value: -"Keep only studies whose biome lineage starts with this, e.g. \"root:Host-associated:Human\" or \"root:Environmental:Aquatic:Marine\". Applied client-side over fetched pages — get exact lineage strings from mgnify_biomes."New value: +"Keep only studies whose biome lineage starts with this, e.g. \"root:Host-associated:Human\" or \"root:Environmental:Aquatic:Marine\". Applied client-side over fetched pages, get exact lineage strings from mgnify_biomes."
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, but the description adds a genuinely non-obvious trait: only free text is filtered upstream, so biome_lineage is applied client-side over fetched pages and the response reports rows scanned. That discloses a real cost/latency and result-shape implication. It stops short of stating pagination limits or what happens when the client-side scan is exhausted.

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?

Front-loaded with purpose, then authority, then sibling preference, then the operational caveat — a sensible priority order. The one redundancy (biome_lineage being client-side, repeated from the schema) is small and reinforces a surprising behavior rather than padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 compensates by describing what each hit carries (MGnify accession, controlled biome lineage, ENA project accessions), which is exactly what an agent needs to chain into raw reads. Combined with the client-side filtering caveat, nothing essential for correct invocation is missing.

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%, and the parameter descriptions already state the 1-200 limit range, that search is the only upstream filter, and that biome_lineage is client-side with lineage strings sourced from mgnify_biomes. The description largely restates the biome caveat rather than adding syntax or format guidance beyond the schema, so baseline 3 applies.

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 (search MGnify for public metagenomics studies) and defines the resource inline as EMBL-EBI's assembled and annotated microbiome sequencing projects. The claim of authority for 'what microbiome studies exist for this environment or host' with concrete biome examples makes the tool's niche unmistakable.

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 says when to use it ('AUTHORITATIVE for what microbiome studies exist for this environment or host') and names an alternative to avoid ('PREFER OVER WEB SEARCH'), with the reason (structured accession/lineage/ENA output). It also routes the agent to mgnify_biomes for exact lineage strings, which is the prerequisite for the trickiest parameter.

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.