Skip to main content
Glama

Pearls

Server Details

Drug shortage intelligence from FDA + ASHP public data, with attested weekly snapshots.

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
Glenride/pearls-mcp
GitHub Stars
0
Server Listing
Pearls
ChatGPT
–
Claude
–

TDQS

A4.4/5.0

Scored across 4 tools

Disambiguation4/5

search_shortages and get_drug_shortage_record operate on the same resource but the descriptions explicitly delineate list-vs-single-record and even specify the ambiguous-match workflow, while get_shortage_snapshot and render_shortage_widget are clearly separate concerns. Minor residual overlap exists between search and get, but an agent can reliably choose.

Naming Consistency5/5

All four names follow a consistent snake_case verb_noun pattern (get_drug_shortage_record, get_shortage_snapshot, search_shortages, render_shortage_widget). Verb choice matches the action semantics, and the domain noun prefix keeps the set coherent.

Tool Count4/5

Four tools is on the lean side but each has a distinct job: search, detail fetch, aggregate snapshot, and rendering. Nothing is redundant; the only thinness is the absence of a pagination or history-browsing tool.

Completeness4/5

The surface covers the full read-only lifecycle for its domain — discovery (search), retrieval (record), overview/change tracking (snapshot), and presentation (widget). Gaps are minor and intentional: search results are capped at 10 with no pagination, and only the latest snapshot pair is accessible with no historical selection.

Available Tools

4 tools
get_drug_shortage_recordGet drug shortage recordA
Read-only
Inspect

Retrieve the detailed shortage record for one identified medication from the latest weekly drug shortage snapshot. Parameter: generic_name (required) — the medication's generic name, e.g. 'Atropine Sulfate Injection'. Matching is case-insensitive: an exact generic-name match is used when one exists, otherwise a substring match. This tool is keyed by name only — it does not accept an event_id (event_id is the identifier render_shortage_widget uses to display a record). When the name is uncertain, partial, or could match several records, call search_shortages first and pass a returned generic_name. How this differs from search_shortages: search lists up to 10 substring matches; this tool returns the single full record for one drug — or, when several records match, ambiguous=true with candidates (event_id, generic_name, dosage_form, status) and a clarifying_question instead of selecting one arbitrarily. On a single match it returns the full event: status (currently_in_shortage, resolved, or to_be_discontinued), dosage_form, presentation_count, first_posted_date, last_update_date, resolved_date, shortage_reason, and source references, plus snapshot_date, sources, and an Evidence Record (evidence) — cite these fields. found=false means the drug is not in this snapshot, not that it is free of shortage. Does not establish local availability or clinical suitability.

Inputs: generic_name (required). Returns: kind, error, event, found, +13 more

get_shortage_snapshotGet drug shortage overviewA
Read-only
Inspect

Retrieve the latest available weekly drug shortage snapshot and its aggregate statistics. Takes no parameters: it always reads the newest valid weekly snapshot, and its comparison is always that snapshot versus the immediately previous weekly snapshot, matched by event_id — there is no way to select a different date or snapshot pair. Use when the user asks how many drugs are reported in shortage, wants an overall shortage overview, requests weekly totals, or asks what changed since the previous snapshot. Returns totals (event_count; openFDA total_records, by_status counts, and presentation_count; ASHP active_count; method_line and notes explaining the two counting grains), headline_change, and change: previous_date, counts (newly_observed, status_changes, updated, resolved, removed, uncertain), capped example lists (up to 10 each) of newly observed, resolved, and removed records, methodology, and limitations. Also carries snapshot_date, sources, a stale flag, and an Evidence Record (evidence) — cite these fields. Newly observed means present in this snapshot and absent from the previous one, not necessarily newly reported; removed means no longer present, not necessarily resolved. Does not return the complete dataset or establish real-world medication availability.

Inputs: no named parameters. Returns: kind, error, found, stale, +10 more

render_shortage_widgetDisplay drug shortage cardA
Read-only
Inspect

Display drug shortage information as an interactive card. Presentation only: call a data tool first (search_shortages, get_drug_shortage_record, or get_shortage_snapshot), then call this when a visual card would materially improve readability. Parameters by kind: kind='drug' — pass event_id (preferred), the record's event_id from a data tool's results or its evidence.source_record.event_id; the data parameter is a fallback the server uses only to extract that event_id. kind='snapshot' or kind='changes' — no further arguments are needed; event_id and data are ignored. The server always serves the card's data directly from the current snapshot itself: for kind='drug' it looks the record up by event_id, and for snapshot/changes it recomputes the weekly overview. It never renders model-copied data, performs no name search, infers no shortage status, and introduces no data beyond the snapshot record it serves. Returns a short confirmation line plus the served record's Evidence Record attestation as text, and structuredContent {kind, data} carrying the served record for the card UI — relay the attestation when citing the card. Returns an error if kind='drug' is called without an event_id or with an event_id that is not in the current snapshot.

Inputs: kind (required), data, event_id. Returns: data, kind

search_shortagesSearch drug shortagesA
Read-only
Inspect

Search the latest weekly drug shortage snapshot for medications whose generic name contains the query text. Matching is a case-insensitive substring match on generic name only — no fuzzy matching, no brand-name or ingredient expansion. Use this when the user asks whether a medication has a reported shortage record, wants to find drugs in the dataset, or needs candidate records before retrieving one in full. Parameters: query (required) — medication name text to match, e.g. 'atropine'; status (optional) — restrict results to one status value: currently_in_shortage, resolved, or to_be_discontinued. Returns up to 10 matching records (no pagination; total_matching reports the full number of matches and count the number returned). Each result carries event_id, generic_name, dosage_form, status, presentation_count, first_posted_date, last_update_date, resolved_date, and shortage_reason where available. Every result also carries snapshot_date, sources, headline_change, the latest-vs-previous snapshot comparison, and an Evidence Record (evidence: source, source record, source dates, verified time, what was checked and what was not) — cite these fields. Use get_drug_shortage_record for the full details of one identified result. found=false means the drug is not in this snapshot, not that it is definitively free of shortage. Do not use for general pharmacology, treatment advice, medication substitutions, or local pharmacy inventory.

Inputs: query (required), status. Returns: kind, count, error, found, +13 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.