Skip to main content
Glama

Disease Names

disease_names
Read-onlyIdempotent

"UMLS code for [disease]" / "clinical name for rare disease [X]" / "look up a syndrome by name" / "find CUI for [condition]", search the NLM Disease Names vocabulary (UMLS-derived, broader than conditions; includes rare diseases, syndromes, clinical terminology, ~12k entries). Returns UMLS CUIs (e.g., C0011860) plus canonical names. Use when you need clinical-grade vocabulary linkage rather than patient-friendly labels.

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": {
      "count": 3,
      "terms": "amyotrophic lateral sclerosis"
    },
    "name": "disease_names"
  }
}

Input Schema

NameRequiredDescriptionDefault
dfNoComma-separated display fields to use in the `displays` array. Default varies per table; usually the canonical name.
efNoComma-separated extra fields to include per match. Field names vary per table; check NLM docs at clinicaltables.nlm.nih.gov.
countNoMaximum matches to return. Default 7, max 500. Use 1-3 for typeahead UX, 20-50 for browsing.
termsYesSearch query, prefix/contains match against canonical names. Whitespace-split into AND tokens. Example: "amyotrophic lateral sclerosis".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / count / description
      Previous value: -"Maximum matches to return. Default 7, max 500. Use 1–3 for typeahead UX, 20–50 for browsing."New value: +"Maximum matches to return. Default 7, max 500. Use 1-3 for typeahead UX, 20-50 for browsing."
    • changedInput schema / properties / terms / description
      Previous value: -"Search query — prefix/contains match against canonical names. Whitespace-split into AND tokens. Example: \"amyotrophic lateral sclerosis\"."New value: +"Search query, prefix/contains match against canonical names. Whitespace-split into AND tokens. Example: \"amyotrophic lateral sclerosis\"."
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "count": 3,
      +    "terms": "amyotrophic lateral sclerosis"
      +  }
      +]
  3. Changed7 schema fields changed
    • addedInput schema / properties / count / default
      Added value: +7
    • addedInput schema / properties / count / description
      Added value: +"Maximum matches to return. Default 7, max 500. Use 1–3 for typeahead UX, 20–50 for browsing."
    • addedInput schema / properties / count / maximum
      Added value: +500
    • addedInput schema / properties / count / minimum
      Added value: +1
    • addedInput schema / properties / df / description
      Added value: +"Comma-separated display fields to use in the `displays` array. Default varies per table; usually the canonical name."
    • addedInput schema / properties / ef / description
      Added value: +"Comma-separated extra fields to include per match. Field names vary per table; check NLM docs at clinicaltables.nlm.nih.gov."
    • addedInput schema / properties / terms / description
      Added value: +"Search query — prefix/contains match against canonical names. Whitespace-split into AND tokens. Example: \"amyotrophic lateral sclerosis\"."
  4. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered structurally. The description adds useful context beyond them: the vocabulary is UMLS-derived with roughly 12k entries, and it discloses the return shape (UMLS CUIs like C0011860 plus canonical names). Pagination and rate-limit behavior are not addressed, keeping it out of the top score.

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?

There is essentially no wasted wording, and each clause adds information about coverage, return values, or selection. The structure is slightly awkward, though: it leads with a slash-separated list of example queries so the core purpose statement is buried in the middle rather than front-loaded.

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?

For a lookup tool with no output schema, the description does the necessary work: it states data source, scale, the domain distinction from `conditions`, and the return format (CUI plus canonical name), all backed by full annotation and schema coverage. What remains thin is only marginal detail such as ranking behavior or match ordering.

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% and all four parameters are documented there, including prefix/contains matching, whitespace tokenization, count defaults and min/max, and the df/ef display fields. The description's example queries echo the `terms` semantics but add no syntax or format detail the schema lacks; the baseline of 3 applies.

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 (search the NLM Disease Names vocabulary) and characterizes its contents: UMLS-derived, ~12k entries, rare diseases, syndromes, clinical terminology. It explicitly distinguishes itself from the sibling `conditions` as broader and clinical-grade rather than patient-friendly, so an agent can choose between them without opening either 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?

It states a clear selector: use this when you need clinical-grade vocabulary linkage rather than patient-friendly labels, and notes it is broader than `conditions`. Sample query phrasings ('UMLS code for [disease]', 'find CUI for [condition]') further map intent to tool. It stops short of explicit exclusions for other code-lookup siblings, so it lands just below the top band.

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.