Skip to main content
Glama

search_stats_by_keyword

Search Japan's official government statistics by keyword to find census data, economic indicators, and demographic information across 17 statistical fields.

Instructions

キーワードで統計情報を検索する.

より簡単に統計表を検索するためのヘルパーツール。

Args: keyword: 検索キーワード(例: "人口", "GDP", "雇用") limit: 取得件数(デフォルト20件)

Returns: 検索結果のリスト

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keywordYes
limitNo

Implementation Reference

  • The main handler function for the 'search_stats_by_keyword' tool. It takes a keyword and optional limit, and delegates to get_stats_list to perform the search.
    async def search_stats_by_keyword(keyword: str, limit: int = 20) -> dict: """キーワードで統計情報を検索する. より簡単に統計表を検索するためのヘルパーツール。 Args: keyword: 検索キーワード(例: "人口", "GDP", "雇用") limit: 取得件数(デフォルト20件) Returns: 検索結果のリスト """ return await get_stats_list(search_word=keyword, limit=limit)
  • Registration of the 'search_stats_by_keyword' tool using the FastMCP tool decorator.
    mcp.tool()(search_stats_by_keyword)
  • Import of the search_stats_by_keyword function in main.py for registration.
    search_stats_by_keyword, )
  • Re-export of the tool in tools/__init__.py __all__ list.
    "search_stats_by_keyword",

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/koizumikento/e-stats-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server