Skip to main content
Glama
datagovin-mcp

datagovin-mcp

by Oolrich

describe_dataset

Read-onlyIdempotent

Retrieve a dataset's schema, dimension columns, and covered metrics and periods before querying rows or time series.

Instructions

Show a dataset's schema: its dimension columns, and for wide time-series tables, which metrics and periods it covers. Call this before query_dataset or get_series.

Args: dataset_id: The 'id' from search_datasets.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "dataset_id": "<dataset_id>"
    },
    "name": "describe_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataset_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so safety and repeatability are covered structurally. The description adds value beyond them by disclosing what the response contains and that the tool is a prerequisite step, though it says nothing about behavior for unknown ids or the size/cost of the returned schema.

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 core behavior and the value of the return are front-loaded in the first sentence, the sequencing instruction follows, and the single argument is documented in a short Args block. No sentence is redundant with the name or with the annotations.

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?

There is no output schema, but the description compensates by describing the returned content (dimension columns, metrics, periods), and the only parameter's origin is documented. For a one-argument read-only introspection tool, nothing an agent needs in order to invoke it 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 description coverage is 0%, so the description carries the burden, and it does name the single parameter and its provenance (the 'id' from search_datasets), which resolves the main ambiguity about what string to pass. It does not specify format beyond that, but for one parameter this is close to sufficient.

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 ("Show a dataset's schema") and enumerates what the schema contains: dimension columns, and for wide time-series tables the metrics and periods. This is materially different from the sibling operations (querying rows, fetching series), so an agent can tell what it gets 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?

Explicitly prescribes the call order: "Call this before query_dataset or get_series," and the Args note ties dataset_id back to search_datasets, giving a complete discover-then-inspect workflow. It stops short of stating when not to call it (e.g., when the schema is already known), so it is strong but not fully exhaustive.

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