get_medicare_spending
Get Medicare spending per beneficiary by geographic area.
Returns geographic variation in Medicare spending including per-capita
costs and total spending amounts. Filter by state, county, or year.
Args:
state: Two-letter US state abbreviation (e.g. 'CA', 'TX').
county: County name to filter by (e.g. 'Los Angeles').
year: Year of spending data (e.g. 2022).
limit: Maximum number of records to return (default 50, max 1000).
get_chronic_conditions
Get prevalence of chronic conditions among Medicare beneficiaries.
Returns state-level data on 21 chronic conditions including diabetes,
heart failure, COPD, depression, Alzheimer's, and more. Useful for
understanding disease burden by geography.
Args:
state: Two-letter US state abbreviation (e.g. 'CA', 'TX').
condition: Chronic condition name to filter by (e.g. 'diabetes',
'heart failure', 'COPD', 'depression').
year: Year of data (e.g. 2022).
limit: Maximum number of records to return (default 50, max 1000).
get_hospital_quality
Get hospital quality star ratings and general information.
Returns hospital quality data including overall star ratings,
location details, and hospital type. Filter by state or city.
Args:
state: Two-letter US state abbreviation (e.g. 'CA', 'TX').
city: City name to filter by (e.g. 'Chicago', 'Houston').
limit: Maximum number of records to return (default 50, max 1000).
get_hospital_readmissions
Get 30-day hospital readmission rates by hospital.
Returns hospital-level readmission data including excess readmission
ratios and predicted/expected readmission rates for conditions like
heart attack, heart failure, and pneumonia.
Args:
state: Two-letter US state abbreviation (e.g. 'CA', 'TX').
hospital_name: Hospital name or partial name to search for.
limit: Maximum number of records to return (default 50, max 1000).
get_medicare_enrollment
Get Medicare enrollment data by state and county.
Returns enrollment counts including total beneficiaries, Original
Medicare vs Medicare Advantage enrollment, and Part D enrollment.
Useful for understanding Medicare population by geography.
Args:
state: Two-letter US state abbreviation (e.g. 'CA', 'TX').
year: Year of enrollment data (e.g. 2022).
limit: Maximum number of records to return (default 50, max 1000).