Skip to main content
Glama

CDC — Chronic Disease Indicators Query

cdc_chronic.disease.indicators
Read-onlyIdempotent

Query the CDC U.S. Chronic Disease Indicators (CDI) dataset covering 19 chronic disease topics (diabetes, cardiovascular, cancer, asthma, tobacco, alcohol, arthritis, COPD, mental health, etc.) across all 50 US states + DC and national level. Filter by topic ID (e.g. DIA, CVD, TOB), specific question ID, state abbreviation (e.g. CA, TX, US for national), year range, and demographic stratification (Overall, Female, Male, age groups, race/ethnicity). Returns prevalence rates, confidence intervals, data source, and stratification. 398K records, data through 2023. Source: CDC CDI Socrata dataset hksd-2xuw. No auth — US Gov public domain.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of indicator records to return (1–200, default 25).
locationNoUS state abbreviation (e.g. "CA", "TX", "NY") or "US" for national-level data. Two-letter FIPS abbreviation.
topic_idNoTopic ID to filter by. Options: ALC=Alcohol, ART=Arthritis, AST=Asthma, CAN=Cancer, CHC=Cognitive Health, CKD=Chronic Kidney Disease, COPD=COPD, CVD=Cardiovascular, DIA=Diabetes, DIS=Disability, HEA=Health Status, IMM=Immunization, MAT=Maternal Health, MEN=Mental Health, NMED=Non-Medical Factors, NPAW=Nutrition/Physical Activity/Weight, ORH=Oral Health, SLEP=Sleep, TOB=Tobacco.
year_endNoLatest year to include (e.g. 2023). Must be >= year_start. Defaults to all available years.
year_startNoEarliest year to include (e.g. 2020). Data ranges from ~2010 to 2023. Defaults to all available years.
question_idNoSpecific question ID to retrieve (e.g. "DIA01" for diabetes prevalence, "TOB04" for cigarette smoking, "CVD01" for high blood pressure). Combine with topic_id or use alone.
stratification_idNoStratification (demographic subgroup) ID. OVR=Overall (default aggregate), SEXF=Female, SEXM=Male, AGE1844=Age 18-44, AGE4564=Age 45-64, AGE65P=Age 65+, WHT=White non-Hispanic, BLK=Black non-Hispanic, HIS=Hispanic, ASN=Asian non-Hispanic, AIAN=American Indian/Alaska Native, HAPI=Native Hawaiian/Pacific Islander, MRC=Multiracial non-Hispanic.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare readOnly, idempotent, and non-destructive, and the description adds useful context: it returns prevalence rates, confidence intervals, data source, and stratification, and notes data through 2023 and the source dataset ID. This goes beyond the hints without contradicting them, though it doesn't detail pagination or rate limits.

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 a single, well-organized paragraph that front-loads the main purpose and then provides details on filters, returns, and source. There is minimal verbiage, and it efficiently conveys both scope and examples. It could be split into clearer sentences, but it remains highly readable.

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

Completeness5/5

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

The description covers the dataset, topics, filtering options, return fields, data range, record count, source, and auth requirements. Since an output schema exists (not shown here) and annotations cover safety, nothing essential is missing for an agent to invoke the tool correctly.

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?

With 100% schema description coverage, each parameter is already comprehensively documented in the schema. The description paraphrases some filters (e.g., topic ID, state abbreviation) but adds little beyond schema, and the examples in the schema already provide specificity. Thus a baseline 3 is appropriate.

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 explicitly states the tool queries the CDC Chronic Disease Indicators dataset, lists the covered topics, filter dimensions, and return fields. This clearly differentiates it from sibling tools like state_compare, topics, and trend, which have distinct scopes (comparing states, listing topics, trends).

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

Usage Guidelines4/5

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

The description clearly conveys when to use this tool by specifying the dataset, filter options, and return values, making it evident it's for querying indicator records. It does not explicitly mention alternatives or when not to use it, but the purpose is so well-defined that an agent can infer usage; a small gap in exclusion guidance prevents a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.