Skip to main content
Glama

Pristavla – Norwegian prices / norske priser

Tidsserie fra /data/ / Get a dataset

get_series
Read-onlyIdempotent

Hent rader fra en av tabellene under pristavla.no/data/ (åpne data med lisens og kilde), valgfritt avgrenset på periode og filtrert på kolonneverdier. Lange svar kortes til de nyeste radene. Get rows from one of the open tables under pristavla.no/data/ (licensed, sourced), optionally limited to a period and filtered on column values. Long answers keep the newest rows. Datasets: drivstoff-ssb (Pumpepris for diesel og bensin, landssnitt per måned, 1986-08–2026-10); drivstoff-oppdeling (Hva literen består av, per måned, 2020-01–2026-10); drivstoff-europa (Pumpepris i Sverige, Danmark, Tyskland, Finland og EU, per uke, 2005-01-03–2026-11-30); strompris-husholdninger-ssb (Strømpris for husholdninger per kvartal, delt opp, 2012K1–2026K3); renter-norges-bank (Styringsrenta og statsrentene per måned, 2013-12–2026-12); styringsrente-endringer (Endringer i styringsrenta, 2014-12-12–2026-09-25); boliglansrente-ssb (Renta på nye boliglån per måned, 2013-12–2026-10); matpriser-kpi-ssb (Konsumprisindeksen for mat, varegruppe for varegruppe, 2000-01–2026-10); valuta-dag (Kronekursen per virkedag, alle valutaene, 2025-10-27–2026-12-04); valuta-maned (Kronekursen per måned, alle valutaene, 1986-01–2026-11); kommunale-avgifter-ssb (Kommunale gebyrer for vann, avløp, renovasjon og feiing, 2020–2026); boligpriser-ssb (Kvadratmeterpris og antall salg av brukte boliger per kommune, 2025–2026K3); ravarer-verdensbanken (Råvarepriser per måned i dollar og kroner (Verdensbanken), 1960-01–2026-11); olje-gass-eia-dag (Brent og Henry Hub per dag (EIA), 2023-12-01–2026-12-01); olje-gass-eia-maned (Brent og Henry Hub per måned (EIA), 1987-05–2026-11); laks-eksportpris-ssb (Eksportpris og mengde for laks per uke, 2000U01–2026U48); aluminium-eksport-ssb (Norges eksport av aluminium per måned, 1988-01–2026-10); tobakksavgift (Tobakksavgiften per år, 2016–2026)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "dataset": "<dataset>"
    },
    "name": "get_series"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoSiste periode. Last period (inclusive, prefix match).
fromNoFørste periode, samme form som tabellens periodekolonne: «2024», «2024-06», «2024-06-30», «2025K1». First period (inclusive, prefix match).
limitNoMax rows (newest kept).
filterNoKolonne = verdi, f.eks. {"land": "SE"} eller {"kommune": "Bergen"}. Exact match per column (strings case-insensitive).
datasetYesTabellens navn. Dataset slug.

Output Schema

NameRequiredDescriptionDefault
csvNo
jsonNo
kindNo
pageNo
rowsYes
notesNo
titleYes
columnsYes
datasetYes
licenseYes
sourcesNo
updatedNo
coverageNo
truncatedNo
total_rowsNo
attributionYes
descriptionNo
license_scopeNo
period_columnNo
returned_rowsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. The description adds genuinely useful behavior beyond that: licensed/sourced open data, and the important disclosure that long responses are truncated to the newest rows. It does not mention pagination cursor semantics or rate limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and truncation rule are front-loaded, and the dataset catalog, though long, carries information the agent needs to choose a slug. It is, however, duplicated verbatim in Norwegian and English, which roughly doubles the length without adding information for a single reader.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Output schema exists, so return values need no explanation, and the description covers period scoping, filtering, truncation and dataset coverage. The remaining gap is that filterable column names per dataset are never described, which is the one thing an agent needs to build a correct filter.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents from/to/limit/filter/dataset including formats and defaults. The description adds value by annotating each dataset enum value with its content and date coverage, which helps pick the right slug, but it says nothing about which columns exist for the filter object, leaving that key parameter semantically underspecified. Baseline 3 is right.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: fetch rows from one of the open tables under pristavla.no/data/, optionally period-limited and column-filtered. The full dataset enumeration makes the scope concrete and clearly separates it from page-oriented siblings like get_page/list_pages.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear context for when to use it (pulling time series for a named dataset, narrowing by period or column value) and implies the alternative page tools. It never explicitly states when-not to use it or names a sibling to route to, so it stops short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources