Skip to main content
Glama

Get Dataset

get_dataset
Read-onlyIdempotent

Full metadata for one HealthData.gov dataset by its Socrata id (a 4x4 like "g62h-syeh", returned by search_datasets). Returns title, description, owning agency, licence, every column with its type, row count and the last data update. NOTE: HealthData.gov migrated off CKAN, so an old CKAN package id or slug will NOT resolve — search for the dataset again to get its 4x4.

Input Schema

NameRequiredDescriptionDefault
idYesSocrata 4x4, e.g. "g62h-syeh".

Output Schema

NameRequiredDescriptionDefault
idYesDataset package ID
nameYesDataset name
tagsYesDataset tags/keywords
titleYesDataset title
createdYesDataset creation timestamp
licenseYesLicense type of the dataset
modifiedYesDataset last modified timestamp
resourcesYesArray of data resources (downloadable files)
descriptionYesFull dataset description
organizationYesOrganization that published the dataset

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "id": "covid-19-hospitalization-data"
      -  }
      -]New value: +[
      +  {
      +    "id": "g62h-syeh"
      +  }
      +]
    • changedInput schema / properties / id / description
      Previous value: -"Dataset package ID (returned by search_datasets)"New value: +"Socrata 4x4, e.g. \"g62h-syeh\"."
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds real behavioral value beyond that: the CKAN migration means old package ids or slugs will silently fail to resolve, which is a failure mode an agent could not infer from annotations.

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 payload is front-loaded: what it does, the id format, the return contents, then the caveat. Every sentence carries distinct information and none is filler.

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?

With an output schema present, the description need not enumerate return values and sensibly only summarizes them. Combined with full annotation coverage and the single documented parameter, nothing an agent needs to call this correctly is missing.

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

Parameters4/5

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

Schema coverage is 100% and the single id parameter is fully documented, so baseline is 3. The description goes further by stating which id values will NOT work (old CKAN package id or slug), parameter-relevant semantics absent from the schema.

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 and resource ('Full metadata for one HealthData.gov dataset') and immediately scopes it by id format. The list of returned fields (title, agency, columns, row count, last update) lets an agent distinguish it from siblings like search_datasets or get_rows without opening a 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?

Tells the agent where the required id comes from ('returned by search_datasets') and reinforces this in the NOTE ('search for the dataset again to get its 4x4'). It does not spell out an explicit when-not-to-use rule, but the routing to the sibling is clear enough for correct selection.

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.