Skip to main content
Glama

e-Stat データカタログ情報取得 / e-Stat Data Catalog Info

e-stat-get-data-catalog
Read-only

e-Statに登録されている統計データベースのカタログ情報(統計名、説明、提供状況、ファイルのダウンロードURLなど)を取得する。統計データの全体像把握やファイル取得用途に使用する。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNo言語 (J: 日本語, E: 英語)
limitNoデータ取得件数 (省略時は20件、最大50件)
dataTypeNo検索データ形式 (XLS, CSV, PDF, XML, DBなどカンマ区切り)
catalogIdNoカタログID
openYearsNo公開年月 (Format: 単年検索: yyyy, 単月検索: yyyymm, 範囲検索: yyyymm-yyyymm)
statsCodeNo作成機関コード(5桁)または政府統計コード(8桁)。作成機関コード: 内閣官房=00000, 内閣法制局=00010, 人事院=00020, 内閣府=00100, 宮内庁=00110, 公正取引委員会=00120, 国家公安委員会・警察庁=00130, 防衛庁=00140, 防衛施設庁=00141, 金融庁=00150, 消費者庁=00160, こども家庭庁=00170, デジタル庁=00180, 個人情報保護委員会=00190, 総務省=00200, 公害等調整委員会=00201, 消防庁=00202, 法務省=00250, 公安調査庁=00251, 外務省=00300, 財務省=00350, 国税庁=00351, 文部科学省=00400, 文化庁=00401, スポーツ庁=00402, 厚生労働省=00450, 社会保険庁=00451, 中央労働委員会=00452, 農林水産省=00500, 林野庁=00501, 水産庁=00502, 経済産業省=00550, 資源エネルギー庁=00551, 特許庁=00552, 中小企業庁=00553, 国土交通省=00600, 観光庁=00601, 気象庁=00602, 運輸安全委員会=00603, 海上保安庁=00604, 環境省=00650, 防衛省=00700
resourceIdNoカタログリソースID
searchWordNo検索キーワード (AND, OR, NOT使用可能)
statsFieldNo統計分野 大分類: 国土・気象=01, 人口・世帯=02, 労働・賃金=03, 農林水産業=04, 鉱工業=05, 商業・サービス業=06, 企業・家計・経済=07, 住宅・土地・建設=08, エネルギー・水=09, 運輸・観光=10, 情報通信・科学技術=11, 教育・文化・スポーツ・生活=12, 行財政=13, 司法・安全・環境=14, 社会保障・衛生=15, 国際=16, その他=99 小分類: 国土=0101, 気象=0102, 人口=0201, 世帯=0202, 人口動態=0203, 人口移動=0204, 労働力=0301, 賃金・労働条件=0302, 雇用=0303, 労使関係=0304, 労働災害=0305, 農業=0401, 畜産業=0402, 林業=0403, 水産業=0404, 鉱業=0501, 製造業=0502, 商業=0601, 需給流通=0602, サービス業=0603, 企業活動=0701, 金融・保険・通貨=0702, 物価=0703, 家計=0704, 国民経済計算=0705, 景気=0706, 住宅・土地=0801, 建設=0802, 電気=0901, ガス=0902, エネルギー需給=0903, 水=0904, 運輸=1001, 倉庫=1002, 観光=1003, 情報通信・放送=1101, 科学技術=1102, 知的財産=1103, 学校教育=1201, 社会教育=1202, 文化・スポーツ・生活=1203, 行政=1301, 財政=1302, 公務員=1303, 選挙=1304, 司法=1401, 犯罪=1402, 災害=1403, 事故=1404, 環境=1405, 社会保障=1501, 社会保険=1502, 社会福祉=1503, 保健衛生=1504, 医療=1505, 貿易・国際収支=1601, 国際協力=1602, その他=9999
collectAreaNo集計地域区分 (1:全国, 2:都道府県, 3:市区町村)
surveyYearsNo調査年月 (Format: 単年検索: yyyy, 単月検索: yyyymm, 範囲検索: yyyymm-yyyymm)
updatedDateNo更新日付 (Format: 単年検索: yyyy, 単月検索: yyyymm, 単日検索: yyyymmdd, 範囲検索: yyyymmdd-yyyymmdd)
startPositionNoデータ取得開始位置。前回応答の nextKey を指定すると続きを取得できる
explanationGetFlgNo解説情報有無

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nextKeyYes続きがある場合の次の取得開始位置。startPosition に指定する
catalogsYesデータカタログの一覧
toNumberYes今回取得した範囲の終了位置
fromNumberYes今回取得した範囲の開始位置
totalCountYes検索条件に該当したカタログの総数

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed9 schema fields changed
    • changedInput schema / properties / startPosition / description
      Previous value: -"データ取得開始位置 (1から始まる行番号)"New value: +"データ取得開始位置。前回応答の nextKey を指定すると続きを取得できる"
    • addedInput schema / properties / statsCode / anyOf
      Added value: +[
      +  {
      +    "enum": [
      +      "00000",
      +      "00010",
      +      "00020",
      +      "00100",
      +      "00110",
      +      "00120",
      +      "00130",
      +      "00140",
      +      "00141",
      +      "00150",
      +      "00160",
      +      "00170",
      +      "00180",
      +      "00190",
      +      "00200",
      +      "00201",
      +      "00202",
      +      "00250",
      +      "00251",
      +      "00300",
      +      "00350",
      +      "00351",
      +      "00400",
      +      "00401",
      +      "00402",
      +      "00450",
      +      "00451",
      +      "00452",
      +      "00500",
      +      "00501",
      +      "00502",
      +      "00550",
      +      "00551",
      +      "00552",
      +      "00553",
      +      "00600",
      +      "00601",
      +      "00602",
      +      "00603",
      +      "00604",
      +      "00650",
      +      "00700"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "pattern": "^\\d{8}$",
      +    "type": "string"
      +  }
      +]
    • changedInput schema / properties / statsCode / description
      Previous value: -"政府統計コード: 内閣官房=00000, 内閣法制局=00010, 人事院=00020, 内閣府=00100, 宮内庁=00110, 公正取引委員会=00120, 国家公安委員会・警察庁=00130, 防衛庁=00140, 防衛施設庁=00141, 金融庁=00150, 消費者庁=00160, こども家庭庁=00170, デジタル庁=00180, 個人情報保護委員会=00190, 総務省=00200, 公害等調整委員会=00201, 消防庁=00202, 法務省=00250, 公安調査庁=00251, 外務省=00300, 財務省=00350, 国税庁=00351, 文部科学省=00400, 文化庁=00401, スポーツ庁=00402, 厚生労働省=00450, 社会保険庁=00451, 中央労働委員会=00452, 農林水産省=00500, 林野庁=00501, 水産庁=00502, 経済産業省=00550, 資源エネルギー庁=00551, 特許庁=00552, 中小企業庁=00553, 国土交通省=00600, 観光庁=00601, 気象庁=00602, 運輸安全委員会=00603, 海上保安庁=00604, 環境省=00650, 防衛省=00700"New value: +"作成機関コード(5桁)または政府統計コード(8桁)。作成機関コード: 内閣官房=00000, 内閣法制局=00010, 人事院=00020, 内閣府=00100, 宮内庁=00110, 公正取引委員会=00120, 国家公安委員会・警察庁=00130, 防衛庁=00140, 防衛施設庁=00141, 金融庁=00150, 消費者庁=00160, こども家庭庁=00170, デジタル庁=00180, 個人情報保護委員会=00190, 総務省=00200, 公害等調整委員会=00201, 消防庁=00202, 法務省=00250, 公安調査庁=00251, 外務省=00300, 財務省=00350, 国税庁=00351, 文部科学省=00400, 文化庁=00401, スポーツ庁=00402, 厚生労働省=00450, 社会保険庁=00451, 中央労働委員会=00452, 農林水産省=00500, 林野庁=00501, 水産庁=00502, 経済産業省=00550, 資源エネルギー庁=00551, 特許庁=00552, 中小企業庁=00553, 国土交通省=00600, 観光庁=00601, 気象庁=00602, 運輸安全委員会=00603, 海上保安庁=00604, 環境省=00650, 防衛省=00700"
    • removedInput schema / properties / statsCode / enum
      Removed value: -[
      -  "00000",
      -  "00010",
      -  "00020",
      -  "00100",
      -  "00110",
      -  "00120",
      -  "00130",
      -  "00140",
      -  "00141",
      -  "00150",
      -  "00160",
      -  "00170",
      -  "00180",
      -  "00190",
      -  "00200",
      -  "00201",
      -  "00202",
      -  "00250",
      -  "00251",
      -  "00300",
      -  "00350",
      -  "00351",
      -  "00400",
      -  "00401",
      -  "00402",
      -  "00450",
      -  "00451",
      -  "00452",
      -  "00500",
      -  "00501",
      -  "00502",
      -  "00550",
      -  "00551",
      -  "00552",
      -  "00553",
      -  "00600",
      -  "00601",
      -  "00602",
      -  "00603",
      -  "00604",
      -  "00650",
      -  "00700"
      -]
    • removedInput schema / properties / statsCode / type
      Removed value: -"string"
    • changedInput schema / properties / statsField / description
      Previous value: -"統計分野 大分類: 国土・気象=01, 人口・世帯=02, 労働・賃金=03, 農林水産業=04, 鉱工業=05, 商業・サービス業=06, 企業・家計・経済=07, 住宅・土地・建設=08, エネルギー・水=09, 運輸・観光=10, 情報通信・科学技術=11, 教育・文化・スポーツ・生活=12, 行財政=13, 司法・安全・環境=14, 社会保障・衛生=15, 国際=16, その他=99 小分類: 国土=0101, 気象=0102, 人口=0201, 世帯=0202, 人口動態=0203, 人口移動=0204, 労働力=0301, 賃金・労働条件=0302, 雇用=0303, 労使関係=0304, 労働災害=0305, 農業=0401, 畜産業=0402, 林業=0403, 水産業=0404, 鉱業=0501, 製造業=0502, 商業=0601, 需給流通=0602, サービス業=0603, 企業活動=0701, 金融・保険・通貨=0702, 物価=0703, 家計=0704, 国民経済計算=0705, 景気=0706, 住宅・土地=0801, 建設=0802, 電気=0901, ガス=0902, エネルギー需給=0903, 水=0904, 運輸=1001, 倉庫=1002, 観光=1003, 情報通信・放送=1101, 科学技術=1102, 知的財産=1103, 学校教育=1201, 社会教育=1202, 文化・スポーツ・生活=1203, 行政=1301, 財政=1302, 公務員=1303, 選挙=1304, 司法=1401, 犯罪=1402, 災害=1403, 事故=1404, 環境=1405, 社会保障=1501, 社会保険=1502, 社会福祉=1503, 保険衛生=1504, 医療=1505, 貿易・国際収支=1601, 国際協力=1602, その他=9999"New value: +"統計分野 大分類: 国土・気象=01, 人口・世帯=02, 労働・賃金=03, 農林水産業=04, 鉱工業=05, 商業・サービス業=06, 企業・家計・経済=07, 住宅・土地・建設=08, エネルギー・水=09, 運輸・観光=10, 情報通信・科学技術=11, 教育・文化・スポーツ・生活=12, 行財政=13, 司法・安全・環境=14, 社会保障・衛生=15, 国際=16, その他=99 小分類: 国土=0101, 気象=0102, 人口=0201, 世帯=0202, 人口動態=0203, 人口移動=0204, 労働力=0301, 賃金・労働条件=0302, 雇用=0303, 労使関係=0304, 労働災害=0305, 農業=0401, 畜産業=0402, 林業=0403, 水産業=0404, 鉱業=0501, 製造業=0502, 商業=0601, 需給流通=0602, サービス業=0603, 企業活動=0701, 金融・保険・通貨=0702, 物価=0703, 家計=0704, 国民経済計算=0705, 景気=0706, 住宅・土地=0801, 建設=0802, 電気=0901, ガス=0902, エネルギー需給=0903, 水=0904, 運輸=1001, 倉庫=1002, 観光=1003, 情報通信・放送=1101, 科学技術=1102, 知的財産=1103, 学校教育=1201, 社会教育=1202, 文化・スポーツ・生活=1203, 行政=1301, 財政=1302, 公務員=1303, 選挙=1304, 司法=1401, 犯罪=1402, 災害=1403, 事故=1404, 環境=1405, 社会保障=1501, 社会保険=1502, 社会福祉=1503, 保健衛生=1504, 医療=1505, 貿易・国際収支=1601, 国際協力=1602, その他=9999"
    • changedInput schema / properties / statsField / enum
      Previous value: -[
      -  "10",
      -  "11",
      -  "12",
      -  "13",
      -  "14",
      -  "15",
      -  "16",
      -  "99",
      -  "1001",
      -  "1002",
      -  "1003",
      -  "1101",
      -  "1102",
      -  "1103",
      -  "1201",
      -  "1202",
      -  "1203",
      -  "1301",
      -  "1302",
      -  "1303",
      -  "1304",
      -  "1401",
      -  "1402",
      -  "1403",
      -  "1404",
      -  "1405",
      -  "1501",
      -  "1502",
      -  "1503",
      -  "1504",
      -  "1505",
      -  "1601",
      -  "1602",
      -  "9999",
      -  "01",
      -  "02",
      -  "03",
      -  "04",
      -  "05",
      -  "06",
      -  "07",
      -  "08",
      -  "09",
      -  "0101",
      -  "0102",
      -  "0201",
      -  "0202",
      -  "0203",
      -  "0204",
      -  "0301",
      -  "0302",
      -  "0303",
      -  "0304",
      -  "0305",
      -  "0401",
      -  "0402",
      -  "0403",
      -  "0404",
      -  "0501",
      -  "0502",
      -  "0601",
      -  "0602",
      -  "0603",
      -  "0701",
      -  "0702",
      -  "0703",
      -  "0704",
      -  "0705",
      -  "0801",
      -  "0802",
      -  "0901",
      -  "0902",
      -  "0903"
      -]New value: +[
      +  "10",
      +  "11",
      +  "12",
      +  "13",
      +  "14",
      +  "15",
      +  "16",
      +  "99",
      +  "1001",
      +  "1002",
      +  "1003",
      +  "1101",
      +  "1102",
      +  "1103",
      +  "1201",
      +  "1202",
      +  "1203",
      +  "1301",
      +  "1302",
      +  "1303",
      +  "1304",
      +  "1401",
      +  "1402",
      +  "1403",
      +  "1404",
      +  "1405",
      +  "1501",
      +  "1502",
      +  "1503",
      +  "1504",
      +  "1505",
      +  "1601",
      +  "1602",
      +  "9999",
      +  "01",
      +  "02",
      +  "03",
      +  "04",
      +  "05",
      +  "06",
      +  "07",
      +  "08",
      +  "09",
      +  "0101",
      +  "0102",
      +  "0201",
      +  "0202",
      +  "0203",
      +  "0204",
      +  "0301",
      +  "0302",
      +  "0303",
      +  "0304",
      +  "0305",
      +  "0401",
      +  "0402",
      +  "0403",
      +  "0404",
      +  "0501",
      +  "0502",
      +  "0601",
      +  "0602",
      +  "0603",
      +  "0701",
      +  "0702",
      +  "0703",
      +  "0704",
      +  "0705",
      +  "0706",
      +  "0801",
      +  "0802",
      +  "0901",
      +  "0902",
      +  "0903",
      +  "0904"
      +]
    • changedInput schema / properties / updatedDate / description
      Previous value: -"更新日付"New value: +"更新日付 (Format: 単年検索: yyyy, 単月検索: yyyymm, 単日検索: yyyymmdd, 範囲検索: yyyymmdd-yyyymmdd)"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "catalogs": {
      +      "description": "データカタログの一覧",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "collectArea": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "集計地域区分"
      +          },
      +          "cycle": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "提供周期"
      +          },
      +          "id": {
      +            "description": "カタログID",
      +            "type": "string"
      +          },
      +          "landingPage": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "e-Stat 上の掲載ページURL"
      +          },
      +          "lastModifiedDate": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "最終更新日"
      +          },
      +          "organization": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "作成機関"
      +          },
      +          "publisher": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "公開者"
      +          },
      +          "releaseDate": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "公開日"
      +          },
      +          "resourceCount": {
      +            "description": "提供リソース(ファイル・データベース)の総数",
      +            "type": "number"
      +          },
      +          "resources": {
      +            "description": "提供リソースの一覧",
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "format": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "ファイル形式(XLS, CSV, PDF, DB など)"
      +                },
      +                "id": {
      +                  "description": "リソースID",
      +                  "type": "string"
      +                },
      +                "name": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "リソース名"
      +                },
      +                "url": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "ダウンロードURL"
      +                }
      +              },
      +              "required": [
      +                "id",
      +                "name",
      +                "url",
      +                "format"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "statName": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "統計名"
      +          },
      +          "surveyDate": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "調査年月"
      +          },
      +          "title": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "データセット名"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "statName",
      +          "organization",
      +          "title",
      +          "cycle",
      +          "surveyDate",
      +          "collectArea",
      +          "publisher",
      +          "releaseDate",
      +          "lastModifiedDate",
      +          "landingPage",
      +          "resourceCount",
      +          "resources"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "fromNumber": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "今回取得した範囲の開始位置"
      +    },
      +    "nextKey": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "続きがある場合の次の取得開始位置。startPosition に指定する"
      +    },
      +    "toNumber": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "今回取得した範囲の終了位置"
      +    },
      +    "totalCount": {
      +      "description": "検索条件に該当したカタログの総数",
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "totalCount",
      +    "fromNumber",
      +    "toNumber",
      +    "nextKey",
      +    "catalogs"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

With annotations already declaring readOnlyHint=true and destructiveHint=false, the description's safety profile is covered. It adds context about the return fields (name, description, download URL) and intended use, but does not detail pagination, rate limits, or other behavioral nuances. This is adequate given the annotation coverage.

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?

The description is two concise sentences, front-loaded with the verb and resource, and includes a clear purpose statement. Every word contributes value without redundancy or filler.

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?

Given the complex parameter set (14 optional parameters) but with a fully documented schema and an output schema, the description sufficiently covers the tool's role and context. It could mention more about query construction scenarios, but the schema's exhaustive parameter descriptions compensate, making this adequate for an agent to select and invoke.

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?

The schema description coverage is 100%, and many parameters have rich descriptions including enums and format guidance. The tool description itself does not add parameter details, but the schema already provides comprehensive semantics, so the description adds no extra value beyond what's structured. Baseline of 3 is appropriate.

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

Purpose5/5

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

The description clearly states the tool retrieves catalog information from e-Stat, listing specific content such as statistical names, descriptions, availability, and file download URLs. It also mentions the intended use case (overview grasp and file acquisition), distinguishing it from sibling tools like get-meta-info and get-stats-list.

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

Usage Guidelines4/5

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

The description provides clear context on when to use this tool ('統計データの全体像把握やファイル取得用途'), which implies it is for catalog-level exploration rather than detailed metadata or statistics retrieval. However, it does not explicitly exclude cases or mention alternative tools, so it stops short of full guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.9/5.0
Disambiguation5/5

Each tool targets a distinct aspect: catalog metadata, statistical table metadata, and table listing. Their descriptions clarify the workflow (catalog -> list -> meta), so there is no ambiguity about which tool to use.

Naming Consistency5/5

All tool names follow the consistent pattern e-stat-get-<resource>, using snake_case and a clear verb-noun structure. This makes the set predictable and easy to navigate.

Tool Count3/5

With only 3 tools, the server is on the smaller side but not necessarily too few for a focused purpose. However, the descriptions refer to a missing e-stat-get-stats-data tool, suggesting the count is incomplete for the intended workflow.

Completeness1/5

The server lacks a tool to actually retrieve statistical data (e-stat-get-stats-data), which is explicitly referenced in two existing tools. This is a severe gap that prevents the server from fulfilling its core purpose.

Resources