Get database schema (MIE file)
get_MIE_fileRetrieves 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
| Name | Required | Description | Default |
|---|---|---|---|
| db | No | Alias for `database`. | |
| dbname | No | Alias for `database`. | |
| database | No | 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |