Skip to main content
Glama
egov-data-mcp

egov-data-mcp

by koizumikento

get_dataset

Read-onlyIdempotent

Retrieve a Japan e-Gov open data dataset and one page of its resources by CKAN ID or name, using limit and offset to page through resource results.

Instructions

Get a dataset and one page of its resources by CKAN ID or 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"
  }
}

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, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds useful behavior beyond that: results include the dataset's resources paginated to one page, and lookup can be by ID or name. It does not say what happens when the dataset is absent, nor what the default page size means in practice.

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?

A single front-loaded sentence with no filler; the resource-pagination detail is packed into the same clause rather than a separate preamble. Nothing is redundant with the parameters or annotations in wording.

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

Completeness3/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 shape need not be explained, and the annotations cover safety. What remains thin is the not-found/error behavior and the precise meaning of limit/offset, which matter for a paged lookup with three parameters and zero schema documentation.

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 carry the burden. It clarifies dataset_id accepting either a CKAN ID or a name, and "one page of its resources" implicitly scopes limit/offset to the embedded resource list rather than the dataset itself, which is genuinely useful. It still never states defaults, bounds, or that limit/offset apply to resources only.

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 a dataset") plus the identity key (CKAN ID or name) and the fact that resources are included one page at a time. It is clearly distinguishable from search_datasets/search_resources by the identifier-based lookup, though the description does not name those siblings explicitly.

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 implied rather than stated: "by CKAN ID or name" signals this is for when you already hold an identifier, in contrast to a query-based search tool. There is no explicit when-not or alternative routing, so the agent must infer the boundary with search_datasets.

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