Skip to main content
Glama

Get database schema (MIE file)

get_MIE_file
Read-only

Retrieves the MIE YAML file for a named RDF database, including graph pins, gotchas, verified SPARQL examples, and ID join maps, so you can read it before writing queries.

Instructions

At the start of any task, identify ALL databases needed and call this tool for EACH of them before writing any SPARQL queries. Do not query a database until its MIE file has been read. Get the MIE (Metadata Interoperability Exchange) file for a specific RDF database: its graphs to pin, database-wide gotchas, live-verified SPARQL examples and ID join map. RETURNS the MIE file as a YAML-formatted string; an unknown database returns a string beginning with 'Error:' that lists the valid database names. Part of the workflow in TogoMCP_Usage_Guide, which says which databases a question needs.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_MIE_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
dbNoAlias for `database`.
dbnameNoAlias for `database`.
databaseNoName of a single RDF database. Must be exactly one of: uniprot, rhea, pubchem, pdb, chembl, chebi, reactome, ensembl, amrportal, mesh, go, taxonomy, mondo, nando, bacdive, mediadive, clinvar, pubmed, pubtator, ncbigene, medgen, ddbj, glycosmos, supercon, bgee, oma, brenda, hgnc, jpostdb, massbank, nbrc, mogplus, jcm, hco, mco, togovar, ontology, gwascatalog, fantabio, wikipathways, idsm, pubcasefinder, lipidmaps, swisslipids, bh26microbes, marpolbase, jogo, tismed, bmrb, lotus, cellosaurus, rikenbrc_mouse, rikenbrc_cell, rikenbrc_dnabank, rikenbrc_plant, rikenbrc_jcm, riken_pmm. Do NOT pass an endpoint group name here (e.g. 'ebi', 'sib') — those go in endpoint_name instead.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.34.1
    • changedInput schema / properties / database / description
      Previous value: -"Name of a single RDF database. Must be exactly one of: uniprot, rhea, pubchem, pdb, chembl, chebi, reactome, ensembl, amrportal, mesh, go, taxonomy, mondo, nando, bacdive, mediadive, clinvar, pubmed, pubtator, ncbigene, medgen, ddbj, glycosmos, supercon, bgee, oma, brenda, hgnc, jpostdb, massbank, nbrc, mogplus, hco, mco, togovar, ontology, gwascatalog. Do NOT pass an endpoint group name here (e.g. 'ebi', 'sib') — those go in endpoint_name instead."New value: +"Name of a single RDF database. Must be exactly one of: uniprot, rhea, pubchem, pdb, chembl, chebi, reactome, ensembl, amrportal, mesh, go, taxonomy, mondo, nando, bacdive, mediadive, clinvar, pubmed, pubtator, ncbigene, medgen, ddbj, glycosmos, supercon, bgee, oma, brenda, hgnc, jpostdb, massbank, nbrc, mogplus, jcm, hco, mco, togovar, ontology, gwascatalog, fantabio, wikipathways, idsm, pubcasefinder, lipidmaps, swisslipids, bh26microbes, marpolbase, jogo, tismed, bmrb, lotus, cellosaurus, rikenbrc_mouse, rikenbrc_cell, rikenbrc_dnabank, rikenbrc_plant, rikenbrc_jcm, riken_pmm. Do NOT pass an endpoint group name here (e.g. 'ebi', 'sib') — those go in endpoint_name instead."
  2. Changed1 schema field changedv2.0.1
    • changedInput schema / properties / database / description
      Previous value: -"Name of a single RDF database. Must be exactly one of: uniprot, rhea, pubchem, pdb, chembl, chebi, reactome, ensembl, amrportal, mesh, go, taxonomy, mondo, nando, bacdive, mediadive, clinvar, pubmed, pubtator, ncbigene, medgen, ddbj, glycosmos, supercon, bgee, oma, brenda, hgnc, jpostdb, massbank, nbrc, mogplus, hco, mco, togovar, ontology. Do NOT pass an endpoint group name here (e.g. 'ebi', 'sib') — those go in endpoint_name instead."New value: +"Name of a single RDF database. Must be exactly one of: uniprot, rhea, pubchem, pdb, chembl, chebi, reactome, ensembl, amrportal, mesh, go, taxonomy, mondo, nando, bacdive, mediadive, clinvar, pubmed, pubtator, ncbigene, medgen, ddbj, glycosmos, supercon, bgee, oma, brenda, hgnc, jpostdb, massbank, nbrc, mogplus, hco, mco, togovar, ontology, gwascatalog. Do NOT pass an endpoint group name here (e.g. 'ebi', 'sib') — those go in endpoint_name instead."
  3. Changed3 schema fields changedv2.0.0
    • changedInput schema / properties / database / description
      Previous value: -"Name of a single RDF database. Must be exactly one of: uniprot, rhea, pubchem, pdb, chembl, chebi, reactome, ensembl, amrportal, mesh, go, taxonomy, mondo, nando, bacdive, mediadive, clinvar, pubmed, pubtator, ncbigene, medgen, ddbj, glycosmos, supercon, bgee, oma, brenda, hgnc, jpostdb, massbank. Do NOT pass an endpoint group name here (e.g. 'ebi', 'sib') — those go in endpoint_name instead."New value: +"Name of a single RDF database. Must be exactly one of: uniprot, rhea, pubchem, pdb, chembl, chebi, reactome, ensembl, amrportal, mesh, go, taxonomy, mondo, nando, bacdive, mediadive, clinvar, pubmed, pubtator, ncbigene, medgen, ddbj, glycosmos, supercon, bgee, oma, brenda, hgnc, jpostdb, massbank, nbrc, mogplus, hco, mco, togovar, ontology. Do NOT pass an endpoint group name here (e.g. 'ebi', 'sib') — those go in endpoint_name instead."
    • addedInput schema / properties / db / description
      Added value: +"Alias for `database`."
    • addedInput schema / properties / dbname / description
      Added value: +"Alias for `database`."
  4. Changed1 schema field changedv0.1.1
    • changedInput schema / properties / database / description
      Previous value: -"Name of a single RDF database. Must be exactly one of: uniprot, rhea, pubchem, pdb, chembl, chebi, reactome, ensembl, amrportal, mesh, go, taxonomy, mondo, nando, bacdive, mediadive, clinvar, pubmed, pubtator, ncbigene, medgen, ddbj, glycosmos, supercon, bgee, oma, brenda, hgnc, jpostdb. Do NOT pass an endpoint group name here (e.g. 'ebi', 'sib') — those go in endpoint_name instead."New value: +"Name of a single RDF database. Must be exactly one of: uniprot, rhea, pubchem, pdb, chembl, chebi, reactome, ensembl, amrportal, mesh, go, taxonomy, mondo, nando, bacdive, mediadive, clinvar, pubmed, pubtator, ncbigene, medgen, ddbj, glycosmos, supercon, bgee, oma, brenda, hgnc, jpostdb, massbank. Do NOT pass an endpoint group name here (e.g. 'ebi', 'sib') — those go in endpoint_name instead."
  5. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the description's job is to add context, which it does: it discloses the return form (a YAML-formatted string) and the failure mode (a string beginning with 'Error:' that lists valid database names). That error contract is genuinely useful behavior not derivable from the annotations or schema, though nothing is said about size/latency for pulling many MIE files.

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 critical instruction is bolded and front-loaded, followed by a compact sentence listing what the file contains and the return behavior. There is mild redundancy between 'call this tool for EACH of them' and 'Do not query a database until its MIE file has been read,' but the repetition reinforces a high-stakes ordering rule.

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?

Given an output schema exists, the description is not obliged to explain returns, yet it does so helpfully, and it also covers error semantics and workflow sequencing. The remaining gap is that all three parameters are optional with no stated default behavior, so an agent cannot tell from the description what a parameterless call yields.

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%, so the database enum and the db/dbname/database aliasing are already fully documented in the schema, establishing the baseline of 3. The description adds only 'for a specific RDF database' and does not explain the alias precedence or what happens when all three optional parameters are omitted.

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 names a specific verb and resource ('Get the MIE (Metadata Interoperability Exchange) file for a specific RDF database') and enumerates its contents (graphs to pin, gotchas, SPARQL examples, ID join map). It is clearly distinguishable from siblings like run_sparql, which it implicitly contrasts by forbidding queries before the MIE file is read.

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?

Explicit when-to-use ('At the start of any task... call this tool for EACH of them before writing any SPARQL queries'), explicit when-not ('Do not query a database until its MIE file has been read'), and it routes to the companion workflow via TogoMCP_Usage_Guide for deciding which databases are needed. Nothing is left to inference.

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