Skip to main content
Glama

Search Datasets

search_datasets
Read-onlyIdempotent

Search Bahrain government open data for datasets by keyword (population, census, education, GDP, labor market, industry). Returns dataset_ids (pass to query/dataset_info), titles and record counts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax datasets (1-100, default 20).
queryNoKeyword(s) to search dataset titles/descriptions, e.g. "population".
offsetNoPagination offset (default 0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is known. The description adds value by noting the data is 'open' (suggesting no auth needed) and by clarifying the output is meant to be passed to query/dataset_info, which is useful workflow context beyond the annotations.

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?

One compact sentence front-loads the action and resource, then provides keyword examples and output expectations. Every word earns its place, and there is no repetition of schema content.

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 3-parameter tool with rich annotations, the description is sufficiently complete: it covers purpose, output contents, and downstream usage. Pagination details are already in the schema (limit/offset), so the only minor gap is not explicitly discussing when to use search_within instead, but that is not required for correctness.

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%, so the baseline is 3. The description enriches the query parameter by listing relevant keyword examples (population, census, education, etc.), but it does not add further meaning to limit/offset beyond what the schema already states. Thus it meets the baseline but does not substantially exceed it.

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 uses a specific verb ('Search'), a specific resource ('Bahrain government open data'), and a clear scope ('datasets by keyword'), plus lists example keywords. It also states the output (dataset_ids, titles, record counts) and which tools to use the results with (query/dataset_info), making its role in the pipeline unambiguous and effectively distinguishing it from sibling search tools like search_within.

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

Usage Guidelines4/5

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

The description clearly implies when to use this tool – when you need to discover Bahrain government datasets via keywords and obtain IDs for downstream query/dataset_info. However, it does not explicitly name alternatives or state when not to use it, so it stops short of full exclusion 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.