Skip to main content
Glama

Statistics Iceland Macro Economic PxWeb MCP

Query Statistics Iceland macro table

query_iceland_macro_table
Read-onlyIdempotent

Execute a structured PxWeb JSON query against any Statistics Iceland .px table using variable codes returned by get_iceland_table_metadata.

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": {
      "table_path": "<table_path>",
      "filters": "<filters>"
    },
    "name": "query_iceland_macro_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
filtersYesArray of PxWeb variable filter objects.
max_rowsNoMaximum observation rows to return (default 50, max 200).
table_pathYesFull .px table path (e.g. "Efnahagur/visitolur/1_vnv/1_vnv/VIS01000.px").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds useful context that it hits arbitrary .px tables and depends on metadata-supplied codes, but says nothing about truncation via max_rows, response shape, or performance/rate limits on open-world queries.

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?

A single front-loaded sentence with no filler; the prerequisite is stated inline where it is immediately relevant. Nothing is wasted or restated from the name.

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

Completeness3/5

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

Schema and annotations are rich, so most of the call contract is covered elsewhere. However, with no output schema the description never characterizes what a PxWeb response looks like or how max_rows truncation manifests, which matters for a generic open-world query tool.

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 100%, so codes, filters, values, max_rows and table_path are already documented in the schema. The description only reinforces that codes originate from get_iceland_table_metadata, adding marginal meaning beyond the structured fields; baseline 3 applies.

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

Purpose4/5

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

States a specific verb and resource: executes a structured PxWeb JSON query against Statistics Iceland .px tables. The 'any .px table' phrasing implicitly distinguishes it from the narrower query_iceland_cpi_series, but no sibling is named directly, so differentiation is inferred rather than explicit.

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?

Establishes a clear prerequisite workflow: variable codes must come from get_iceland_table_metadata, which routes the agent to the correct sibling first. It does not state when to prefer this over query_iceland_cpi_series or list exclusions, so it stops short of full when/when-not guidance.

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.