Skip to main content
Glama

Cdc Get Dataset

cdc_get_dataset
Read-onlyIdempotent

Fetch up to 1000 rows from a CDC Socrata dataset by its four-by-four dataset ID (e.g., "9mfq-cb36"). Returns row array with all columns plus column names extracted from the first row. Use search_datasets first to find the dataset ID.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "9mfq-cb36"
    },
    "name": "cdc_get_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesSocrata dataset ID in four-by-four format (e.g., "9mfq-cb36")
limitNoNumber of rows to return (default 50, max 1000)

Output Schema

NameRequiredDescriptionDefault
rowsYesData rows with all columns as key-value pairs
columnsYesColumn names from the dataset
row_countYesNumber of rows returned
dataset_idYesSocrata dataset ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world behavior, so the safety profile is covered. The description adds real value by disclosing the return shape (row array plus column names inferred from the first row), which hints at an edge case for empty datasets, but says nothing about errors from invalid IDs 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.

Conciseness5/5

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

Three short sentences, each earning its place: capability, return shape, and the prerequisite routing step. The most important constraint (1000-row cap and required ID) is front-loaded.

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

Completeness4/5

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

With only two parameters, a full output schema, and rich annotations, the description supplies everything needed to call the tool correctly. Only failure behavior for malformed or nonexistent dataset IDs is left unaddressed, a minor gap given the supporting structured data.

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%, so both id and limit are already described, including the default 50 and max 1000. The description restates the ceiling rather than adding syntax or semantics the schema lacks, so baseline 3 applies.

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 (Fetch), resource (rows from a CDC Socrata dataset), and scope (up to 1000 rows), plus the exact ID format required. An agent can immediately distinguish this from the dataset-search sibling.

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?

Explicitly tells the agent to run search_datasets first to obtain the ID, which is a real prerequisite that prevents a failed call. It does not state exclusions or when a different retrieval tool would be preferable, but the key routing guidance is present.

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.