Inspect dataflow structure
inspectInspect a dataflow's dimensional structure and constraint codes.
Call as: inspect(agency_id="ABS", dataflow_id="ERP_Q")
Returns a brief summary for the user plus full dimensional detail (dimensions, code counts, sample code values with names, constraint type) for the assistant to reason over. Use this to drill into a dataflow found via discover before building a query with ask.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| debug | No | Append a per-stage telemetry breakdown (assistant-only) to the output (only populated when GSDMX2_MCP_TELEMETRY is enabled). | |
| sample | No | Max codes to show per dimension (default 10) | |
| agency_id | Yes | SDMX agency code, e.g. "ABS", "ESTAT", "OECD" | |
| dataflow_id | Yes | SDMX dataflow identifier, e.g. "ERP_Q", "DS-018995" (NOT dataset_id) |