Tooluniverse clinical guidelines

From mims-harvard/ToolUniverse · View interactive version

Tooluniverse clinical guidelines is an AI agent skill from the GitHub repository mims-harvard/ToolUniverse. Search and retrieve clinical practice guidelines from 12+ authoritative sources — NICE, WHO, NCCN, AHA, ADA, SIGN, USPSTF, IDSA, NIH consensus, ESMO/ESC/EASL European societies, and US specialty associations. Use for evidence-graded treatment recommendations, dosing protocols, screening guidance, an

How to use this skill

Skill file

Clinical Guidelines Search & Retrieval

Guideline Hierarchy

Not all guidelines carry equal weight. Evaluate sources in this order:

  1. NICE and WHO — Evidence-graded, regularly updated, rigorous systematic review process. NICE guidelines include explicit recommendation strength (e.g., "offer" vs "consider").
  2. Society guidelines (AHA, ADA, NCCN, SIGN) — Expert-consensus panels within a specialty. May lag behind the latest evidence by 1-3 years. Strong within their domain but narrower scope.
  3. Aggregator databases (TRIP, OpenAlex) — Index guidelines from multiple societies. Good for breadth and discovery, but you must verify the original source.
  4. Literature databases (PubMed, EuropePMC) — Return guideline-related publications, not curated guideline text. Useful as a fallback, not a primary source.

Always check publication date. A 2015 guideline may be superseded by a 2024 update. When presenting results, include the year prominently and note if newer guidance may exist.


COMPUTE, DON'T DESCRIBE

When analysis requires computation (statistics, data processing, scoring, enrichment), write and run Python code via Bash. Don't describe what you would do — execute it and report actual results. Use ToolUniverse tools to retrieve data, then Python (pandas, scipy, statsmodels, matplotlib) to analyze it.

Search Strategy

Step 1: Start Narrow, Then Broaden

  1. Search the condition name + "guideline" in NICE, TRIP, and EuropePMC simultaneously (parallel calls).
  2. If the question targets a specialty, add the society tool: AHA for cardiology, ADA for diabetes, NCCN for oncology, CPIC for pharmacogenomics.
  3. If initial searches return nothing, broaden to the disease category (e.g., "heart failure" instead of "HFpEF with SGLT2 inhibitors").
  4. If society-specific tools fail, fall back to PubMed/EuropePMC with [condition] guideline [year].

Step 2: Search at Least 3 Sources

Always query a minimum of 3 databases to catch guidelines that one source may miss. Prioritize: NICE > TRIP > Society-specific > Literature databases.

Step 3: Retrieve Full Text When Available

After identifying relevant guidelines from search results, use full-text tools to get recommendation details before synthesizing.


Diagnostic Test Selection Reasoning

When a clinical question asks "which test should be ordered?" or "what is the most appropriate next diagnostic step?", apply this reasoning framework BEFORE searching guidelines.

Step 1: What Is the Clinical Question Actually Asking?

Diagnostic tests serve different purposes. Identify which one the question demands:

Step 2: Match the Test to the Diagnostic Gap

Ask: "What piece of information am I MISSING that would change management?"

Step 3: Sensitivity vs Specificity Decision Matrix

| Scenario | Prioritize | Reasoning |

|----------|-----------|-----------|

| Ruling OUT a dangerous condition | High sensitivity | A negative result reliably excludes the disease |

| Confirming before invasive treatment | High specificity | A positive result reliably confirms the disease |

| Differentiating two similar conditions | Test unique to one | Choose marker present in condition A but absent in condition B |

| Emergency with life-threatening DDx | Fastest available test | Speed trumps perfect accuracy in acute settings |

Step 4: Common Test Selection Pitfalls

  1. Ordering a test that is positive in BOTH conditions on the differential — C3/C4 is low in both SLE and PSGN; it does not differentiate. Always ask: "Would this test result change my differential?"
  2. Ordering a screening test when a confirmatory test is needed — ANA is sensitive but not specific for SLE. If you already suspect SLE, order anti-dsDNA or anti-Smith (specific).
  3. Skipping the simple test for the exotic one — ASO titers are cheap and fast. Do not jump to renal biopsy before checking whether streptococcal infection explains the presentation.
  4. Forgetting temporal context — PSGN complement normalizes in 6-8 weeks; SLE complement stays persistently low. A single complement level is less useful than a trend.
  5. Ignoring pre-test probability — A test with 95% specificity still has a 50% false-positive rate if the pre-test probability is only 5%. Consider the clinical picture first.

Lab Test Interpretation Strategy


Surgical Decision Making


Applying Guidelines to Patients

Guidelines give population-level recommendations. When presenting findings:

  1. Cite the source explicitly — "Per the 2024 ADA Standards of Care, Section 9..." not "guidelines recommend..."
  2. Note patient-specific modifiers — Comorbidities, drug interactions, renal/hepatic function, age, pregnancy, and patient preferences may all change the recommendation.
  3. Flag when evidence is weak — Grade D / expert consensus recommendations should be presented differently from Grade A / high-confidence ones.
  4. Identify conflicts between guidelines — When NICE and ADA disagree, present both positions and note the discrepancy.
  5. State limitations — If the patient's scenario falls outside the guideline's studied population, say so explicitly.

Tool Workflow

General Guideline Search (Parallel Calls)

| Tool | Key Parameters | Notes |

|------|---------------|-------|

| NICE_Clinical_Guidelines_Search | query, limit (both required) | Best general source |

| TRIP_Database_Guidelines_Search | query, limit, search_type='guidelines' (all required) | Must include search_type |

| WHO_Guidelines_Search | query, limit | Limited topic filtering; may return unrelated WHO docs |

| CMA_Guidelines_Search | query, limit | Canadian guidelines |

| SIGN_search_guidelines | query (NOT q), limit | Scottish/UK |

| CTFPHC_search_guidelines | query (NOT q), limit | Canadian prevention |

| OpenAlex_Guidelines_Search | query, limit, optional year_from/year_to | Academic publications |

| EuropePMC_Guidelines_Search | query, limit | Records typed or titled as guidelines, with full abstracts |

| PubMed_Guidelines_Search | query, limit | Literature fallback; reads NCBI_API_KEY from the environment |

NICE, TRIP, WHO, OpenAlex, EuropePMC and PubMed return {status, data, metadata}: rows are in result['data'] and the match count in result['metadata']['total']; an empty data with status: success means the source has nothing on the query. CMA, SIGN and CTFPHC return lists directly.

Society-Specific Tools

ADA (Diabetes)

AHA/ACC (Cardiology)

NCCN (Oncology)

MAGICapp (Living Guidelines)

NCI — Catalogs research tools/datasets, NOT clinical guidelines. Use q (not query), size (not limit). Access: r.get('data',{}).get('results',[]).

Pharmacogenomics (CPIC)

All CPIC tools return dict-wrapped: use r.get('data', []).

Workflow:

  1. CPIC_get_gene_info(genesymbol='CYP2D6') — Gene overview
  2. CPIC_get_gene_drug_pairs(genesymbol='CYP2D6') — All drugs with CPIC levels (A=strongest)
  3. CPIC_list_guidelines(limit=50) — Find guidelineId for target gene+drug pair
  4. CPIC_get_recommendations(guideline_id=N) — Dosing recommendations (deduplicate by phenotype)
  5. CPIC_get_alleles(genesymbol='CYP2D6') — Use clinicalfunctionalstatus (NOT functionalstatus)

Gotchas:

Personalized Prevention Recommendations (ODPHP MyHealthfinder)

For "what preventive care/screenings does this patient need" (as opposed to "what does the guideline for condition X say"), odphp_myhealthfinder returns a curated, plain-language recommendation list sourced from USPSTF + CDC ACIP + HRSA for a specific demographic — verified live: a 45-year-old woman query returned 28 real recommendations (screenings, immunizations, counseling topics) each traceable back to its issuing body. This complements rather than replaces guideline lookup: use it to get the checklist for a patient profile, then pull the full guideline (NICE/USPSTF/etc. above) for the clinical detail behind any specific item.

All 5 parameters are required (pass explicit values, not omitted, even when not applicable): lang ("en"/"es"), age (integer), sex ("Male"/"Female"), pregnant ("Yes"/"No"/pass "No" if not applicable), strip_html (bool). odphp_itemlist(lang=..., type=...) and odphp_topicsearch(lang=..., topicId=..., categoryId=..., keyword=..., strip_html=...) support browsing/filtering the same content by topic or keyword instead of by demographic profile.

odphp_outlink_fetch caveat, verified live: this tool fetches a URL referenced by a MyHealthfinder result for more detail, but the health.gov API v3 endpoints it can be pointed at are being retired (a canned example URL returned HTTP 410 Gone live) — check the returned status field before treating a fetch as successful, and prefer the current v4 MyHealthfinder response content over following an old outlink.

Full-Text Retrieval

| Source | Tool | Input |

|--------|------|-------|

| NICE | NICE_Guideline_Full_Text(url) | URL from search results; try .../chapter/Recommendations |

| WHO | WHO_Guideline_Full_Text(url) | May return PDF link, not full text |

| AHA/ACC | AHA_ACC_get_guideline(pmid) | PMID from search results |

| NCCN | NCCN_get_patient_guideline(url) | Full URL from list results |


Evidence Grading Quick Reference

| System | Strong | Moderate | Weak/Expert Opinion |

|--------|--------|----------|-------------------|

| ADA | Grade A | Grade B/C | Grade E (consensus) |

| AHA/ACC | Class I | Class IIa/IIb | Class III |

| SIGN | Strong | Conditional | Good practice point |

| CPIC | Level A | Level B | Level C/D |

| NICE | "Offer" (strong) | "Consider" (weaker) | Research recommendation |


Fallback Strategy


Synthesis Template

# Clinical Guidelines: [Topic]

## Summary
[2-3 sentences: what do the guidelines agree on? Where do they diverge?]

## Key Recommendations
### [Source 1 — Organization, Year]
- Recommendation text [Evidence grade]
- URL

### [Source 2 — Organization, Year]
- Recommendation text [Evidence grade]

## Patient-Specific Considerations
[Comorbidities, interactions, or population factors that modify these recommendations]

## Pharmacogenomics (if applicable)
[CPIC phenotype-to-dosing table, deduplicated]

## References
[All source URLs]

Known Limitations


Clinical MCQ Reasoning Framework

1. Systematic Differential Diagnosis Protocol

2. Critical Clinical Decision Rules

Spine triage -- use TLICS scoring, not gestalt:

Hemorrhagic shock -- fluid selection:

Brown-Sequard -- lesion level determination:

Post-valve surgery monitoring:

Incidental findings:

Post-surgical complications:

3. Answer Verification Checklist

4. Treatment Protocol Verification

5. Pediatric Medicine Traps

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.