Skip to main content
Glama

search_datasets

Read-only

Find datasets in the open-data catalogue by free-text query in Ukrainian or English when you do not have a dataset_id; get matching IDs, titles, formats, and metadata to guide schema inspection.

Instructions

Find datasets in the open-data catalogue by free text (Ukrainian or English). Use this first, when you do not yet have a dataset_id. Returns up to 20 hits with dataset_id, title, a short description, organization, license, dataset_url, modification date and the formats of the dataset's resources (look for CSV or JSON; spreadsheets and PDFs cannot be queried). It returns no columns or data: next call get_schema with a dataset_id from a hit.

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
limitNoHow many datasets to return, 1-20; larger values are clamped. Default 10.
queryYesFree text matched against titles and descriptions, e.g. 'бюджет 2023' or 'air quality'. Not SQL.

Output Schema

NameRequiredDescriptionDefault
okYes
errorNo
queryNo
portalNo
datasetsNo
returnedNo
limit_appliedNo
retrieved_at_utcNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.3.0
    • changedInput schema / properties / limit / description
      Previous value: -"Max datasets to return (clamped to 20)."New value: +"How many datasets to return, 1-20; larger values are clamped. Default 10."
    • changedInput schema / properties / query / description
      Previous value: -"Search text, Ukrainian or English."New value: +"Free text matched against titles and descriptions, e.g. 'бюджет 2023' or 'air quality'. Not SQL."
  2. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnly, non-destructive and openWorld, so the safety profile is covered. The description goes further with traits annotations cannot express: a 20-hit ceiling, the exact fields returned, the hard constraint that only CSV/JSON resources are queryable (spreadsheets and PDFs are not), and the warning that no columns or data come back.

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?

Five short sentences in a deliberate order: what it does, when to use it, what comes back, the format caveat, then the next step. Front-loaded with purpose and containing no filler; even the caveat about spreadsheets/PDFs earns its place by preventing a wasted downstream call.

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 two-parameter discovery tool in a multi-step workflow, the definition covers entry conditions, result shape, result limits, a filtering constraint and the follow-up call. The listed return fields partially overlap the output schema, but the format caveat adds information an agent could not get from that schema alone.

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% and both parameters are already documented, including the 1-20 clamp and the 'Not SQL' caveat. The description only adds the language hint (Ukrainian or English) and restates the 20-hit cap, so it contributes little beyond the schema – the 3 baseline applies.

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 ('Find datasets in the open-data catalogue') plus the matching method ('free text, Ukrainian or English'), which immediately separates it from get_schema, profile_dataset and query. An agent knows this is the discovery entry point without opening the schema.

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?

It gives explicit ordering ('Use this first, when you do not yet have a dataset_id') and names the exact follow-up ('next call get_schema with a dataset_id from a hit'). The when-to-use condition and the handoff to the sibling are both spelled out rather than implied.

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

Deploy Server

Other Tools