{"serverId":"mcp-registry/io.stackdata/stackdata","tools":[{"name":"get_series","fixed":{"name":"get_series","description":"Fetch ONE series with every dimension named by you (no guessing or relaxing): dataset, ISO3 countries, an ISO period range and a member code for every dimension from get_structure. Returns status ok/empty/refused with each value's provenance, and the missing country-periods listed. A bad request is a named 400 error saying which field and what is allowed.","inputSchema":{"type":"object","required":["dataset","countries","period","select"],"properties":{"period":{"type":"object","required":["start","end"],"properties":{"end":{"type":"string","pattern":"^\\d{4}(-Q[1-4]|-(0[1-9]|1[0-2]))?$","description":"Last period, same form and frequency as start."},"start":{"type":"string","pattern":"^\\d{4}(-Q[1-4]|-(0[1-9]|1[0-2]))?$","description":"First period, ISO form: YYYY, YYYY-Qn or YYYY-MM. Must match a frequency the dataset serves."}},"description":"Inclusive ISO period range. \"latest\" is not accepted: name the periods you want. Annual 2020, quarterly 2020-Q1, monthly 2020-01.","additionalProperties":false},"select":{"type":"object","description":"A member code for every dimension of the dataset (other than geography and time) as listed in /structure, including frequency. Every dimension must be named; a missing or unknown dimension or code is a 400, never defaulted.","additionalProperties":{"type":"string"}},"dataset":{"type":"string","description":"A dataset id from the catalog, as returned by search (/v1/search, or the search_datasets MCP tool), e.g. \"ilo-sdmx:DF_X\"."},"countries":{"type":"array","items":{"type":"string"},"maxItems":25,"minItems":1,"description":"ISO 3166-1 alpha-3 codes (e.g. \"JPN\") or an aggregate code listed in the dataset's /structure. 1 to 25 entries."}},"additionalProperties":false},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":494,"tokensAfter":494},{"name":"get_structure","fixed":{"name":"get_structure","description":"The published structure of one dataset, free: its dimensions with every member code and label, frequencies, period coverage, the ISO3 countries it serves, and whether it is servable. Call this before get_series to learn the codes to send. Dataset ids come from search_datasets.","inputSchema":{"type":"object","required":["dataset"],"properties":{"dataset":{"type":"string","description":"catalog dataset id, e.g. 'ilo-sdmx:DF_X'"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":132,"tokensAfter":132},{"name":"get_table","fixed":{"name":"get_table","description":"Fetch a STORED table whole, by dataset id (families cn-nbs-census and cn-nbs-yearbook): labelled rows × columns with original-language labels, English overlay, units, and provenance down to the source file. Ids look like 'cn-nbs-census:2010_a0101a'.","inputSchema":{"type":"object","required":["dataset_id"],"properties":{"dataset_id":{"type":"string","description":"catalog dataset id"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":119,"tokensAfter":119},{"name":"resolve_data","fixed":{"name":"resolve_data","description":"Ask a data question in English ('unemployment rate in Japan', 'compare GDP in Japan and Germany') — resolves to the best covering dataset and returns the observations, with coverage honesty (missing countries are reported, never papered over).","inputSchema":{"type":"object","required":["q"],"properties":{"q":{"type":"string","description":"the question"},"end":{"type":"integer","description":"end year"},"start":{"type":"integer","description":"start year"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":140,"tokensAfter":140},{"name":"search_datasets","fixed":{"name":"search_datasets","description":"Search StackData's catalog of 50k+ official statistical datasets (SDMX/World Bank dataflows, China censuses and yearbooks, tariff schedules). Multilingual: an English query finds Chinese-titled tables. Returns dataset ids usable with the other tools.","inputSchema":{"type":"object","required":["q"],"properties":{"q":{"type":"string","description":"search query"},"limit":{"type":"integer","default":10,"maximum":50,"minimum":1}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":132,"tokensAfter":132},{"name":"tariff_lookup","fixed":{"name":"tariff_lookup","description":"As-of customs-tariff lookup: which measures/duty rates apply to a goods code in a jurisdiction (eu, us, uk, jp), optionally from an origin, on a date. Duty expressions are verbatim; every measure carries its legal citation. Not legal advice.","inputSchema":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"goods code, 2-10 digits (HS/TARIC/HTS)"},"date":{"type":"string","description":"as-of date YYYY-MM-DD, default today"},"origin":{"type":"string","description":"ISO2 origin country (eu/uk only)"},"direction":{"enum":["import","export"],"type":"string","default":"import"},"jurisdiction":{"enum":["eu","us","uk","jp"],"type":"string","default":"eu"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":205,"tokensAfter":205}],"toolsChanged":6,"tokensSaved":0,"todo":[{"tool":"search_datasets","params":["limit"]},{"tool":"tariff_lookup","params":["direction","jurisdiction"]}],"note":"Deterministic fixes. Changes marked verify need a human look before shipping (renames, inferred annotations, inferred types, removed text). Parameter descriptions in `todo` need to be written by someone who knows the API."}