Skip to main content
Glama
egov-data-mcp

egov-data-mcp

by koizumikento

get_dataset_history

Read-onlyIdempotent

Retrieve one page of update events for a dataset by ID or CKAN name, enabling tracking of catalog changes in Japan’s e-Gov open data.

Instructions

Get one page of catalog update events for a dataset ID or CKAN name.

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_dataset_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
dataset_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety and side-effect profile is fully covered elsewhere. The description adds only the pagination frame ('one page'). It says nothing about event ordering (newest first?), retention window, permission requirements, or whether an unknown dataset yields an empty page or an error — all of which matter for an open-world read.

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?

A single front-loaded sentence with no filler, and the pagination signal is placed early. It is efficient, though a brief clause on paging or ordering would have cost nothing and added real value.

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?

An output schema exists, so return-value shape need not be described, and the annotations cover the read-only/idempotent profile. What remains thin is paging mechanics and the accepted format of dataset_id, but for a three-parameter read tool the definition is close to sufficient.

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 must compensate. It does add one genuinely useful fact beyond the schema: dataset_id accepts either a numeric ID or a CKAN name, whereas the schema only says 'Dataset Id'. However, limit (default 10, max 100) and offset (max 10000) are left entirely unexplained, so half the parameters carry no meaning.

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?

States a specific verb and resource — 'Get one page of catalog update events for a dataset' — which is clearly distinct from get_dataset (single record) and search_datasets (lookup). The pagination scope ('one page') is also stated. It stops short of explicitly naming a sibling to contrast with, which keeps it at 4.

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?

Usage is only implied: an agent can infer this is the tool for audit/change history on a known dataset, and 'one page' hints that limit/offset exist for paging. There is no explicit when-to-use condition, no mention of when to prefer get_dataset, and no prerequisites or ordering guidance.

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