Skip to main content
Glama
egov-data-mcp

egov-data-mcp

by koizumikento

search_resources

Read-onlyIdempotent

Search distribution files by resource name in Japan’s e-Gov open data catalog, then use package IDs to identify the parent dataset and access distribution URLs.

Instructions

Search distribution files by resource name. Use package_id to get the parent dataset.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
offsetNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/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 fully covered. The description adds nothing about match semantics (substring, fuzzy, case sensitivity), pagination defaults, or result shape, and its one extra claim ('use package_id') is not actionable here.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short, front-loaded sentences with no filler, so the form is good. However, the second sentence is misdirected content rather than an efficient use of space, so brevity does not translate into value.

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

Completeness2/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 values need no explanation, and annotations cover the safety profile. But for a 3-parameter search tool with 0% schema coverage, the description leaves query semantics, pagination, and even which parameters exist unaddressed, and it misleads with a phantom parameter.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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 parameter meaning, but it only hints that the query is a resource name and references a 'package_id' parameter that does not exist in the schema. The limit and offset parameters (bounds, defaults, pagination behavior) are entirely undocumented in both the schema and the description.

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

Purpose3/5

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

The first sentence names a verb and a resource ('Search distribution files by resource name'), which is reasonably specific, but it mixes terminology ('resource' vs 'distribution files') and the second sentence pivots to a non-existent 'package_id' parameter and a different goal (fetching the parent dataset). The result is a purpose statement that is partially clear but partly describes something else.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus search_datasets or get_dataset; the only relational hint points at 'package_id', which is not an input to this tool. Nothing tells the agent when-not to use it or what kind of query string is expected.

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