Skip to main content
Glama

Export Research Dataset

export_research_dataset
Read-onlyIdempotent

Export stored biomedical knowledge-graph tables as JSON-serialisable dictionaries to load into pandas, R, Julia, or downstream bioinformatics pipelines.

Instructions

Export the stored knowledge-graph data for downstream analysis.

Returns the selected tables as JSON-serialisable dicts, suitable for:

  • Loading into pandas DataFrames for ML feature engineering

  • Importing into R or Julia for statistical analysis

  • Feeding into downstream bioinformatics pipelines

Example (Python)::

import pandas as pd
result = await export_research_dataset(ExportInput(tables=["variants"]))
df = pd.DataFrame(result["data"]["variants"])
high_tier = df[df["clinical_tier"] == "HIGH"]

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": {
      "params": "<params>"
    },
    "name": "export_research_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.6.0
    • changedInput schema / properties / params / properties / tables / description
      Previous value: -"Tables to export. Leave empty for all entity tables. Options: proteins, variants, diseases, drugs, protein_disease, protein_drug."New value: +"Tables to export. Leave empty for the default tables: proteins, variants, diseases, drugs, protein_disease, protein_drug. Also accepted: genes, phenotypes, variant_disease, gene_phenotype, tool_invocations. Any other name is rejected."
  2. Changed1 schema field changedv1.4.3
    • addedInput schema / properties / params / properties / limit_per_table / description
      Added value: +"Maximum rows to export per table (1–50000)."
  3. First observedv1.1.8

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so safety is covered structurally. The description adds that results are returned as JSON-serialisable dicts and demonstrates the access pattern, but says nothing about cost, memory pressure, truncation behaviour, or what happens if the row cap is hit — the main behavioral risks for a bulk export.

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

Conciseness4/5

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

The purpose statement is front-loaded, followed by a compact bullet list of downstream uses and one example. The Python snippet is somewhat long relative to the tool's simplicity, but it earns its place by showing the nested params shape and result access.

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 an output schema present, return-value documentation is unnecessary, and the description covers purpose, use cases, and an invocation example for a single-parameter read-only tool. The main remaining gap is guidance on choosing between this bulk export and the many targeted query/analysis siblings.

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?

Reported schema coverage is 0%, but the nested schema itself enumerates default and accepted table names and the row limit range, so the structured data carries most of the semantics. The description contributes only an example call using tables=["variants"]; it adds no explanation of table selection trade-offs or the effect of an empty list beyond what the schema states.

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?

The description opens with a specific verb and resource: 'Export the stored knowledge-graph data,' which clearly signals a bulk extraction rather than a targeted lookup, implicitly distinguishing it from query-style siblings such as query_protein_database. It stops short of naming any alternative tool explicitly, so the differentiation is inferred rather than stated.

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?

It gives downstream-use context (pandas DataFrames, R/Julia, bioinformatics pipelines) that implies when this tool is appropriate, and the code example shows a concrete invocation. However, there is no explicit when-to-use versus when-to-use-a-query-tool guidance and no prerequisites or limits warned about.

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