mcp-comexstat

queryData

Retrieve detailed trade data by specifying flow type (export/import), time period, filters, and metrics for analysis on the MCP platform.

Input Schema

NameRequiredDescriptionDefault
detailsYes
filtersNo
flowYes
languageNopt
metricsYes
monthDetailYes
periodYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "details": { "items": { "enum": [ "country", "state", "economicBlock", "section", "chapter", "position", "subposition", "ncm" ], "type": "string" }, "type": "array" }, "filters": { "items": { "additionalProperties": false, "properties": { "filter": { "enum": [ "country", "state", "economicBlock", "section", "chapter", "position", "subposition", "ncm" ], "type": "string" }, "values": { "items": { "type": "number" }, "type": "array" } }, "required": [ "filter", "values" ], "type": "object" }, "type": "array" }, "flow": { "enum": [ "export", "import" ], "type": "string" }, "language": { "default": "pt", "type": "string" }, "metrics": { "items": { "enum": [ "metricFOB", "metricKG", "metricStatistic", "metricFreight", "metricInsurance", "metricCIF" ], "type": "string" }, "type": "array" }, "monthDetail": { "type": "boolean" }, "period": { "additionalProperties": false, "properties": { "from": { "pattern": "^\\d{4}-\\d{2}$", "type": "string" }, "to": { "pattern": "^\\d{4}-\\d{2}$", "type": "string" } }, "required": [ "from", "to" ], "type": "object" } }, "required": [ "flow", "monthDetail", "period", "details", "metrics" ], "type": "object" }
ID: gg0npj9yt8