Skip to main content
Glama

mine_query_builder

Build structured queries to extract genomics data from AllianceMine using a JSON-based query language. Query genes, proteins, diseases, pathways, and phenotypes across multiple model organisms.

Instructions

Build and run structured queries against AllianceMine using a JSON DSL.

Example query - find human genes in DNA repair pathway: { "from": "Gene", "select": ["symbol", "name", "organism.name", "pathways.name"], "where": { "organism.name": "Homo sapiens", "pathways.name": { "op": "CONTAINS", "value": "DNA repair" } }, "limit": 50 }

Supported operators: =, !=, CONTAINS, LIKE, <, >, <=, >=, ONE OF, NONE OF, IS NULL, IS NOT NULL

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromYesRoot class: Gene, Protein, Disease, Pathway, Phenotype, etc.
selectYesFields to return, e.g., ['symbol', 'organism.name']
whereNoConstraints as field: value or field: {op, value}
joinsNoOUTER JOIN paths for optional relationships
sortNoSort order
limitNoMaximum results

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nuin/agr-mcp-server-js'

If you have feedback or need assistance with the MCP directory API, please join our Discord server