Skip to main content
Glama

e-Stat 統計表一覧取得 / e-Stat Statistics Table List

e-stat-get-stats-list
Read-only

指定した条件に基づき、e-Statに登録されている統計表の一覧および基本情報(統計表ID、統計名、調査年月、公開日など)を取得する。実際の統計数値は含まれないため、ここで得た統計表IDを e-stat-get-stats-data ツールに渡して取得する。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNo言語 (J: 日本語, E: 英語)
limitNoデータ取得件数 (省略時は20件、最大50件)
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
searchKindNo検索データ種別 (1:統計情報, 2:小地域・地域メッシュ)
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
tablesYes統計表の一覧
nextKeyYes続きがある場合の次の取得開始位置。startPosition に指定する
toNumberYes今回取得した範囲の終了位置
fromNumberYes今回取得した範囲の開始位置
totalCountYes検索条件に該当した統計表の総数

Schema Changelog

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

  1. Changed8 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"
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "fromNumber": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "今回取得した範囲の開始位置"
      +    },
      +    "nextKey": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "続きがある場合の次の取得開始位置。startPosition に指定する"
      +    },
      +    "tables": {
      +      "description": "統計表の一覧",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "collectArea": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "集計地域区分"
      +          },
      +          "cycle": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "提供周期"
      +          },
      +          "description": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "解説"
      +          },
      +          "govOrg": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "作成機関"
      +          },
      +          "mainCategory": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "統計大分野"
      +          },
      +          "openDate": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "公開日"
      +          },
      +          "overallTotalNumber": {
      +            "anyOf": [
      +              {
      +                "type": "number"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "統計表の全データ件数(セル数)"
      +          },
      +          "statName": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "統計名(例: 人口推計)"
      +          },
      +          "statisticsName": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "提供統計名"
      +          },
      +          "statsDataId": {
      +            "description": "統計表ID",
      +            "type": "string"
      +          },
      +          "subCategory": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "統計小分野"
      +          },
      +          "surveyDate": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "調査年月"
      +          },
      +          "title": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "統計表題名"
      +          },
      +          "updatedDate": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "最終更新日"
      +          }
      +        },
      +        "required": [
      +          "statsDataId",
      +          "statName",
      +          "govOrg",
      +          "statisticsName",
      +          "title",
      +          "cycle",
      +          "surveyDate",
      +          "openDate",
      +          "collectArea",
      +          "mainCategory",
      +          "subCategory",
      +          "overallTotalNumber",
      +          "updatedDate",
      +          "description"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "toNumber": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "今回取得した範囲の終了位置"
      +    },
      +    "totalCount": {
      +      "description": "検索条件に該当した統計表の総数",
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "totalCount",
      +    "fromNumber",
      +    "toNumber",
      +    "nextKey",
      +    "tables"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds valuable behavioral context by stating that the result contains only list and basic information, not actual statistical values ('実際の統計数値は含まれない'), clarifying what the user can expect beyond the annotations.

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 sentences: the first defines the core action, the second clarifies what is excluded and how to proceed for actual data. Every sentence earns its place, with no redundant 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?

Given the high parameter count (12), rich schema descriptions, output schema presence, and annotations, the description is complete enough. It adds the crucial note about using an external tool for actual data, which is essential for the overall workflow.

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 100% for all 12 parameters, including formats, enums, defaults, and semantics. The tool description does not add parameter-level detail beyond mentioning the output includes stats table ID, name, survey year, etc., so it neither improves nor degrades beyond the schema baseline.

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 states '指定した条件に基づき、e-Statに登録されている統計表の一覧および基本情報(統計表ID、統計名、調査年月、公開日など)を取得する', which clearly identifies the verb (取得する), the resource (統計表の一覧), and the scope. It also explicitly says actual statistical values are not included, distinguishing it from data-retrieval tools.

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 explicit guidance: 'ここで得た統計表IDを e-stat-get-stats-data ツールに渡して取得する', telling users to use the returned IDs with a specific complementary tool for actual data. It lacks comparisons with sibling tools e-stat-get-data-catalog and e-stat-get-meta-info, but the workflow guidance is clear.

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