Skip to main content
Glama
cyntrica

Gov Data MCP

by cyntrica

cdc_query

Read-only

Run custom SODA queries against CDC datasets covering mortality, life expectancy, COVID, and more. Filter, sort, and select specific fields 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'
Behavior4/5

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

The readOnlyHint annotation already declares the safety profile. The description adds useful behavioral context by specifying the query syntax (SODA) and enumerating the exact dataset IDs, which helps the agent understand the scope. It does not disclose return format or pagination behavior, but provides meaningful context beyond the annotation.

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

Conciseness5/5

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

The description is compact: one sentence stating the purpose and a second sentence listing datasets. The main verb and resource are front-loaded. The dataset list is informative and earns its place, providing key context without unnecessary verbosity.

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 tool has six parameters, a readOnly annotation, and no output schema. The description explains the purpose and lists datasets but omits output format details and does not reference the specialized sibling tools for when to use them. Given the moderate complexity, this is adequate but with clear gaps.

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 coverage is 100%, and each parameter has a descriptive example (e.g., "$where clause: \"year = '2021' AND state = 'New York'\""). The description only adds 'using SODA syntax,' which is redundant since the schema already mentions SODA $group, $order, etc. The description does not provide additional parameter-specific meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/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: 'Custom query against any CDC dataset using SODA syntax.' It explicitly lists the 12 available datasets, making the resource scope unambiguous. This distinguishes it from sibling tools like cdc_causes_of_death or cdc_covid, which are specific dataset wrappers.

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

Usage Guidelines3/5

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

The description implies usage by stating it's a custom query tool for any CDC dataset, but does not explicitly say when to prefer this over the specialized CDC sibling tools. No when-not-to-use or alternative guidance is provided, leaving the decision ambiguous for an agent.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cyntrica/gov-data-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server