Skip to main content
Glama

Search Datasets

search_datasets
Read-onlyIdempotent

Search HealthData.gov for public-health datasets by keyword (e.g. "COVID hospitalizations", "Medicare spending", "opioid prescriptions"). Returns each dataset's Socrata id (a 4x4 like "g62h-syeh"), title, description, owning agency, tags, when the data was last updated, and its page-view count. Pass the id to get_dataset for full metadata or to get_rows to read the actual rows.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax results, 1-50 (default 10).
queryYesSearch query, e.g. "vaccination rates", "hospital readmissions".
offsetNoSkip this many results, for paging (default 0).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
totalYesTotal number of datasets matching the search query
resultsYesArray of matching datasets

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Max results to return (1-50, default 10)"New value: +"Max results, 1-50 (default 10)."
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "Skip this many results, for paging (default 0).",
      +  "type": "number"
      +}
    • changedInput schema / properties / query / description
      Previous value: -"Search query (e.g., \"vaccination rates\", \"hospital readmissions\", \"air quality health\")"New value: +"Search query, e.g. \"vaccination rates\", \"hospital readmissions\"."
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.