Skip to content
Eden Engine

GUS Knowledge Databases Variable Data: Values by Section, Year and Period (Statistics Poland)

gusdbw/variable-data

Returns the data values of one variable in one section for one year and one period of Statistics Poland's Knowledge Databases, paged: one row per combination of dimension positions with the value (`wartosc`), its precision, its unit id and the no-value and flag codes. Period ids: 247 to 258 are January to December, 270 to 273 the four quarters, 278 and 279 the half-years, 282 the full year. Decode position ids with GUS DBW Section Positions. A year or period with no data is refused. Statistics Poland data under CC BY 4.0, served by Eden Engine; not an official Statistics Poland product.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.

Data source

Statistics Poland (GUS)

Source: Statistics Poland (GUS), CC BY 4.0. Served by Eden Engine; not an official Statistics Poland (GUS) product.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "gusdbw/variable-data" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "gusdbw/variable-data" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "gusdbw/variable-data", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "gusdbw/variable-data", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 21, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "variable_id",
    "section_id",
    "year",
    "period_id"
  ],
  "properties": {
    "lang": {
      "enum": [
        "en",
        "pl"
      ],
      "type": "string",
      "default": "en",
      "description": "Language of names and descriptions: en (English) or pl (Polish). Defaults to en. The field names of the response are Polish in both."
    },
    "page": {
      "type": "integer",
      "minimum": 0,
      "description": "Zero-based page index. Leave out for the first page. A page beyond the last is refused; the response's `page-count` is the index of the last page."
    },
    "year": {
      "type": "integer",
      "maximum": 2100,
      "minimum": 1900,
      "description": "Reference year, for example 2025. It must lie in the section's `szereg-czasowy` range."
    },
    "page_size": {
      "type": "integer",
      "default": 20,
      "maximum": 100,
      "minimum": 1,
      "description": "Rows per page, 1 to 100. Defaults to 20."
    },
    "period_id": {
      "type": "integer",
      "minimum": 1,
      "description": "Period id. Common ones: 247 to 258 January to December, 270 to 273 quarters 1 to 4, 278 and 279 first and second half-year, 282 the whole year. The section's `nazwa-czestotliwosc` says which kind applies."
    },
    "section_id": {
      "type": "integer",
      "minimum": 1,
      "description": "Section id from GUS DBW Variable Metadata, for example 750."
    },
    "variable_id": {
      "type": "integer",
      "minimum": 1,
      "description": "Variable id from GUS DBW Area Variables, for example 302."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "data"
  ],
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id-daty": {
            "type": "integer",
            "description": "Year."
          },
          "wartosc": {
            "type": [
              "number",
              "null"
            ],
            "description": "The value."
          },
          "id-flaga": {
            "type": "integer",
            "description": "Flag id."
          },
          "id-okres": {
            "type": "integer",
            "description": "Period id."
          },
          "precyzja": {
            "type": "integer",
            "description": "Decimal places of the value."
          },
          "rownumber": {
            "type": "integer"
          },
          "id-zmienna": {
            "type": "integer",
            "description": "Variable id."
          },
          "id-przekroj": {
            "type": "integer",
            "description": "Section id."
          },
          "id-tajnosci": {
            "type": "integer",
            "description": "Confidentiality code id."
          },
          "id-wymiar-1": {
            "type": "integer",
            "description": "First dimension id; id-wymiar-2 and further follow when the section has more."
          },
          "id-pozycja-1": {
            "type": "integer",
            "description": "Position id in the first dimension; decode with GUS DBW Section Positions."
          },
          "id-brak-wartosci": {
            "type": "integer",
            "description": "No-value code id (38 is data not available or confidential, 42 magnitude zero, 253 not applicable)."
          },
          "id-sposob-prezentacji-miara": {
            "type": "integer",
            "description": "Measure and way-of-presentation id (unit)."
          }
        },
        "additionalProperties": true
      }
    },
    "page-size": {
      "type": "integer",
      "description": "Rows per page used by the service."
    },
    "page-count": {
      "type": "integer",
      "description": "Index of the last page."
    },
    "page-number": {
      "type": "integer",
      "description": "Zero-based index of this page."
    }
  },
  "description": "One page of rows: `page-number`, `page-size`, `page-count` (the index of the last page) and `data`.",
  "additionalProperties": true
}