Bulgarian National Statistical Institute (НСИ / NSI) — Open Data API. Keyless access to NSI's open datasets via JSON-stat 2.0 format.
Three well-named, read-only tools with clear descriptions and complete input schemas. Tool names follow verb_noun pattern (list_datasets, get_dataset, get_fields). Descriptions are substantive (150 - 200 chars) and explain purpose, prerequisites, and use cases. All parameters have type definitions and descriptions. However, output schemas are not documented, LLMs cannot predict response structure for planning. Error handling is minimal (generic error messages without recovery guidance). No parameter constraints beyond enums for 'lang'. Missing idempotent/readOnly hints in tool metadata.
Fetch a single NSI Bulgaria dataset by numeric id as a JSON-stat 2.0 object (dimensions, categories, and the flat `value` array). Get ids from list_datasets. Example ids: 107 (children in kindergartens by municipality), 242 (aggregate replacement ratio).
Fetch the field/dimension metadata for an NSI dataset (its column codes plus Bulgarian and English names) as parsed CSV rows. Useful for interpreting the dimension codes in a get_dataset response.
List NSI Bulgaria open-data datasets with their numeric id and English (or Bulgarian) name. Each dataset id can be passed to get_dataset for the actual figures. Use the optional `filter` to substring-match dataset names (case-insensitive), e.g. 'population', 'export', 'inflation'.
Output schemas not documented. LLMs cannot predict response structure (JSON-stat 2.0 format, CSV rows, etc.) for downstream planning or field extraction.
Error messages lack recovery guidance. Generic 'NSI: dataset id "X" returned no data' does not tell LLM whether to retry, search for a different ID, or abort.
Tool metadata missing readOnlyHint annotations. All three tools are read-only and idempotent, but this is not declared in the tool definition.
list_datasets lacks pagination. No limit or offset parameters; response count unbounded. Large result sets could exhaust context window.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 69 | 2026-07-28+ | v2 |
Parameter descriptions do not specify format constraints. 'id' parameter accepts numeric strings but no regex pattern or length bounds documented.