Skip to main content
Glama

Statistics Estonia Macro Economic PxWeb MCP

Query Statistics Estonia table

query_estonia_stat_table
Read-onlyIdempotent

Query observations from any Statistics Estonia PxWeb table by path, with optional dimension filters and latest period count.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "query_estonia_stat_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
filtersNoOptional map of variable code to array of value codes (e.g. {"Kaubagrupp": ["1"]}).
table_pathNoFull PxWeb table path (default "majandus/hinnad/IA001.PX").
latest_periodsNoNumber of most recent time periods to fetch when time filter is omitted (1-24, default 5).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/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 the safety profile is covered. The description adds nothing further — no mention of what a missing/invalid table path yields, how the default path is applied, response shape, or any rate/size limits for wide queries.

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?

A single front-loaded sentence with no filler, correctly leading with the action and resource before the optional modifiers. It is appropriately terse, though the terseness comes at the cost of the guidance noted elsewhere.

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?

For a three-optional-parameter data query with no output schema, the definition leaves the agent guessing about return format and about the interaction between explicit time filters and latest_periods. It is workable but not self-sufficient for correct invocation.

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 the schema already explains filters, table_path, and latest_periods with examples and bounds. The description only restates the same three concepts without adding format or interaction details (e.g., what happens when a time filter is supplied alongside latest_periods).

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 (query) and resource (observations from a PxWeb table) plus the mechanism (table path, optional dimension filters, latest period count). This is clearly distinct from the sibling list/browse/metadata tools, though it never names them explicitly.

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?

Implies the tool is for retrieving data once a table path is known, but gives no guidance on when to prefer it over get_estonia_table_metadata or the browse/list tools, nor that metadata may be needed to discover valid variable and value codes for filters.

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.