Mondo Resolve Condition
mondo_resolve_conditionResolve free-text condition/disease strings — e.g. a clinical trial registry's "conditions" field ("Carcinoma, Non-Small-Cell Lung"), or a drug label's Indications and Usage wording — onto the Mondo Disease Ontology (MONDO), via EBI OLS4 full-text search plus MyDisease.info cross-references. Accepts a batch (1-25) of condition strings. For each, returns the original wording verbatim, the best MONDO id + label, and a match_quality you can trust: "exact-label" (identical to the Mondo term's primary label), "exact-synonym" (identical to a listed exact synonym), "broader"/"narrower" (the string exactly names a parent or child term reached via the Mondo hierarchy, not the top full-text hit itself), or "fuzzy" (closest full-text match, not a confirmed exact term — treat with caution). Also carries xrefs (OMIM, Orphanet, DOID, UMLS, MeSH) for the matched id. A string with no plausible Mondo term returns match_quality "no-match" with the queries tried and the nearest candidates found, never a bare empty result. Set expand:true to also get the resolved term's descendant MONDO ids, for building a subtype-inclusive filter (e.g. "any subtype of non-small cell lung carcinoma").
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": {
"conditions": [
"Carcinoma, Non-Small-Cell Lung",
"NSCLC Stage IV",
"type 2 diabetes mellitus",
"Carcinoid Tumors",
"Ehlers-Danlos syndrome"
]
},
"name": "mondo_resolve_condition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expand | No | When true, also return the resolved term's descendant MONDO ids (all subtypes) for each result. Default false. | |
| conditions | Yes | 1-25 free-text condition/disease strings, e.g. ["Non-small Cell Lung Cancer", "type 2 diabetes mellitus"]. |