Skip to main content
Glama

cdc_dataset_query

Read-onlyIdempotent

Generic SoQL query against any data.cdc.gov dataset. Use this when none of the curated tools fit. Accepts a 4x4 Socrata ID and a where-clause. SoQL reference: https://dev.socrata.com/docs/queries/

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax rows (default 50)
orderNoSoQL order clause (e.g. 'date DESC')
whereNoSoQL where clause (e.g. "state='Texas' AND year=2024")
selectNoSoQL select clause (default '*')
datasetYesSocrata 4x4 dataset ID (e.g. 'muzy-jte6')

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / limit / maximum
      Added value: +1000
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety and network profile is covered. The description adds the SoQL reference link and the pass-through nature, but says nothing about rate limits, error behavior on invalid dataset IDs, or result shape beyond the schema's limit cap.

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?

Three short sentences, front-loaded with the core purpose, then the usage condition, then the reference link. Efficient, though the SoQL URL sentence is a mild redundancy given the schema already names SoQL clauses.

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?

For a generic fallback query tool, the description plus 100%-covered schema and read-only annotations give an agent everything needed to invoke it correctly. No output schema exists, and the description needn't explain return values for a raw SoQL pass-through.

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 five parameters (including limit default/cap and example clauses) are already documented in the schema. The description only restates that a 4x4 Socrata ID and a where-clause are accepted, adding essentially nothing beyond the structured fields.

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?

States a specific verb (query) and resource (any data.cdc.gov dataset) and explicitly positions itself as the generic fallback against the many curated cdc_* siblings. An agent can tell it apart from the curated tools without opening any schema.

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?

"Use this when none of the curated tools fit" gives a clear conditional that routes the agent here only as a fallback. It stops short of naming specific curated alternatives, but the alternative category is explicit and unambiguous.

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.