Skip to content
Eden Engine

Latvian Statistics Table Variables and Value Codes (Statistics Latvia PxWeb)

statlvpxweb/table-metadata

The structure of one table in the Central Statistical Bureau of Latvia's official statistics database (PxWeb): its title and each variable with its code, label and every allowed value (code and display text), such as the indicators, the regions and the time periods covered. Give the table's path ids from statlvpxweb/search-statistics-tables (theme, subject, group, table). Use the variable and value codes it returns in statlvpxweb/table-data. A large table lists hundreds of values. An unknown table is refused by the service as a bad request. Central Statistical Bureau of Latvia data, passed through unmodified and served by Eden Engine; not an official Central Statistical Bureau of Latvia 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

Central Statistical Bureau of Latvia

Data from the Official Statistics Portal of Latvia, Central Statistical Bureau of Latvia (CSB), passed through unmodified. Served by Eden Engine; not an official Central Statistical Bureau of Latvia 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: "statlvpxweb/table-metadata" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "statlvpxweb/table-metadata" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "statlvpxweb/table-metadata", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "statlvpxweb/table-metadata", 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 20, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "language",
    "theme",
    "subject",
    "group",
    "table"
  ],
  "properties": {
    "group": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_]{1,20}$",
      "description": "The group id, the third segment of the path, for example IRS. It is a segment of the table's path, as search-statistics-tables returns it."
    },
    "table": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_]{1,20}$",
      "description": "The table id, for example IRS010. It is a segment of the table's path, as search-statistics-tables returns it."
    },
    "theme": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_]{1,20}$",
      "description": "The theme id, the first segment of the table's path, for example POP. It is a segment of the table's path, as search-statistics-tables returns it."
    },
    "subject": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_]{1,20}$",
      "description": "The subject id, the second segment of the path, for example IR. It is a segment of the table's path, as search-statistics-tables returns it."
    },
    "language": {
      "enum": [
        "en",
        "lv"
      ],
      "type": "string",
      "description": "The language of the names and labels: en (English) or lv (Latvian)."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "title",
    "variables"
  ],
  "properties": {
    "title": {
      "type": "string",
      "description": "The table title with its variables."
    },
    "variables": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "The variable code to use in a table-data query."
          },
          "text": {
            "type": "string",
            "description": "The variable label."
          },
          "time": {
            "type": "boolean",
            "description": "True for the time variable."
          },
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The allowed value codes, in table order."
          },
          "valueTexts": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The display text of each value, in the same order as values."
          },
          "elimination": {
            "type": "boolean",
            "description": "True when the variable may be left out of a query."
          }
        },
        "additionalProperties": true
      },
      "description": "The table's variables."
    }
  },
  "additionalProperties": true
}