{"serverId":"mcp-registry/eu.tradedashboard/eu-trade-explorer","tools":[{"name":"get_autonomy_summary","fixed":{"name":"get_autonomy_summary","description":"Report-section helper (\"Autonomy & vulnerability\"): net import\nreliance (`get_net_import_reliance`) is always the headline fact/chart.\nTrade intensity and export propensity (`get_trade_intensity` /\n`get_export_propensity`) are both computed, then a deterministic\nsalience score -- distance from an unremarkable ~50% band, plus the\nmagnitude of its own change -- decides which one leads the narrative;\nthis choice is never left to the caller. `trade_intensity_pct` is\nreturned fully unit-consistent (f","inputSchema":{"type":"object","required":["query"],"properties":{"query":{"type":"object","required":["product"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response (en, de, fr, es, it, ro)."},"n_top":{"type":"integer","default":7,"description":"Number of top entities (by volume/value) to break out individually in charts."},"product":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"examples":["3801",["0901","0902"],"TOTAL"],"description":"Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate."},"midpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."},"partners":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit partner-country list that overrides 'partner_set' when present."},"reporter":{"type":"string","default":"European Union","description":"Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name."},"frequency":{"type":"string","default":"quarter","description":"Resampling frequency for the series: 'month', 'quarter' or 'year'."},"period_end":{"type":"string","description":"Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported."},"partner_set":{"type":"string","default":"non-EU countries","description":"Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group."},"period_start":{"type":"string","default":"2015-01","description":"Inclusive start of the analysis window, ISO month 'YYYY-MM'."},"prodcom_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."},"include_other":{"type":"boolean","default":true,"description":"Bundle entities outside the top-N into a single 'Other' bucket."},"remove_outliers":{"type":"boolean","default":true,"description":"Drop extreme unit-price outliers before computing weighted-average prices."},"reporter_members":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."}},"description":"The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Autonomy Summary"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":1125,"tokensAfter":1125},{"name":"get_chapters","fixed":{"name":"get_chapters","description":"List all top-level Combined Nomenclature chapters (2-digit codes).\n\nBootstraps browsing the nomenclature top-down; drill into a chapter with\n`get_subtree`.","inputSchema":{"type":"object","properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response. One of: bg, cs, da, de, el, en, es, et, fi, fr, ga, hr, hu, it, lt, lv, mt, nl, pl, pt, ro, sk, sl, sv."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Chapters"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":134,"tokensAfter":134},{"name":"get_concentration","fixed":{"name":"get_concentration","description":"Herfindahl-Hirschman Index (HHI) of trade concentration across\npartners or member states, per period (0 = perfectly spread, 10000 = one\nentity holds the whole market), plus the top-8-by-value share breakdown\n(rest bundled as 'Others'). Higher HHI = more dependent on a handful of\ncounterparties.","inputSchema":{"type":"object","required":["query"],"properties":{"query":{"type":"object","required":["product"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response (en, de, fr, es, it, ro)."},"n_top":{"type":"integer","default":7,"description":"Number of top entities (by volume/value) to break out individually in charts."},"product":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"examples":["3801",["0901","0902"],"TOTAL"],"description":"Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate."},"midpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."},"partners":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit partner-country list that overrides 'partner_set' when present."},"reporter":{"type":"string","default":"European Union","description":"Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name."},"frequency":{"type":"string","default":"quarter","description":"Resampling frequency for the series: 'month', 'quarter' or 'year'."},"period_end":{"type":"string","description":"Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported."},"partner_set":{"type":"string","default":"non-EU countries","description":"Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group."},"period_start":{"type":"string","default":"2015-01","description":"Inclusive start of the analysis window, ISO month 'YYYY-MM'."},"prodcom_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."},"include_other":{"type":"boolean","default":true,"description":"Bundle entities outside the top-N into a single 'Other' bucket."},"remove_outliers":{"type":"boolean","default":true,"description":"Drop extreme unit-price outliers before computing weighted-average prices."},"reporter_members":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."}},"description":"The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default."},"compact":{"type":"boolean","default":false,"description":"If true, condense long numeric time series (more than ~6 points -- typically monthly/quarterly windows or wide multi-partner/multi-period breakdowns) into summary statistics (first, last, min, max, mean, pct_change) instead of returning every data point. Leave false for full-fidelity series (e.g. to actually plot a chart); set true when you just need the headline trend and want to save context."},"entity_level":{"enum":["partner","reporter"],"type":"string","default":"partner","description":"Dimension to analyse. 'partner' -- how concentrated/volatile is the reporter's trade across its trading partners? 'reporter' -- how concentrated/volatile is a given partner's trade across EU member states? When 'reporter', 'partner_name' is required."},"partner_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Partner country name (English). Required when entity_level='reporter'."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Concentration"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":1335,"tokensAfter":1335},{"name":"get_concentration_compare","fixed":{"name":"get_concentration_compare","description":"Partner-concentration (HHI) compared across sub-products: one HHI\nline per sub-product rather than per flow, to see which sub-products\ndrive a parent code's overall concentration.","inputSchema":{"type":"object","required":["query"],"properties":{"query":{"type":"object","required":["product"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response (en, de, fr, es, it, ro)."},"n_top":{"type":"integer","default":7,"description":"Number of top entities (by volume/value) to break out individually in charts."},"product":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"examples":["3801",["0901","0902"],"TOTAL"],"description":"Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate."},"midpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."},"partners":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit partner-country list that overrides 'partner_set' when present."},"reporter":{"type":"string","default":"European Union","description":"Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name."},"frequency":{"type":"string","default":"quarter","description":"Resampling frequency for the series: 'month', 'quarter' or 'year'."},"period_end":{"type":"string","description":"Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported."},"partner_set":{"type":"string","default":"non-EU countries","description":"Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group."},"period_start":{"type":"string","default":"2015-01","description":"Inclusive start of the analysis window, ISO month 'YYYY-MM'."},"prodcom_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."},"include_other":{"type":"boolean","default":true,"description":"Bundle entities outside the top-N into a single 'Other' bucket."},"remove_outliers":{"type":"boolean","default":true,"description":"Drop extreme unit-price outliers before computing weighted-average prices."},"reporter_members":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."}},"description":"The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default."},"compact":{"type":"boolean","default":false,"description":"If true, condense long numeric time series (more than ~6 points -- typically monthly/quarterly windows or wide multi-partner/multi-period breakdowns) into summary statistics (first, last, min, max, mean, pct_change) instead of returning every data point. Leave false for full-fidelity series (e.g. to actually plot a chart); set true when you just need the headline trend and want to save context."},"n_subcodes":{"type":"integer","default":8,"maximum":50,"minimum":1,"description":"Max number of sub-products to plot as separate HHI lines."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Concentration Compare"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":1202,"tokensAfter":1202},{"name":"get_concentration_map","fixed":{"name":"get_concentration_map","description":"Cross-sectional HHI per country for one year -- the choropleth\ncounterpart of get_concentration. 'partner' entity_level = for every EU\nmember state, HHI of its trade across partners; 'reporter' = for every\npartner, HHI of its trade across EU member states (subject to the\nRotterdam/Antwerp entry-point distortion).","inputSchema":{"type":"object","required":["query"],"properties":{"year":{"anyOf":[{"type":"integer","maximum":2100,"minimum":1988},{"type":"null"}],"default":null,"description":"Year for the (cross-sectional) snapshot. Defaults to the latest full year with data."},"query":{"type":"object","required":["product"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response (en, de, fr, es, it, ro)."},"n_top":{"type":"integer","default":7,"description":"Number of top entities (by volume/value) to break out individually in charts."},"product":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"examples":["3801",["0901","0902"],"TOTAL"],"description":"Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate."},"midpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."},"partners":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit partner-country list that overrides 'partner_set' when present."},"reporter":{"type":"string","default":"European Union","description":"Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name."},"frequency":{"type":"string","default":"quarter","description":"Resampling frequency for the series: 'month', 'quarter' or 'year'."},"period_end":{"type":"string","description":"Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported."},"partner_set":{"type":"string","default":"non-EU countries","description":"Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group."},"period_start":{"type":"string","default":"2015-01","description":"Inclusive start of the analysis window, ISO month 'YYYY-MM'."},"prodcom_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."},"include_other":{"type":"boolean","default":true,"description":"Bundle entities outside the top-N into a single 'Other' bucket."},"remove_outliers":{"type":"boolean","default":true,"description":"Drop extreme unit-price outliers before computing weighted-average prices."},"reporter_members":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."}},"description":"The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default."},"compact":{"type":"boolean","default":false,"description":"If true, condense long numeric time series (more than ~6 points -- typically monthly/quarterly windows or wide multi-partner/multi-period breakdowns) into summary statistics (first, last, min, max, mean, pct_change) instead of returning every data point. Leave false for full-fidelity series (e.g. to actually plot a chart); set true when you just need the headline trend and want to save context."},"entity_level":{"enum":["partner","reporter"],"type":"string","default":"partner","description":"Dimension to analyse. 'partner' -- how concentrated/volatile is the reporter's trade across its trading partners? 'reporter' -- how concentrated/volatile is a given partner's trade across EU member states? When 'reporter', 'partner_name' is required."},"partner_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Partner country name (English). Required when entity_level='reporter'."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Concentration Map"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":1397,"tokensAfter":1397},{"name":"get_countries","fixed":{"name":"get_countries","description":"Reference data for reporters/partners: selectable EU/Euro-area/member\nstates, named partner presets, predefined reporter/partner groups, and\nper-language country-name translations. Use this to find valid values\nfor the `reporter`, `partner_set`, `partners` and `reporter_members`\nfields used throughout the other tools' `query` argument.","inputSchema":{"type":"object","properties":{},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Countries"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":128,"tokensAfter":128},{"name":"get_data_range","fixed":{"name":"get_data_range","description":"Return the period coverage (`data_min`/`data_max`, 'YYYY-MM') actually\ncached for the given product code(s) -- use before picking\n`period_start`/`period_end` so you don't request an empty window.","inputSchema":{"type":"object","properties":{"products":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"CN code(s) to check coverage for. Omit for the overall store range."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Data Range"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":138,"tokensAfter":138},{"name":"get_export_propensity","fixed":{"name":"get_export_propensity","description":"Export Propensity = Exports / Production, annual: the share of EU\nproduction that is exported. Not clamped -- values above 100% are\nlegitimate (re-exports, stock drawdown, scope differences). Returns the\nexport-propensity matrix, a sibling/per-code comparison, resolved\nPRODCOM codes and availability notes.","inputSchema":{"type":"object","required":["query"],"properties":{"query":{"type":"object","required":["product"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response (en, de, fr, es, it, ro)."},"n_top":{"type":"integer","default":7,"description":"Number of top entities (by volume/value) to break out individually in charts."},"product":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"examples":["3801",["0901","0902"],"TOTAL"],"description":"Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate."},"midpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."},"partners":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit partner-country list that overrides 'partner_set' when present."},"reporter":{"type":"string","default":"European Union","description":"Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name."},"frequency":{"type":"string","default":"quarter","description":"Resampling frequency for the series: 'month', 'quarter' or 'year'."},"period_end":{"type":"string","description":"Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported."},"partner_set":{"type":"string","default":"non-EU countries","description":"Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group."},"period_start":{"type":"string","default":"2015-01","description":"Inclusive start of the analysis window, ISO month 'YYYY-MM'."},"prodcom_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."},"include_other":{"type":"boolean","default":true,"description":"Bundle entities outside the top-N into a single 'Other' bucket."},"remove_outliers":{"type":"boolean","default":true,"description":"Drop extreme unit-price outliers before computing weighted-average prices."},"reporter_members":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."}},"description":"The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default."},"compact":{"type":"boolean","default":false,"description":"If true, condense long numeric time series (more than ~6 points -- typically monthly/quarterly windows or wide multi-partner/multi-period breakdowns) into summary statistics (first, last, min, max, mean, pct_change) instead of returning every data point. Leave false for full-fidelity series (e.g. to actually plot a chart); set true when you just need the headline trend and want to save context."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Export Propensity"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":1197,"tokensAfter":1197},{"name":"get_full_report","fixed":{"name":"get_full_report","description":"Fetch every report section (scope, overview, market structure,\nvolatility, autonomy) for one shared `query` in a single call, instead\nof calling `get_product_profile` / `get_market_summary` /\n`get_market_structure_summary` / `get_volatility_summary` /\n`get_autonomy_summary` separately yourself. Guarantees all five\nsections describe the exact same product/reporter/partner/period\nslice -- five separate calls have no such guarantee, since nothing\nstops `query` from being re-typed slightly different","inputSchema":{"type":"object","required":["query"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response. One of: bg, cs, da, de, el, en, es, et, fi, fr, ga, hr, hu, it, lt, lv, mt, nl, pl, pt, ro, sk, sl, sv."},"query":{"type":"object","required":["product"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response (en, de, fr, es, it, ro)."},"n_top":{"type":"integer","default":7,"description":"Number of top entities (by volume/value) to break out individually in charts."},"product":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"examples":["3801",["0901","0902"],"TOTAL"],"description":"Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate."},"midpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."},"partners":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit partner-country list that overrides 'partner_set' when present."},"reporter":{"type":"string","default":"European Union","description":"Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name."},"frequency":{"type":"string","default":"quarter","description":"Resampling frequency for the series: 'month', 'quarter' or 'year'."},"period_end":{"type":"string","description":"Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported."},"partner_set":{"type":"string","default":"non-EU countries","description":"Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group."},"period_start":{"type":"string","default":"2015-01","description":"Inclusive start of the analysis window, ISO month 'YYYY-MM'."},"prodcom_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."},"include_other":{"type":"boolean","default":true,"description":"Bundle entities outside the top-N into a single 'Other' bucket."},"remove_outliers":{"type":"boolean","default":true,"description":"Drop extreme unit-price outliers before computing weighted-average prices."},"reporter_members":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."}},"description":"The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Full Report"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":1180,"tokensAfter":1180},{"name":"get_map_data","fixed":{"name":"get_map_data","description":"Choropleth-ready aggregates: per-period totals (quantity, value,\nprice) for imports and exports, keyed by GISCO country code on both the\nreporter and partner sides.","inputSchema":{"type":"object","required":["query"],"properties":{"query":{"type":"object","required":["product"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response (en, de, fr, es, it, ro)."},"n_top":{"type":"integer","default":7,"description":"Number of top entities (by volume/value) to break out individually in charts."},"product":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"examples":["3801",["0901","0902"],"TOTAL"],"description":"Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate."},"midpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."},"partners":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit partner-country list that overrides 'partner_set' when present."},"reporter":{"type":"string","default":"European Union","description":"Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name."},"frequency":{"type":"string","default":"quarter","description":"Resampling frequency for the series: 'month', 'quarter' or 'year'."},"period_end":{"type":"string","description":"Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported."},"partner_set":{"type":"string","default":"non-EU countries","description":"Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group."},"period_start":{"type":"string","default":"2015-01","description":"Inclusive start of the analysis window, ISO month 'YYYY-MM'."},"prodcom_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."},"include_other":{"type":"boolean","default":true,"description":"Bundle entities outside the top-N into a single 'Other' bucket."},"remove_outliers":{"type":"boolean","default":true,"description":"Drop extreme unit-price outliers before computing weighted-average prices."},"reporter_members":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."}},"description":"The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default."},"compact":{"type":"boolean","default":false,"description":"If true, condense long numeric time series (more than ~6 points -- typically monthly/quarterly windows or wide multi-partner/multi-period breakdowns) into summary statistics (first, last, min, max, mean, pct_change) instead of returning every data point. Leave false for full-fidelity series (e.g. to actually plot a chart); set true when you just need the headline trend and want to save context."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Map Data"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":1155,"tokensAfter":1155},{"name":"get_market_structure_summary","fixed":{"name":"get_market_structure_summary","description":"Report-section helper (\"Market structure\"): combines, in priority\norder, the intra-EU specialisation snapshot (`get_specialisation`,\nalready map-ready), partner-concentration detail (`get_concentration`,\nkeeping the top-8-by-value share breakdown as `chart_data` alongside the\ncondensed HHI trend) and, when a PRODCOM mapping exists for the product,\nEU production volumes (`get_production_series`). These three are\nindependent data sources bundled only because they all describe \"market\nstructure\" --","inputSchema":{"type":"object","required":["query"],"properties":{"query":{"type":"object","required":["product"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response (en, de, fr, es, it, ro)."},"n_top":{"type":"integer","default":7,"description":"Number of top entities (by volume/value) to break out individually in charts."},"product":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"examples":["3801",["0901","0902"],"TOTAL"],"description":"Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate."},"midpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."},"partners":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit partner-country list that overrides 'partner_set' when present."},"reporter":{"type":"string","default":"European Union","description":"Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name."},"frequency":{"type":"string","default":"quarter","description":"Resampling frequency for the series: 'month', 'quarter' or 'year'."},"period_end":{"type":"string","description":"Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported."},"partner_set":{"type":"string","default":"non-EU countries","description":"Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group."},"period_start":{"type":"string","default":"2015-01","description":"Inclusive start of the analysis window, ISO month 'YYYY-MM'."},"prodcom_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."},"include_other":{"type":"boolean","default":true,"description":"Bundle entities outside the top-N into a single 'Other' bucket."},"remove_outliers":{"type":"boolean","default":true,"description":"Drop extreme unit-price outliers before computing weighted-average prices."},"reporter_members":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."}},"description":"The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Market Structure Summary"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":1127,"tokensAfter":1127},{"name":"get_market_summary","fixed":{"name":"get_market_summary","description":"Report-section helper (\"General overview\"): condensed, report-ready\ndigest of how a market has evolved over the chosen window -- one call\ninstead of separately fetching and cross-referencing get_overview +\nget_reporter_detail + get_concentration + get_net_import_reliance\nyourself. Set `query.frequency = \"year\"` for a multi-year evolution\nsummary (recommended over the model's default of \"quarter\").\n\nEvery figure reflects `query` exactly as given -- the same\nproduct/reporter/partner_set/period sli","inputSchema":{"type":"object","required":["query"],"properties":{"query":{"type":"object","required":["product"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response (en, de, fr, es, it, ro)."},"n_top":{"type":"integer","default":7,"description":"Number of top entities (by volume/value) to break out individually in charts."},"product":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"examples":["3801",["0901","0902"],"TOTAL"],"description":"Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate."},"midpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."},"partners":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit partner-country list that overrides 'partner_set' when present."},"reporter":{"type":"string","default":"European Union","description":"Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name."},"frequency":{"type":"string","default":"quarter","description":"Resampling frequency for the series: 'month', 'quarter' or 'year'."},"period_end":{"type":"string","description":"Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported."},"partner_set":{"type":"string","default":"non-EU countries","description":"Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group."},"period_start":{"type":"string","default":"2015-01","description":"Inclusive start of the analysis window, ISO month 'YYYY-MM'."},"prodcom_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."},"include_other":{"type":"boolean","default":true,"description":"Bundle entities outside the top-N into a single 'Other' bucket."},"remove_outliers":{"type":"boolean","default":true,"description":"Drop extreme unit-price outliers before computing weighted-average prices."},"reporter_members":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."}},"description":"The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Market Summary"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":1125,"tokensAfter":1125},{"name":"get_net_import_reliance","fixed":{"name":"get_net_import_reliance","description":"Net Import Reliance (NIR) = (Imports - Exports) / Apparent\nconsumption, annual, joining PRODCOM production with Comext trade. E.g.\n40% means 40% of EU consumption is met by imports; negative means the EU\nis a net exporter. Returns the NIR % series, its supply/disposition\ncomponents, sibling-category/per-code comparisons, the resolved PRODCOM\ncodes and availability notes (CN-to-PRODCOM mapping is not always 1:1;\nsee the `self.notes` / `unavailability_type` fields in the response). Use\n`query.prod","inputSchema":{"type":"object","required":["query"],"properties":{"query":{"type":"object","required":["product"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response (en, de, fr, es, it, ro)."},"n_top":{"type":"integer","default":7,"description":"Number of top entities (by volume/value) to break out individually in charts."},"product":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"examples":["3801",["0901","0902"],"TOTAL"],"description":"Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate."},"midpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."},"partners":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit partner-country list that overrides 'partner_set' when present."},"reporter":{"type":"string","default":"European Union","description":"Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name."},"frequency":{"type":"string","default":"quarter","description":"Resampling frequency for the series: 'month', 'quarter' or 'year'."},"period_end":{"type":"string","description":"Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported."},"partner_set":{"type":"string","default":"non-EU countries","description":"Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group."},"period_start":{"type":"string","default":"2015-01","description":"Inclusive start of the analysis window, ISO month 'YYYY-MM'."},"prodcom_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."},"include_other":{"type":"boolean","default":true,"description":"Bundle entities outside the top-N into a single 'Other' bucket."},"remove_outliers":{"type":"boolean","default":true,"description":"Drop extreme unit-price outliers before computing weighted-average prices."},"reporter_members":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."}},"description":"The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default."},"compact":{"type":"boolean","default":false,"description":"If true, condense long numeric time series (more than ~6 points -- typically monthly/quarterly windows or wide multi-partner/multi-period breakdowns) into summary statistics (first, last, min, max, mean, pct_change) instead of returning every data point. Leave false for full-fidelity series (e.g. to actually plot a chart); set true when you just need the headline trend and want to save context."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Net Import Reliance"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":1252,"tokensAfter":1252},{"name":"get_overview","fixed":{"name":"get_overview","description":"Headline figures: total import/export quantities, values and\nweighted-average prices per period, the trade balance, and a top-partner\nbreakdown. The best first call for any new product/reporter slice.","inputSchema":{"type":"object","required":["query"],"properties":{"query":{"type":"object","required":["product"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response (en, de, fr, es, it, ro)."},"n_top":{"type":"integer","default":7,"description":"Number of top entities (by volume/value) to break out individually in charts."},"product":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"examples":["3801",["0901","0902"],"TOTAL"],"description":"Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate."},"midpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."},"partners":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit partner-country list that overrides 'partner_set' when present."},"reporter":{"type":"string","default":"European Union","description":"Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name."},"frequency":{"type":"string","default":"quarter","description":"Resampling frequency for the series: 'month', 'quarter' or 'year'."},"period_end":{"type":"string","description":"Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported."},"partner_set":{"type":"string","default":"non-EU countries","description":"Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group."},"period_start":{"type":"string","default":"2015-01","description":"Inclusive start of the analysis window, ISO month 'YYYY-MM'."},"prodcom_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."},"include_other":{"type":"boolean","default":true,"description":"Bundle entities outside the top-N into a single 'Other' bucket."},"remove_outliers":{"type":"boolean","default":true,"description":"Drop extreme unit-price outliers before computing weighted-average prices."},"reporter_members":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."}},"description":"The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default."},"compact":{"type":"boolean","default":false,"description":"If true, condense long numeric time series (more than ~6 points -- typically monthly/quarterly windows or wide multi-partner/multi-period breakdowns) into summary statistics (first, last, min, max, mean, pct_change) instead of returning every data point. Leave false for full-fidelity series (e.g. to actually plot a chart); set true when you just need the headline trend and want to save context."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Overview"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":1165,"tokensAfter":1165},{"name":"get_partner_detail","fixed":{"name":"get_partner_detail","description":"Per-partner import/export breakdown. For each flow, the top-N trading\npartners ranked both by quantity and by value (so you can compare\nvolume-based vs. value-based rankings), each with its own quantity,\nvalue and price time series, plus an optional 'Other' bucket.","inputSchema":{"type":"object","required":["query"],"properties":{"query":{"type":"object","required":["product"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response (en, de, fr, es, it, ro)."},"n_top":{"type":"integer","default":7,"description":"Number of top entities (by volume/value) to break out individually in charts."},"product":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"examples":["3801",["0901","0902"],"TOTAL"],"description":"Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate."},"midpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."},"partners":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit partner-country list that overrides 'partner_set' when present."},"reporter":{"type":"string","default":"European Union","description":"Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name."},"frequency":{"type":"string","default":"quarter","description":"Resampling frequency for the series: 'month', 'quarter' or 'year'."},"period_end":{"type":"string","description":"Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported."},"partner_set":{"type":"string","default":"non-EU countries","description":"Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group."},"period_start":{"type":"string","default":"2015-01","description":"Inclusive start of the analysis window, ISO month 'YYYY-MM'."},"prodcom_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."},"include_other":{"type":"boolean","default":true,"description":"Bundle entities outside the top-N into a single 'Other' bucket."},"remove_outliers":{"type":"boolean","default":true,"description":"Drop extreme unit-price outliers before computing weighted-average prices."},"reporter_members":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."}},"description":"The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default."},"compact":{"type":"boolean","default":false,"description":"If true, condense long numeric time series (more than ~6 points -- typically monthly/quarterly windows or wide multi-partner/multi-period breakdowns) into summary statistics (first, last, min, max, mean, pct_change) instead of returning every data point. Leave false for full-fidelity series (e.g. to actually plot a chart); set true when you just need the headline trend and want to save context."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Partner Detail"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":1185,"tokensAfter":1185},{"name":"get_pattern_shift","fixed":{"name":"get_pattern_shift","description":"Before/after trade-pattern shift around a split point\n(`query.midpoint`): for each entity, compares average quantity and price\nbefore vs. after, and returns scatter points (quantity-change % vs.\nprice-change %) with quadrant labels -- top-right = demand-driven growth,\ntop-left = supply constraint/monopoly risk, bottom-right =\ndumping/oversupply risk, bottom-left = market contraction. Suggested\nworkflow: spot a shock date via get_supply_shocks / get_price_shocks\nfirst, then set it as `query.midpo","inputSchema":{"type":"object","required":["query"],"properties":{"query":{"type":"object","required":["product"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response (en, de, fr, es, it, ro)."},"n_top":{"type":"integer","default":7,"description":"Number of top entities (by volume/value) to break out individually in charts."},"product":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"examples":["3801",["0901","0902"],"TOTAL"],"description":"Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate."},"midpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."},"partners":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit partner-country list that overrides 'partner_set' when present."},"reporter":{"type":"string","default":"European Union","description":"Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name."},"frequency":{"type":"string","default":"quarter","description":"Resampling frequency for the series: 'month', 'quarter' or 'year'."},"period_end":{"type":"string","description":"Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported."},"partner_set":{"type":"string","default":"non-EU countries","description":"Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group."},"period_start":{"type":"string","default":"2015-01","description":"Inclusive start of the analysis window, ISO month 'YYYY-MM'."},"prodcom_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."},"include_other":{"type":"boolean","default":true,"description":"Bundle entities outside the top-N into a single 'Other' bucket."},"remove_outliers":{"type":"boolean","default":true,"description":"Drop extreme unit-price outliers before computing weighted-average prices."},"reporter_members":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."}},"description":"The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default."},"compact":{"type":"boolean","default":false,"description":"If true, condense long numeric time series (more than ~6 points -- typically monthly/quarterly windows or wide multi-partner/multi-period breakdowns) into summary statistics (first, last, min, max, mean, pct_change) instead of returning every data point. Leave false for full-fidelity series (e.g. to actually plot a chart); set true when you just need the headline trend and want to save context."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Pattern Shift"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":1251,"tokensAfter":1251},{"name":"get_price_shocks","fixed":{"name":"get_price_shocks","description":"Detect sudden price regime shifts (\"rapid price changes\"), accounting\nfor each flow's usual volatility so naturally volatile flows aren't\nover-flagged. Returns ranked shock events per flow with timeline phases\n(price spike/drop, volatile trade, return to baseline, ...), magnitude\nand series.","inputSchema":{"type":"object","required":["query"],"properties":{"query":{"type":"object","required":["product"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response (en, de, fr, es, it, ro)."},"n_top":{"type":"integer","default":7,"description":"Number of top entities (by volume/value) to break out individually in charts."},"product":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"examples":["3801",["0901","0902"],"TOTAL"],"description":"Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate."},"midpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."},"partners":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit partner-country list that overrides 'partner_set' when present."},"reporter":{"type":"string","default":"European Union","description":"Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name."},"frequency":{"type":"string","default":"quarter","description":"Resampling frequency for the series: 'month', 'quarter' or 'year'."},"period_end":{"type":"string","description":"Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported."},"partner_set":{"type":"string","default":"non-EU countries","description":"Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group."},"period_start":{"type":"string","default":"2015-01","description":"Inclusive start of the analysis window, ISO month 'YYYY-MM'."},"prodcom_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."},"include_other":{"type":"boolean","default":true,"description":"Bundle entities outside the top-N into a single 'Other' bucket."},"remove_outliers":{"type":"boolean","default":true,"description":"Drop extreme unit-price outliers before computing weighted-average prices."},"reporter_members":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."}},"description":"The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default."},"compact":{"type":"boolean","default":false,"description":"If true, condense long numeric time series (more than ~6 points -- typically monthly/quarterly windows or wide multi-partner/multi-period breakdowns) into summary statistics (first, last, min, max, mean, pct_change) instead of returning every data point. Leave false for full-fidelity series (e.g. to actually plot a chart); set true when you just need the headline trend and want to save context."},"entity_level":{"enum":["partner","reporter"],"type":"string","default":"partner","description":"Dimension to analyse. 'partner' -- how concentrated/volatile is the reporter's trade across its trading partners? 'reporter' -- how concentrated/volatile is a given partner's trade across EU member states? When 'reporter', 'partner_name' is required."},"partner_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Partner country name (English). Required when entity_level='reporter'."},"lookback_years":{"type":"integer","default":2,"maximum":5,"minimum":1,"description":"Years before the shock used to establish the coefficient-of-variation baseline."},"min_abnormality":{"type":"number","default":2,"maximum":10,"minimum":0.5,"description":"Minimum unusualness of the price shift vs. baseline volatility (CV multiples). Lower = more (weaker) shocks flagged."},"cumulative_share":{"type":"number","default":0.8,"maximum":1,"minimum":0.3,"description":"Only the top trading partners that together account for this share of total trade are analysed."},"max_shocks_per_pair":{"type":"integer","default":1,"maximum":5,"minimum":1,"description":"Number of non-overlapping shocks kept per trading partner."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Price Shocks"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":1534,"tokensAfter":1534},{"name":"get_product_compare","fixed":{"name":"get_product_compare","description":"Sub-product comparison: for a single parent CN code, expands into its\nchildren (or, for a multi-code request, compares the entered codes\ndirectly) and returns per-subcode quantity/value/price series for both\nflows -- so each sub-product plots as its own line instead of being\naggregated away. A leaf code with no children returns `leaf: true`.","inputSchema":{"type":"object","required":["query"],"properties":{"query":{"type":"object","required":["product"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response (en, de, fr, es, it, ro)."},"n_top":{"type":"integer","default":7,"description":"Number of top entities (by volume/value) to break out individually in charts."},"product":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"examples":["3801",["0901","0902"],"TOTAL"],"description":"Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate."},"midpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."},"partners":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit partner-country list that overrides 'partner_set' when present."},"reporter":{"type":"string","default":"European Union","description":"Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name."},"frequency":{"type":"string","default":"quarter","description":"Resampling frequency for the series: 'month', 'quarter' or 'year'."},"period_end":{"type":"string","description":"Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported."},"partner_set":{"type":"string","default":"non-EU countries","description":"Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group."},"period_start":{"type":"string","default":"2015-01","description":"Inclusive start of the analysis window, ISO month 'YYYY-MM'."},"prodcom_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."},"include_other":{"type":"boolean","default":true,"description":"Bundle entities outside the top-N into a single 'Other' bucket."},"remove_outliers":{"type":"boolean","default":true,"description":"Drop extreme unit-price outliers before computing weighted-average prices."},"reporter_members":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."}},"description":"The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default."},"compact":{"type":"boolean","default":false,"description":"If true, condense long numeric time series (more than ~6 points -- typically monthly/quarterly windows or wide multi-partner/multi-period breakdowns) into summary statistics (first, last, min, max, mean, pct_change) instead of returning every data point. Leave false for full-fidelity series (e.g. to actually plot a chart); set true when you just need the headline trend and want to save context."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Product Compare"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":1207,"tokensAfter":1207},{"name":"get_product_profile","fixed":{"name":"get_product_profile","description":"Report-section helper (\"Scope & definitions\"): the resolved product\ncode + label, a one-sentence caveat when the code bundles several\nsub-products (`has_subcodes`), the data-coverage window actually cached\nfor it, and whether it has a usable PRODCOM mapping (gating the\nautonomy/vulnerability section). Deliberately thin -- no full CN\nhierarchy breadcrumb or sibling enumeration.\n\nReturns `{narrative_facts, chart_data, available, reason}` -- see\n`get_market_summary` for the shape this convention fo","inputSchema":{"type":"object","required":["query"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response. One of: bg, cs, da, de, el, en, es, et, fi, fr, ga, hr, hu, it, lt, lv, mt, nl, pl, pt, ro, sk, sl, sv."},"query":{"type":"object","required":["product"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response (en, de, fr, es, it, ro)."},"n_top":{"type":"integer","default":7,"description":"Number of top entities (by volume/value) to break out individually in charts."},"product":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"examples":["3801",["0901","0902"],"TOTAL"],"description":"Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate."},"midpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."},"partners":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit partner-country list that overrides 'partner_set' when present."},"reporter":{"type":"string","default":"European Union","description":"Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name."},"frequency":{"type":"string","default":"quarter","description":"Resampling frequency for the series: 'month', 'quarter' or 'year'."},"period_end":{"type":"string","description":"Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported."},"partner_set":{"type":"string","default":"non-EU countries","description":"Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group."},"period_start":{"type":"string","default":"2015-01","description":"Inclusive start of the analysis window, ISO month 'YYYY-MM'."},"prodcom_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."},"include_other":{"type":"boolean","default":true,"description":"Bundle entities outside the top-N into a single 'Other' bucket."},"remove_outliers":{"type":"boolean","default":true,"description":"Drop extreme unit-price outliers before computing weighted-average prices."},"reporter_members":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."}},"description":"The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Product Profile"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":1182,"tokensAfter":1182},{"name":"get_production_concentration","fixed":{"name":"get_production_concentration","description":"How concentrated production of a product is across all DS-059358\nreporting countries (PRODCOM; EU member states plus EFTA/candidate/other\nreporters -- not only the EU-27). HHI of PRODVAL across countries over\ntime, plus each country's production share. Suppressed/absent country\nfigures come back as null, not zero. Use `query.prodcom_code` to pin a\nspecific PRODCOM mapping.","inputSchema":{"type":"object","required":["query"],"properties":{"query":{"type":"object","required":["product"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response (en, de, fr, es, it, ro)."},"n_top":{"type":"integer","default":7,"description":"Number of top entities (by volume/value) to break out individually in charts."},"product":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"examples":["3801",["0901","0902"],"TOTAL"],"description":"Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate."},"midpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."},"partners":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit partner-country list that overrides 'partner_set' when present."},"reporter":{"type":"string","default":"European Union","description":"Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name."},"frequency":{"type":"string","default":"quarter","description":"Resampling frequency for the series: 'month', 'quarter' or 'year'."},"period_end":{"type":"string","description":"Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported."},"partner_set":{"type":"string","default":"non-EU countries","description":"Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group."},"period_start":{"type":"string","default":"2015-01","description":"Inclusive start of the analysis window, ISO month 'YYYY-MM'."},"prodcom_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."},"include_other":{"type":"boolean","default":true,"description":"Bundle entities outside the top-N into a single 'Other' bucket."},"remove_outliers":{"type":"boolean","default":true,"description":"Drop extreme unit-price outliers before computing weighted-average prices."},"reporter_members":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."}},"description":"The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default."},"compact":{"type":"boolean","default":false,"description":"If true, condense long numeric time series (more than ~6 points -- typically monthly/quarterly windows or wide multi-partner/multi-period breakdowns) into summary statistics (first, last, min, max, mean, pct_change) instead of returning every data point. Leave false for full-fidelity series (e.g. to actually plot a chart); set true when you just need the headline trend and want to save context."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Production Concentration"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":1219,"tokensAfter":1219},{"name":"get_production_series","fixed":{"name":"get_production_series","description":"EU27 and per-country PRODCOM production series: EU quantity, EU\nproduction unit value, and the same two per reporting country (all\nDS-059358 reporters, not just EU-27, since production data carries no\ntrade columns). Country-level figures are heavily confidentiality\n-suppressed; suppressed/absent values come back as null, not zero. Use\n`query.prodcom_code` to pin a specific PRODCOM mapping when a CN code\nmaps to several.","inputSchema":{"type":"object","required":["query"],"properties":{"query":{"type":"object","required":["product"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response (en, de, fr, es, it, ro)."},"n_top":{"type":"integer","default":7,"description":"Number of top entities (by volume/value) to break out individually in charts."},"product":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"examples":["3801",["0901","0902"],"TOTAL"],"description":"Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate."},"midpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."},"partners":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit partner-country list that overrides 'partner_set' when present."},"reporter":{"type":"string","default":"European Union","description":"Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name."},"frequency":{"type":"string","default":"quarter","description":"Resampling frequency for the series: 'month', 'quarter' or 'year'."},"period_end":{"type":"string","description":"Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported."},"partner_set":{"type":"string","default":"non-EU countries","description":"Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group."},"period_start":{"type":"string","default":"2015-01","description":"Inclusive start of the analysis window, ISO month 'YYYY-MM'."},"prodcom_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."},"include_other":{"type":"boolean","default":true,"description":"Bundle entities outside the top-N into a single 'Other' bucket."},"remove_outliers":{"type":"boolean","default":true,"description":"Drop extreme unit-price outliers before computing weighted-average prices."},"reporter_members":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."}},"description":"The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default."},"compact":{"type":"boolean","default":false,"description":"If true, condense long numeric time series (more than ~6 points -- typically monthly/quarterly windows or wide multi-partner/multi-period breakdowns) into summary statistics (first, last, min, max, mean, pct_change) instead of returning every data point. Leave false for full-fidelity series (e.g. to actually plot a chart); set true when you just need the headline trend and want to save context."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Production Series"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":1230,"tokensAfter":1230},{"name":"get_reporter_benchmark","fixed":{"name":"get_reporter_benchmark","description":"Every EU reporter ranked by value for one year -- the country-view\ncounterpart of `get_reporter_detail`. Returns a single-year snapshot\n(every real EU member state's quantity, value and price per flow,\nranked by value) plus a benchmark price time series: the weighted\naverage across whichever reporters `query.reporter` resolves to (the\nwhole EU by default, or narrower when `query.reporter` is itself an\naggregate -- euro area, a named group, or an ad hoc custom group), the\ncross-reporter min/max e","inputSchema":{"type":"object","required":["query"],"properties":{"year":{"anyOf":[{"type":"integer","maximum":2100,"minimum":1988},{"type":"null"}],"default":null,"description":"Year for the (cross-sectional) snapshot. Defaults to the latest full year with data."},"query":{"type":"object","required":["product"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response (en, de, fr, es, it, ro)."},"n_top":{"type":"integer","default":7,"description":"Number of top entities (by volume/value) to break out individually in charts."},"product":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"examples":["3801",["0901","0902"],"TOTAL"],"description":"Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate."},"midpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."},"partners":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit partner-country list that overrides 'partner_set' when present."},"reporter":{"type":"string","default":"European Union","description":"Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name."},"frequency":{"type":"string","default":"quarter","description":"Resampling frequency for the series: 'month', 'quarter' or 'year'."},"period_end":{"type":"string","description":"Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported."},"partner_set":{"type":"string","default":"non-EU countries","description":"Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group."},"period_start":{"type":"string","default":"2015-01","description":"Inclusive start of the analysis window, ISO month 'YYYY-MM'."},"prodcom_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."},"include_other":{"type":"boolean","default":true,"description":"Bundle entities outside the top-N into a single 'Other' bucket."},"remove_outliers":{"type":"boolean","default":true,"description":"Drop extreme unit-price outliers before computing weighted-average prices."},"reporter_members":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."}},"description":"The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default."},"compact":{"type":"boolean","default":false,"description":"If true, condense long numeric time series (more than ~6 points -- typically monthly/quarterly windows or wide multi-partner/multi-period breakdowns) into summary statistics (first, last, min, max, mean, pct_change) instead of returning every data point. Leave false for full-fidelity series (e.g. to actually plot a chart); set true when you just need the headline trend and want to save context."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Reporter Benchmark"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":1308,"tokensAfter":1308},{"name":"get_reporter_detail","fixed":{"name":"get_reporter_detail","description":"Per-EU-member-state import/export breakdown -- the reporter-side\ncounterpart of `get_partner_detail`. Top-N member states (by quantity and\nby value) with their quantity, value and price series. Aggregate\nreporters (EU, Euro area, groups) are excluded from the ranking.","inputSchema":{"type":"object","required":["query"],"properties":{"query":{"type":"object","required":["product"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response (en, de, fr, es, it, ro)."},"n_top":{"type":"integer","default":7,"description":"Number of top entities (by volume/value) to break out individually in charts."},"product":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"examples":["3801",["0901","0902"],"TOTAL"],"description":"Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate."},"midpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."},"partners":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit partner-country list that overrides 'partner_set' when present."},"reporter":{"type":"string","default":"European Union","description":"Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name."},"frequency":{"type":"string","default":"quarter","description":"Resampling frequency for the series: 'month', 'quarter' or 'year'."},"period_end":{"type":"string","description":"Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported."},"partner_set":{"type":"string","default":"non-EU countries","description":"Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group."},"period_start":{"type":"string","default":"2015-01","description":"Inclusive start of the analysis window, ISO month 'YYYY-MM'."},"prodcom_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."},"include_other":{"type":"boolean","default":true,"description":"Bundle entities outside the top-N into a single 'Other' bucket."},"remove_outliers":{"type":"boolean","default":true,"description":"Drop extreme unit-price outliers before computing weighted-average prices."},"reporter_members":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."}},"description":"The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default."},"compact":{"type":"boolean","default":false,"description":"If true, condense long numeric time series (more than ~6 points -- typically monthly/quarterly windows or wide multi-partner/multi-period breakdowns) into summary statistics (first, last, min, max, mean, pct_change) instead of returning every data point. Leave false for full-fidelity series (e.g. to actually plot a chart); set true when you just need the headline trend and want to save context."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Reporter Detail"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":1186,"tokensAfter":1186},{"name":"get_specialisation","fixed":{"name":"get_specialisation","description":"Intra-EU revealed symmetric comparative advantage (RSCA) per member\nstate -- a Balassa index benchmarked against the EU instead of the\nworld. Runs -1 (under-specialised) to +1 (strongly specialised), value\n-based and intra-EU only. Treat with caution: intra-EU flows are\ndistorted by the Rotterdam/Antwerp quasi-transit effect.","inputSchema":{"type":"object","required":["query"],"properties":{"year":{"anyOf":[{"type":"integer","maximum":2100,"minimum":1988},{"type":"null"}],"default":null,"description":"Year for the (cross-sectional) snapshot. Defaults to the latest full year with data."},"query":{"type":"object","required":["product"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response (en, de, fr, es, it, ro)."},"n_top":{"type":"integer","default":7,"description":"Number of top entities (by volume/value) to break out individually in charts."},"product":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"examples":["3801",["0901","0902"],"TOTAL"],"description":"Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate."},"midpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."},"partners":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit partner-country list that overrides 'partner_set' when present."},"reporter":{"type":"string","default":"European Union","description":"Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name."},"frequency":{"type":"string","default":"quarter","description":"Resampling frequency for the series: 'month', 'quarter' or 'year'."},"period_end":{"type":"string","description":"Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported."},"partner_set":{"type":"string","default":"non-EU countries","description":"Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group."},"period_start":{"type":"string","default":"2015-01","description":"Inclusive start of the analysis window, ISO month 'YYYY-MM'."},"prodcom_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."},"include_other":{"type":"boolean","default":true,"description":"Bundle entities outside the top-N into a single 'Other' bucket."},"remove_outliers":{"type":"boolean","default":true,"description":"Drop extreme unit-price outliers before computing weighted-average prices."},"reporter_members":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."}},"description":"The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default."},"compact":{"type":"boolean","default":false,"description":"If true, condense long numeric time series (more than ~6 points -- typically monthly/quarterly windows or wide multi-partner/multi-period breakdowns) into summary statistics (first, last, min, max, mean, pct_change) instead of returning every data point. Leave false for full-fidelity series (e.g. to actually plot a chart); set true when you just need the headline trend and want to save context."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Specialisation"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":1258,"tokensAfter":1258},{"name":"get_subcontracting","fixed":{"name":"get_subcontracting","description":"EU27 sub-contracting intensity: the share of sold production that is\ntoll (sub-contracted) manufacturing rather than own-account output.\nReturns intensity (%) across value/quantity, its component series,\nper-period data-quality status, resolved PRODCOM codes and availability\nnotes. The own/sub split only exists from 2021 onward.","inputSchema":{"type":"object","required":["query"],"properties":{"query":{"type":"object","required":["product"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response (en, de, fr, es, it, ro)."},"n_top":{"type":"integer","default":7,"description":"Number of top entities (by volume/value) to break out individually in charts."},"product":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"examples":["3801",["0901","0902"],"TOTAL"],"description":"Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate."},"midpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."},"partners":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit partner-country list that overrides 'partner_set' when present."},"reporter":{"type":"string","default":"European Union","description":"Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name."},"frequency":{"type":"string","default":"quarter","description":"Resampling frequency for the series: 'month', 'quarter' or 'year'."},"period_end":{"type":"string","description":"Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported."},"partner_set":{"type":"string","default":"non-EU countries","description":"Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group."},"period_start":{"type":"string","default":"2015-01","description":"Inclusive start of the analysis window, ISO month 'YYYY-MM'."},"prodcom_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."},"include_other":{"type":"boolean","default":true,"description":"Bundle entities outside the top-N into a single 'Other' bucket."},"remove_outliers":{"type":"boolean","default":true,"description":"Drop extreme unit-price outliers before computing weighted-average prices."},"reporter_members":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."}},"description":"The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default."},"compact":{"type":"boolean","default":false,"description":"If true, condense long numeric time series (more than ~6 points -- typically monthly/quarterly windows or wide multi-partner/multi-period breakdowns) into summary statistics (first, last, min, max, mean, pct_change) instead of returning every data point. Leave false for full-fidelity series (e.g. to actually plot a chart); set true when you just need the headline trend and want to save context."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Subcontracting"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":1203,"tokensAfter":1203},{"name":"get_subcontracting_members","fixed":{"name":"get_subcontracting_members","description":"Per-country sub-contracting intensity (PRODCOM): for each reporting\ncountry, the share of its sold production that is toll manufacturing --\nwhich countries act as processing hubs vs. autonomous producers. Spans\nall DS-059358 reporters that report the own/sub split; others simply\ndon't appear. Country cells are heavily confidentiality-suppressed\n(null, not zero, when absent).","inputSchema":{"type":"object","required":["query"],"properties":{"query":{"type":"object","required":["product"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response (en, de, fr, es, it, ro)."},"n_top":{"type":"integer","default":7,"description":"Number of top entities (by volume/value) to break out individually in charts."},"product":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"examples":["3801",["0901","0902"],"TOTAL"],"description":"Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate."},"midpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."},"partners":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit partner-country list that overrides 'partner_set' when present."},"reporter":{"type":"string","default":"European Union","description":"Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name."},"frequency":{"type":"string","default":"quarter","description":"Resampling frequency for the series: 'month', 'quarter' or 'year'."},"period_end":{"type":"string","description":"Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported."},"partner_set":{"type":"string","default":"non-EU countries","description":"Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group."},"period_start":{"type":"string","default":"2015-01","description":"Inclusive start of the analysis window, ISO month 'YYYY-MM'."},"prodcom_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."},"include_other":{"type":"boolean","default":true,"description":"Bundle entities outside the top-N into a single 'Other' bucket."},"remove_outliers":{"type":"boolean","default":true,"description":"Drop extreme unit-price outliers before computing weighted-average prices."},"reporter_members":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."}},"description":"The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default."},"compact":{"type":"boolean","default":false,"description":"If true, condense long numeric time series (more than ~6 points -- typically monthly/quarterly windows or wide multi-partner/multi-period breakdowns) into summary statistics (first, last, min, max, mean, pct_change) instead of returning every data point. Leave false for full-fidelity series (e.g. to actually plot a chart); set true when you just need the headline trend and want to save context."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Subcontracting Members"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":1219,"tokensAfter":1219},{"name":"get_subtree","fixed":{"name":"get_subtree","description":"Return the Combined Nomenclature sub-tree rooted at `code` (its\nchildren, and their children, ...), each with a `code` and a `text`\ndescription. Use this to see whether a heading you're about to use (e.g.\nas `query.product` elsewhere) is actually a clean match, or bundles\nseveral distinct sub-products together.","inputSchema":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"Combined Nomenclature code to expand, e.g. '7010'."},"lang":{"type":"string","default":"en","description":"Language for translated labels in the response. One of: bg, cs, da, de, el, en, es, et, fi, fr, ga, hr, hu, it, lt, lv, mt, nl, pl, pt, ro, sk, sl, sv."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Subtree"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":209,"tokensAfter":209},{"name":"get_supply_shocks","fixed":{"name":"get_supply_shocks","description":"Detect abnormal collapses in trade volumes (\"sudden volume changes\").\nFlags periods where a partner/product pair's volume drops well below its\nhistorical average (>2 sigma by default). Returns ranked shock events\nper flow, each with timeline phases (baseline, decline, disruption,\nrecovery, ...), magnitude, abnormality score and underlying series.","inputSchema":{"type":"object","required":["query"],"properties":{"query":{"type":"object","required":["product"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response (en, de, fr, es, it, ro)."},"n_top":{"type":"integer","default":7,"description":"Number of top entities (by volume/value) to break out individually in charts."},"product":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"examples":["3801",["0901","0902"],"TOTAL"],"description":"Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate."},"midpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."},"partners":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit partner-country list that overrides 'partner_set' when present."},"reporter":{"type":"string","default":"European Union","description":"Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name."},"frequency":{"type":"string","default":"quarter","description":"Resampling frequency for the series: 'month', 'quarter' or 'year'."},"period_end":{"type":"string","description":"Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported."},"partner_set":{"type":"string","default":"non-EU countries","description":"Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group."},"period_start":{"type":"string","default":"2015-01","description":"Inclusive start of the analysis window, ISO month 'YYYY-MM'."},"prodcom_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."},"include_other":{"type":"boolean","default":true,"description":"Bundle entities outside the top-N into a single 'Other' bucket."},"remove_outliers":{"type":"boolean","default":true,"description":"Drop extreme unit-price outliers before computing weighted-average prices."},"reporter_members":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."}},"description":"The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default."},"compact":{"type":"boolean","default":false,"description":"If true, condense long numeric time series (more than ~6 points -- typically monthly/quarterly windows or wide multi-partner/multi-period breakdowns) into summary statistics (first, last, min, max, mean, pct_change) instead of returning every data point. Leave false for full-fidelity series (e.g. to actually plot a chart); set true when you just need the headline trend and want to save context."},"entity_level":{"enum":["partner","reporter"],"type":"string","default":"partner","description":"Dimension to analyse. 'partner' -- how concentrated/volatile is the reporter's trade across its trading partners? 'reporter' -- how concentrated/volatile is a given partner's trade across EU member states? When 'reporter', 'partner_name' is required."},"partner_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Partner country name (English). Required when entity_level='reporter'."},"min_abnormality":{"type":"number","default":2,"maximum":10,"minimum":0.1,"description":"Minimum statistical abnormality of the volume crash, in sigma. Lower = more (weaker) shocks flagged."},"cumulative_share":{"type":"number","default":0.8,"maximum":1,"minimum":0.3,"description":"Only the top trading partners that together account for this share of total trade are analysed."},"min_active_years":{"type":"integer","default":2,"maximum":5,"minimum":1,"description":"Consecutive years of regular trade required before a collapse can be flagged."},"max_tolerated_gap":{"type":"integer","default":2,"maximum":6,"minimum":1,"description":"Consecutive quiet periods allowed within an otherwise stable trading relationship."},"relative_threshold":{"type":"number","default":0.1,"maximum":0.95,"minimum":0.01,"description":"Minimum drop relative to peak volume to count as a collapse (0.10 = 10% drop)."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Supply Shocks"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":1601,"tokensAfter":1601},{"name":"get_top_entities","fixed":{"name":"get_top_entities","description":"Just the ordered list of top entities for a slice -- no time series.\nA lightweight helper for populating entity pickers or quickly checking\nwho the top partners/reporters are without pulling full series.","inputSchema":{"type":"object","required":["query"],"properties":{"n":{"anyOf":[{"type":"integer","maximum":200,"minimum":1},{"type":"null"}],"default":null,"description":"Number of top entities to return. Defaults to query.n_top when omitted."},"flow":{"enum":["Imports","Exports"],"type":"string","default":"Imports","description":"Trade flow to use."},"query":{"type":"object","required":["product"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response (en, de, fr, es, it, ro)."},"n_top":{"type":"integer","default":7,"description":"Number of top entities (by volume/value) to break out individually in charts."},"product":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"examples":["3801",["0901","0902"],"TOTAL"],"description":"Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate."},"midpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."},"partners":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit partner-country list that overrides 'partner_set' when present."},"reporter":{"type":"string","default":"European Union","description":"Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name."},"frequency":{"type":"string","default":"quarter","description":"Resampling frequency for the series: 'month', 'quarter' or 'year'."},"period_end":{"type":"string","description":"Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported."},"partner_set":{"type":"string","default":"non-EU countries","description":"Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group."},"period_start":{"type":"string","default":"2015-01","description":"Inclusive start of the analysis window, ISO month 'YYYY-MM'."},"prodcom_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."},"include_other":{"type":"boolean","default":true,"description":"Bundle entities outside the top-N into a single 'Other' bucket."},"remove_outliers":{"type":"boolean","default":true,"description":"Drop extreme unit-price outliers before computing weighted-average prices."},"reporter_members":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."}},"description":"The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default."},"entity_level":{"enum":["partner","reporter"],"type":"string","default":"partner","description":"Dimension to rank: 'partner' (trading partners) or 'reporter' (EU member states)."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Top Entities"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":1170,"tokensAfter":1170},{"name":"get_trade_intensity","fixed":{"name":"get_trade_intensity","description":"Trade Intensity (TI) = (Imports + Exports) / (Imports + Production),\nannual. Near 1 = highly trade-exposed sector; near 0 = predominantly\ndomestic. Used in the Commission's CEEAG methodology for carbon-leakage\n/ State-aid eligibility. Returns the TI series, its components,\nsibling-category/per-code comparisons, resolved PRODCOM codes and\navailability notes.","inputSchema":{"type":"object","required":["query"],"properties":{"query":{"type":"object","required":["product"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response (en, de, fr, es, it, ro)."},"n_top":{"type":"integer","default":7,"description":"Number of top entities (by volume/value) to break out individually in charts."},"product":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"examples":["3801",["0901","0902"],"TOTAL"],"description":"Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate."},"midpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."},"partners":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit partner-country list that overrides 'partner_set' when present."},"reporter":{"type":"string","default":"European Union","description":"Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name."},"frequency":{"type":"string","default":"quarter","description":"Resampling frequency for the series: 'month', 'quarter' or 'year'."},"period_end":{"type":"string","description":"Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported."},"partner_set":{"type":"string","default":"non-EU countries","description":"Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group."},"period_start":{"type":"string","default":"2015-01","description":"Inclusive start of the analysis window, ISO month 'YYYY-MM'."},"prodcom_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."},"include_other":{"type":"boolean","default":true,"description":"Bundle entities outside the top-N into a single 'Other' bucket."},"remove_outliers":{"type":"boolean","default":true,"description":"Drop extreme unit-price outliers before computing weighted-average prices."},"reporter_members":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."}},"description":"The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default."},"compact":{"type":"boolean","default":false,"description":"If true, condense long numeric time series (more than ~6 points -- typically monthly/quarterly windows or wide multi-partner/multi-period breakdowns) into summary statistics (first, last, min, max, mean, pct_change) instead of returning every data point. Leave false for full-fidelity series (e.g. to actually plot a chart); set true when you just need the headline trend and want to save context."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Trade Intensity"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":1212,"tokensAfter":1212},{"name":"get_volatility","fixed":{"name":"get_volatility","description":"Coefficient-of-variation (CV = stdev / mean) volatility per\npartner/reporter x product pair, over inactive-period-excluded history.\nHigher CV = the flow swings more relative to its typical level. Returns\nper-entity CV bars (with drill-down series) and, unless\ninclude_heatmap=false, an entity x sub-product CV heatmap.","inputSchema":{"type":"object","required":["query"],"properties":{"flow":{"enum":["Imports","Exports"],"type":"string","default":"Imports","description":"Trade flow to use."},"query":{"type":"object","required":["product"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response (en, de, fr, es, it, ro)."},"n_top":{"type":"integer","default":7,"description":"Number of top entities (by volume/value) to break out individually in charts."},"product":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"examples":["3801",["0901","0902"],"TOTAL"],"description":"Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate."},"midpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."},"partners":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit partner-country list that overrides 'partner_set' when present."},"reporter":{"type":"string","default":"European Union","description":"Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name."},"frequency":{"type":"string","default":"quarter","description":"Resampling frequency for the series: 'month', 'quarter' or 'year'."},"period_end":{"type":"string","description":"Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported."},"partner_set":{"type":"string","default":"non-EU countries","description":"Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group."},"period_start":{"type":"string","default":"2015-01","description":"Inclusive start of the analysis window, ISO month 'YYYY-MM'."},"prodcom_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."},"include_other":{"type":"boolean","default":true,"description":"Bundle entities outside the top-N into a single 'Other' bucket."},"remove_outliers":{"type":"boolean","default":true,"description":"Drop extreme unit-price outliers before computing weighted-average prices."},"reporter_members":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."}},"description":"The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default."},"combos":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated flow x indicator keys to compute at once: imp-qty, imp-price, exp-qty, exp-price. When set, overrides flow/indicator and returns a dict keyed by combo."},"compact":{"type":"boolean","default":false,"description":"If true, condense long numeric time series (more than ~6 points -- typically monthly/quarterly windows or wide multi-partner/multi-period breakdowns) into summary statistics (first, last, min, max, mean, pct_change) instead of returning every data point. Leave false for full-fidelity series (e.g. to actually plot a chart); set true when you just need the headline trend and want to save context."},"indicator":{"enum":["quantity","price"],"type":"string","default":"quantity","description":"Measure for single-grid mode (ignored when combos is set)."},"entity_level":{"enum":["partner","reporter"],"type":"string","default":"partner","description":"Dimension to analyse. 'partner' -- how concentrated/volatile is the reporter's trade across its trading partners? 'reporter' -- how concentrated/volatile is a given partner's trade across EU member states? When 'reporter', 'partner_name' is required."},"partner_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Partner country name (English). Required when entity_level='reporter'."},"n_top_entities":{"type":"integer","default":15,"maximum":100,"minimum":1,"description":"Number of top entities to include in the volatility bar chart."},"n_top_products":{"type":"integer","default":10,"maximum":50,"minimum":1,"description":"Max number of sub-products in the entity x product heatmap."},"include_heatmap":{"type":"boolean","default":true,"description":"Whether to compute the entity x sub-product CV heatmap (false is faster, bar chart only)."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Volatility"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":1613,"tokensAfter":1613},{"name":"get_volatility_summary","fixed":{"name":"get_volatility_summary","description":"Report-section helper (\"Volatility & shocks\"): the entities analysed\nare picked by `get_volatility` (ranks by trade volume, reports each\none's CV) and by `get_price_shocks`/`get_supply_shocks` at default\nparameters (both already scoped to top-value partners via\n`cumulative_share=0.8`) -- never re-picked from the shocks themselves.\nRetries shock detection once with loosened thresholds before concluding\n\"no shocks\"; an empty result is itself a reportable finding, not a gap.\nWhen shocks are found, ","inputSchema":{"type":"object","required":["query"],"properties":{"query":{"type":"object","required":["product"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response (en, de, fr, es, it, ro)."},"n_top":{"type":"integer","default":7,"description":"Number of top entities (by volume/value) to break out individually in charts."},"product":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"examples":["3801",["0901","0902"],"TOTAL"],"description":"Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate."},"midpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."},"partners":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit partner-country list that overrides 'partner_set' when present."},"reporter":{"type":"string","default":"European Union","description":"Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name."},"frequency":{"type":"string","default":"quarter","description":"Resampling frequency for the series: 'month', 'quarter' or 'year'."},"period_end":{"type":"string","description":"Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported."},"partner_set":{"type":"string","default":"non-EU countries","description":"Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group."},"period_start":{"type":"string","default":"2015-01","description":"Inclusive start of the analysis window, ISO month 'YYYY-MM'."},"prodcom_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."},"include_other":{"type":"boolean","default":true,"description":"Bundle entities outside the top-N into a single 'Other' bucket."},"remove_outliers":{"type":"boolean","default":true,"description":"Drop extreme unit-price outliers before computing weighted-average prices."},"reporter_members":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."}},"description":"The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Get Volatility Summary"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":1126,"tokensAfter":1126},{"name":"resolve_product_code","fixed":{"name":"resolve_product_code","description":"Resolve a free-text query or CN code(s) into validated product\ncode(s) with descriptions -- the recommended first step before using\na code as `product` in any other tool's `query`. Saves the search ->\nvalidate -> (optional) subtree round-trip: a bare keyword runs a search,\na single code (or comma-separated list) is validated and described\ndirectly.\n\nTip: Comext/CN nomenclature is frequently coarser than a colloquial\nproduct name (e.g. there is no code for \"glass jars\" alone -- only\nheading 7010,","inputSchema":{"type":"object","required":["query"],"properties":{"lang":{"type":"string","default":"en","description":"Language for translated labels in the response. One of: bg, cs, da, de, el, en, es, et, fi, fr, ga, hr, hu, it, lt, lv, mt, nl, pl, pt, ro, sk, sl, sv."},"limit":{"type":"integer","default":20,"maximum":50,"minimum":1,"description":"Max keyword-search results (ignored for direct code validation)."},"query":{"type":"string","description":"Free-text keyword (e.g. 'glass jars') OR one or more CN codes, comma-separated (e.g. '7010' or '7010, 7013')."},"include_children":{"type":"boolean","default":false,"description":"When resolving a single direct code, also fetch its immediate CN subtree so finer-grained alternatives are visible in one call."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Resolve Product Code"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":378,"tokensAfter":378},{"name":"search_codes","fixed":{"name":"search_codes","description":"Keyword/code search over the Combined Nomenclature (or PRODCOM).\n\nReturns ranked `{code, label, path}` candidates. Prefer\n`resolve_product_code` for a one-call keyword-or-code helper; use this\ndirectly if you specifically want the raw ranked candidate list.","inputSchema":{"type":"object","required":["q"],"properties":{"q":{"type":"string","maxLength":100,"description":"Keyword or code fragment to search for."},"lang":{"type":"string","default":"en","description":"Language for translated labels in the response. One of: bg, cs, da, de, el, en, es, et, fi, fr, ga, hr, hu, it, lt, lv, mt, nl, pl, pt, ro, sk, sl, sv."},"limit":{"type":"integer","default":20,"maximum":100,"minimum":1,"description":"Max number of candidates to return."},"source":{"enum":["cn","prodcom"],"type":"string","default":"cn","description":"Nomenclature to search. A dotted PRODCOM code (e.g. '23.13') is auto-detected either way and reverse-mapped to CN codes."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Search Codes"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":283,"tokensAfter":283},{"name":"validate_code","fixed":{"name":"validate_code","description":"Validate and describe one or more Combined Nomenclature codes.\n\nFor a single code, returns the full hierarchy of description levels\n(`levels`), the resolved `product_name`, and `has_subcodes`. For a\ncomma-separated list, returns `{\"results\": [...]}` with one entry per\ncode (each either a success dict or an `{\"code\", \"error\"}` pair).","inputSchema":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"One CN code, or a comma-separated list of up to 50 codes (e.g. '73030010, 73030090'). The literal 'TOTAL' is also accepted."},"lang":{"type":"string","default":"en","description":"Language for translated labels in the response. One of: bg, cs, da, de, el, en, es, et, fi, fr, ga, hr, hu, it, lt, lv, mt, nl, pl, pt, ro, sk, sl, sv."}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Validate Code"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":238,"tokensAfter":238}],"toolsChanged":35,"tokensSaved":0,"todo":[],"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."}