Skip to main content
Glama

Mondo Resolve Condition

mondo_resolve_condition
Read-onlyIdempotent

Resolve 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

NameRequiredDescriptionDefault
expandNoWhen true, also return the resolved term's descendant MONDO ids (all subtypes) for each result. Default false.
conditionsYes1-25 free-text condition/disease strings, e.g. ["Non-small Cell Lung Cancer", "type 2 diabetes mellitus"].

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, openWorld, non-destructive, so the safety profile is covered. The description goes further by defining every match_quality value, disclosing that no-match returns queries tried plus nearest candidates rather than an empty result, and noting xref sources carried on the match.

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?

Front-loaded with purpose and input examples, then the return contract. It is a dense single paragraph and the match_quality enumeration is long, but each clause carries information an agent needs; minor tightening is possible but nothing is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description must carry the return contract, and it does: per-item original wording, MONDO id and label, match_quality taxonomy, xrefs, and the no-match shape. For a two-parameter read-only resolver this is complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: it explains what expand actually buys you (descendant MONDO ids for subtype-inclusive filters) and reinforces the 1-25 batch bound. That is value beyond the schema's terse field descriptions.

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?

States a specific verb (Resolve) and resource (free-text condition/disease strings onto MONDO), names the underlying mechanism (EBI OLS4 full-text search plus MyDisease.info xrefs), and gives concrete input examples like a trial registry conditions field. An agent can distinguish this from a generic resolve_entity without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Clearly frames when to use it (clinical trial registry conditions, drug label Indications wording) and explains the expand:true case for subtype-inclusive filters. It does not explicitly compare against the sibling resolve_entity, so the alternative-selection guidance is implied rather than stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.