Skip to main content
Glama

portalsplus__scb_statistics

Search datasets on Statistics Sweden (SCB) PxWeb by keyword, e.g. query "population": dataset titles, descriptions and links to the dataset pages. Published under the portal's open data terms — check each dataset page for its licence. Source: NS Pros Data API portal handler (PxWeb). License: CC BY 4.0 (portal default open licence).

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": "portalsplus__scb_statistics"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results, 1-20 (default 5).
queryYesSearch term for this source (see the tool description for what it expects).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden. It does usefully disclose the return contents and the licensing posture (open data terms, per-dataset licence, CC BY 4.0 default), but says nothing about rate limits, authentication, pagination beyond the schema's limit field, or whether dataset data itself can be fetched.

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

Conciseness3/5

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

The core sentence is front-loaded and informative, but the trailing licence boilerplate ('Published under the portal's open data terms... License: CC BY 4.0') consumes roughly half the text and contributes little to deciding whether or how to call the tool.

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 two-parameter, annotation-free keyword search with no output schema, the description covers source, query semantics, and return contents well enough to call it correctly. Only minor depth items (pagination, result ordering, whether data downloads are possible) are absent.

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

Parameters2/5

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

Schema description coverage is 100%, so both parameters are already documented in the schema; the description only adds an example search term and says nothing about the limit cap of 20 or how results are ordered/truncated. Baseline 3 is not quite earned because the example is thin and adds little beyond the schema's 'search term for this source' wording.

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?

The description opens with a specific verb and resource ('Search datasets on Statistics Sweden (SCB) PxWeb') and names the source portal, which is exactly what distinguishes it from parallel siblings such as cbs_statistics, dst_statistics and ssb_statistics. It also specifies what is returned (titles, descriptions, links to dataset pages).

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

Usage Guidelines3/5

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

It gives an example query ('population') that implies keyword-search usage on SCB, but offers no explicit when-to-use/when-not guidance and does not name any alternative tool or condition for selecting one. Usage is implied rather than stated.

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.