Skip to main content
Glama
lzinga

US Government Open Data MCP

by lzinga

cdc_query

Read-onlyIdempotent

Run a custom SODA query against CDC datasets covering deaths, life expectancy, COVID, and more. Filter, select, group, or order rows to get the exact public health data you need.

Instructions

Custom query against any CDC dataset using SODA syntax. Datasets: bi63-dtpu (death 1999–2017), w9j2-ggv5 (life expectancy), 489q-934x (mortality rates), swc5-untb (PLACES county), dxpw-cm5u (PLACES city), pwn4-m3yp (COVID), r8kw-7aab (weekly deaths), s2qv-b27b (disability), xbxb-epbu (drug overdose), hn4x-zwk7 (nutrition/obesity), 6rkc-nb2q (historical death rates), 76vv-a7x8 (birth indicators)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
groupNoSODA $group: 'year'
limitNoMax rows (default 1000)
orderNoSODA $order: 'year DESC'
whereNoSODA $where clause: "year = '2021' AND state = 'New York'"
selectNoSODA $select: 'year, state, deaths'
dataset_idYesDataset ID, e.g. 'bi63-dtpu'

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2026.9.14
    • addedInput schema / properties / limit / default
      Added value: +1000
  2. Changed1 schema field changedv2026.4.11
    • removedInput schema / additionalProperties
      Removed value: -false
  3. First observedv2026.3.9

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the description does not need to repeat that. It adds the list of dataset IDs and their context (e.g., death 1999–2017), which is useful. However, it does not disclose behavior like return format, pagination, or that this is an ad-hoc query tool meant for cases where dedicated tools don't fit.

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

Conciseness4/5

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

The description is concise: one opening sentence and a list of datasets. The purpose is front-loaded, and the dataset list is dense but necessary. It avoids unnecessary fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description tells the agent which datasets are available and that SODA syntax is used, which is sufficient for a generic query tool. However, it omits guidance about the existence of dedicated tools for the same datasets and does not explain when custom queries are needed. Given the lack of an output schema and the availability of dedicated siblings, this is a moderate gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so all parameters are already documented in the schema with examples. The description adds no parameter-specific meaning beyond what the schema provides, so it meets the baseline for full schema coverage.

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 clearly states the tool's purpose: a custom query against any CDC dataset using SODA syntax. It lists specific dataset IDs, which makes the resource concrete. It distinguishes itself from dedicated CDC tools (like cdc_life_expectancy) by being generic, though it does not explicitly name those siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus the dedicated CDC dataset tools (e.g., cdc_life_expectancy, cdc_mortality_rates). It does not mention alternatives or exclusions. An agent might incorrectly choose this generic tool when a specialized tool would be more appropriate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools