Skip to main content
Glama
datagovin-mcp

datagovin-mcp

by Oolrich

get_series

Read-onlyIdempotent

Convert wide time-series tables into tidy, period-sorted rows with dimension columns, metric, period, and value; optionally filter by item or metric and limit returned rows.

Instructions

Read a wide time-series table (one column per year/quarter) as tidy rows: [{, metric, period, value}], sorted by period.

Args: dataset_id: The 'id' from search_datasets. item: Optional case-insensitive filter on any dimension value, e.g. "GDP" or "Odisha". metric: Optional case-insensitive filter on the metric name, e.g. "growth" or "value". max_rows: Maximum rows to return (1-1000).

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": "get_series"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemNo
metricNo
max_rowsNo
dataset_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and openWorld, so the safety profile is covered. The description adds genuinely new behavioral detail: the exact row shape returned, the period sort order, and a hard row ceiling via max_rows. It does not say what happens when max_rows truncates results or how failures are reported, which keeps it from a 5.

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 return shape and sort order are front-loaded in a single sentence, followed by a compact Args block with no filler. The only minor waste is restating parameter optionality that the schema already conveys.

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 no output schema, the description usefully compensates by spelling out the returned row structure and ordering. Combined with annotations covering side effects, an agent has enough to call it correctly, though truncation behavior and the max_rows default remain unstated.

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 0%, so the description carries the full burden, and it does document all four parameters with examples and semantics (case-insensitive matching on any dimension value, case-insensitive metric matching, 1-1000 range for max_rows). It omits the max_rows default of 300 and does not explain what 'item' matches when several dimensions exist, so it adds real but incomplete meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Read a wide time-series table ... as tidy rows') and even characterizes the source shape (one column per year/quarter), which tells an agent exactly what transformation to expect. It stops short of explicitly differentiating itself from query_dataset or describe_dataset, so it is clear but not sibling-routing.

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

Usage Guidelines3/5

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

It supplies one useful prerequisite by tying dataset_id to the 'id' from search_datasets, which implies the discovery-then-read workflow. However, it never states when to prefer this tool over query_dataset, nor any when-not condition (e.g., wide vs long format, or datasets without a period axis).

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