Skip to main content
Glama

Kildeverk

Search SSB statistics tables

statistics_search_tables
Read-onlyIdempotent

Find Statistics Norway (SSB) tables by keyword. Returns table ids, titles, the period each table covers and when it was last updated. Start here for any question about Norwegian official statistics (population, prices, employment, housing, trade and so on), then call statistics_describe_table on a promising table.

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": {
      "query": "<query>"
    },
    "name": "statistics_search_tables"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of titles and labels. Codes are the same in both.en
pageNo
limitNo
queryYesWords to look for in table titles, e.g. 'population municipality'.
updated_within_daysNoOnly tables updated in the last N days.
include_discontinuedNoAlso return tables SSB no longer updates.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds value beyond that by naming exactly what is returned (ids, titles, coverage period, last-updated stamp), which tells the agent this is metadata discovery rather than data retrieval. Pagination and result caps are left to the schema.

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

Conciseness5/5

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

Three short sentences, front-loaded with the action and resource, then the return payload, then the next step. No filler or repetition of the tool name.

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?

For a six-parameter read-only search with no output schema, the description covers purpose, returns and the recommended follow-up call, which is enough to invoke correctly. A note on result limits or how to page beyond the first result set would close the remaining gap.

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 description coverage is 67%, and the description itself adds no parameter-level meaning beyond the query keyword concept already documented in the schema. The undocumented page and limit parameters are covered only by their defaults and bounds, not by prose. Baseline 3 is appropriate where the schema carries most of the load.

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 ('Find Statistics Norway (SSB) tables by keyword') and immediately scopes the domain to Norwegian official statistics, which separates it from siblings like health_statistics_search, higher_education_tables and eurostat_search. The return contents (table ids, titles, period covered, last updated) make the output shape concrete.

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?

Explicitly positions itself as the entry point ('Start here for any question about Norwegian official statistics') and gives the follow-up route: call statistics_describe_table on a promising table. It does not state exclusions, e.g. that actual figures come from statistics_get_data or statistics_series, so the agent must infer that this tool returns metadata only.

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.