Skip to main content
Glama

Central Statistical Bureau of Latvia PxWeb MCP

Get Latvia CSB table schema

get_latvia_table_schema
Read-onlyIdempotent

Inspect variable codes, labels, and available time periods for any Latvia CSB PxWeb table (defaults to annual GDP table "VEK/IK/IKP/IKP010").

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

Input Schema

NameRequiredDescriptionDefault
table_pathNoFull table path under OSP_PUB/START (defaults to "VEK/IK/IKP/IKP010").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered. The description adds real value by disclosing what the call reveals (variable codes, labels, available time periods) and that the table argument is optional with a concrete default. It says nothing about response size or rate limits, but for a read-only metadata call that is minor.

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 names what is inspected and folds the default into a compact parenthetical. Every clause earns its place with no filler.

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 one-optional-parameter read tool with full schema coverage and complete annotations, the description tells the agent enough to call it correctly. The only gap is that it does not point at the sibling tools that produce valid table paths for non-default tables.

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 coverage is 100% and the single optional parameter is fully documented in the input schema, including the default and the OSP_PUB/START prefix. The description only restates the default table, adding no new semantics, so the baseline of 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?

The description states a specific verb (inspect) and resource (variable codes, labels, time periods for a Latvia CSB PxWeb table), which clearly separates it from siblings like search_latvia_csb_datasets or query_latvia_macro_series. It stops short of an explicit contrast with those siblings, but the operation is unambiguous.

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?

The phrase 'for any Latvia CSB PxWeb table' with a stated default implies this is a discovery step, but the description never says when to prefer it over query_latvia_macro_series or how to obtain a non-default table path. Usage is implied rather than prescribed.

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.