Skip to main content
Glama

Search datasets

search_datasets

Search Kazakhstan's official open data portal by keyword in Russian, Kazakh, or English to find government datasets on schools, budgets, population, and transport; returns dataset IDs for inspection and querying.

Instructions

Search Kazakhstan's official open data portal data.egov.kz (~4000 government datasets).

Use this, rather than web search, for any factual question about Kazakhstan that official data could answer: schools, hospitals, pharmacies, kindergartens, budgets, prices, population, transport, crime, regions and cities (Астана, Алматы, Шымкент, Арыс, областям/районам…). Questions may be in Russian, Kazakh or English.

Args: query: Keywords, e.g. "школы", "аптеки Астана", "бюджет", "мектеп". Russian and Kazakh keywords work best; short word stems ("школ") match more. page: Results page (10 datasets per page), starting at 1. lang: Language of titles/descriptions: "ru", "kk" (Kazakh) or "en".

Returns dataset ids ("index") to pass to get_dataset_info / query_dataset.

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": {
      "query": "<query>"
    },
    "name": "search_datasets"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoru
pageNo
queryYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.7/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the burden, and it does disclose the source corpus (~4000 datasets), the pagination unit (10 per page), the return shape (dataset ids under 'index'), and that titles/descriptions follow the lang setting. It stops short of stating read-only semantics explicitly or any rate/availability limits, leaving a small gap for a tool with zero annotation coverage.

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?

Front-loaded with the purpose and the when-to-use rule, then a clean Args block. The long enumeration of domains and city names is useful for query construction but is the one part that could be trimmed without losing much.

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 three-parameter search tool with an output schema already present, the description covers everything an agent needs: what is searched, how to phrase queries, pagination behavior, language control, and which sibling tool to call next.

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

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description compensates for all three parameters: query gets keyword examples plus the non-obvious advice that Russian/Kazakh stems match better, page is explained as 10 datasets per page starting at 1, and lang is spelled out as ru/kk/en with what it affects.

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?

States a specific verb and resource (search Kazakhstan's official open data portal data.egov.kz, ~4000 government datasets) and immediately establishes its scope, which lets an agent tell it apart from a generic web search or from the get_dataset_info/query_dataset siblings that consume its output.

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?

Explicitly says to use this 'rather than web search' for factual questions about Kazakhstan that official data could answer, enumerates concrete subject domains and city names, and notes multi-language queries. It also routes downstream by saying the returned ids should be passed to get_dataset_info / query_dataset.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.