Skip to main content
Glama

Latvia Statistics Catalog Browse

latvia-statistics.reference.catalog
Read-onlyIdempotent

Browse the Central Statistical Bureau of Latvia's statistics database tree by path. Top-level categories: POP (population), EMP (labour market), VES (social security and health), IZG (education, culture and science), VEK (economy), TIR (trade and services), ENT (business), IKT (information technologies), ENV (environment), FIN (indicators of well-being and equality). Returns child nodes (subcategories, type=l) or table descriptors at leaf nodes (type=t). Use empty path '' to get top-level categories. Navigate hierarchically until type=t nodes appear, then use latvia-statistics.table_metadata. Data: data.stat.gov.lv (PXWeb API), no auth required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoHierarchical path through the Latvia statistics taxonomy. Empty '' gets top-level categories. Examples: 'POP' (population), 'EMP' (labour market), 'VES' (social security and health), 'IZG' (education, culture and science), 'VEK' (economy), 'TIR' (trade and services), 'ENT' (business), 'IKT' (information technologies), 'ENV' (environment), 'FIN' (indicators of well-being and equality). Use latvia-statistics.catalog recursively to navigate until type=t (table leaf) nodes appear.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context: it returns child nodes or table descriptors, explains the type=l vs type=t distinction, and identifies the underlying data source (data.stat.gov.lv PXWeb API). This goes beyond the annotations without contradicting them.

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?

The description is compact and front-loaded with the core purpose, then provides the category list, node-type semantics, navigation instructions, and data source in a logical order. Every sentence adds useful information without redundancy.

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

Completeness5/5

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

For a single-parameter browse tool with a rich output schema and full annotation coverage, the description is complete. It covers the entry point, navigation termination condition, next tool to use, and data source/auth status. An agent has everything needed to invoke it correctly.

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

Parameters4/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 documents the path parameter well. The description adds value by explaining the hierarchical navigation pattern, listing example top-level category codes, and clarifying that empty string is valid. This is slightly above the baseline because it gives practical usage context for the single parameter.

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 clearly states the tool browses the Central Statistical Bureau of Latvia's statistics database tree by path, lists top-level categories, and distinguishes between child nodes (type=l) and table descriptors (type=t). It also names the sibling tool latvia-statistics.table_metadata for the next step, making it easy to differentiate from related tools.

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

Usage Guidelines5/5

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

The description explicitly says to use empty path '' for top-level categories, to navigate hierarchically until type=t nodes appear, and then to use latvia-statistics.table_metadata. It also notes no auth is required, giving clear when-to-use and next-step 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.