Skip to main content
Glama

get_condition_category

Read-onlyIdempotent

Map EVERY disease, risk factor or population term the user mentioned — independently, not all to the same bucket — to the single nearest entry from this list, BEFORE calling review_medication_evidence with a conditions list: Adolescent patients 12 to 17 years of age, Asian patients, BMI, Cardiac disorders, Cardiac patients, Cardiovascular disorders, Children 1 year through 16 years of age, Children under 6 months, Cirrhotics, Diabetes, Diabetes mellitus, Female patients, Females of reproductive potential, Females of reproductive potential contraception, Geriatric use, Heart failure, Hemodialysis, Hepatic disease, Hepatic impairment, Immunocompromised patients, Labor and delivery, Lactation / nursing mothers, Liver transplant recipients, Low body weight, Male patients, Males of reproductive potential, Males of reproductive potential contraception, Neonates to less than one year of age, Neuromuscular disease, Neurovascular disorders, Obese patients, Patients after organ transplantation, Patients with compromised respiratory function, Pediatric Patients 6 to 11 Years of Age, Pediatric Patients Younger than 4 Months of Age, Pediatric use, Percutaneous coronary intervention, Pregnancy, Pulmonary patients, Race or ethnicity, Renal impairment, Smoking, Special populations, Type 2 diabetes mellitus, Weight. Prefer the most specific name: when the user names a specific disease, call this tool with its category and submit the matching exact sub-code "name" (for example hypertension -> "Essential (primary) hypertension", not the category "Cardiovascular disorders"). Submit a category name as-is only when the topic is described in general terms (such as "Hepatic impairment") or no sub-code fits. Never submit the "icd10_code" (the code is reference metadata only; downstream matching is keyed on the name string). A population label with no sub-codes (e.g. "Asian patients") returns an empty list, which is expected, not an error. conditions[] only accepts an exact name from here — a category name or a sub-code name — an age such as "age 72", or bare "male"/"female"; free text and bare ICD-10 codes are rejected.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryYesExact top-level category name from this tool's own description, e.g. "Cardiac disorders" or "Diabetes"

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already establish that this is a read-only, idempotent, non-destructive, closed-world lookup. The description adds useful behavioral context beyond annotations, notably that a population label with no sub-codes returns an empty list and that empty results are expected rather than errors.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The long category list is necessary, but the definition is a run-on paragraph that mixes this tool's parameter guidance with downstream conditions[] formatting rules. It is front-loaded with the mapping instruction, but the structure could be much clearer and less repetitive.

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?

An output schema exists, so the description need not explain return values in detail, and it does cover key edge cases such as empty sub-code lists and rejected input formats. It is nearly complete, though the overlap between this tool's category parameter and review_medication_evidence's conditions[] requirements could be separated more cleanly.

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% and the schema already says category must be an exact top-level name, but the description adds substantial meaning by providing the full category list and examples such as Cardiac disorders and Diabetes. It also clarifies when to pass a category name as-is versus using a more specific sub-code name in the downstream workflow.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific mapping action and explicitly names the sibling tool review_medication_evidence, so the agent can distinguish the workflow. However, it is not a clean statement of what get_condition_category itself does because it focuses on mapping user terms and submitting sub-code names rather than directly saying it retrieves category/sub-code data.

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?

It gives explicit sequencing guidance: map terms independently before calling review_medication_evidence, prefer the most specific matching name, submit a category only when the topic is general or no sub-code fits, and never submit the icd10_code. It also states exactly which condition string formats downstream conditions[] accepts and which are rejected.

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.

Resources