Skip to main content
Glama
egov-data-mcp

egov-data-mcp

by koizumikento

search_datasets

Read-onlyIdempotent

Search Japan's e-Gov open data catalog by keyword and filter results by organization, file format, and modification date. Use returned dataset IDs to retrieve distribution files.

Instructions

Search datasets by keyword, optionally filtering by organization slug (e.g. org_0400), resource format (e.g. PDF), and inclusive UTC modification dates (YYYY-MM-DD). Use the returned ID to look up distribution files.

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": {
      "query": "<query>"
    },
    "name": "search_datasets"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
offsetNo
file_formatNo
organizationNo
updated_sinceNo
updated_untilNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, open-world and non-destructive behavior, so the safety profile is covered. The description usefully adds that date bounds are inclusive and UTC and gives concrete format examples, but it says nothing about pagination behavior or result ordering for a search tool that exposes limit/offset up to 10000.

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?

Two sentences, no filler: the core search capability and its filters come first, and the follow-on action comes last. Every clause conveys usable information.

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 explanation is not required, and the description covers the query and all three filter families. The remaining gap is pagination and result-ordering behavior for a 7-parameter search endpoint, which matters for an agent iterating over results.

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 must carry meaning, and it does for the filtering parameters: organization as a slug with an example (org_0400), file_format as an example value (PDF), and both date bounds as inclusive UTC dates in YYYY-MM-DD. The limit/offset pagination parameters remain unexplained in both schema prose and description.

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 opens with a specific verb+resource ("Search datasets by keyword") and enumerates the narrowable dimensions (organization slug, resource format, modification dates). It does not name or contrast with the sibling search_resources, so an agent must infer the dataset-vs-resource split from the tool name alone.

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?

"Use the returned ID to look up distribution files" gives a clear follow-on action, implicitly pointing to a lookup sibling. However, there is no explicit guidance on when to prefer this over search_resources or on constraints such as requiring a non-empty query.

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