Skip to main content
Glama

Search Datasets

search_datasets
Read-onlyIdempotent

Search datasets on dados.gov.pt, Portugal's national open data portal (Portuguese government open data). Returns matching datasets with title, description, publishing organization, and downloadable-resource counts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo1-based page number (default 1).
sortNoSort order, e.g. '-created' (newest), '-reuses' (most reused).
queryNoFull-text search terms (Portuguese or English).
page_sizeNoResults per page, 1-50 (default 20).

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already establish that the tool is read-only, idempotent, and non-destructive, so the safety burden is covered. The description adds useful behavioral context by specifying the kinds of fields returned (title, description, publishing organization, downloadable-resource counts), which helps because there is no output schema. It does not disclose pagination or portal-specific quirks, but the annotation coverage keeps this at a solid 3.

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?

The description is two tight sentences with no filler. It front-loads the portal scope and then delivers the return-field summary. Every sentence adds substantive information, making it an efficiently structured definition.

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 search tool with fully documented optional parameters and strong safety annotations, the description is nearly complete: it identifies the exact portal, the multilingual query nature, and the key return fields. The lack of an output schema is partially mitigated by the return-field list, but the description does not specify the response shape or how to distinguish this tool from the dataset-related siblings. That small gap keeps it from a 5.

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%: page, sort, query, and page_size all have inline descriptions. The tool description adds overall context (the Portuguese open data portal) but no additional parameter-level meaning beyond what the schema already provides. The baseline of 3 applies because the schema carries the full parameter-documentation burden.

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 clearly identifies the action ('Search') and the resource ('datasets on dados.gov.pt'), and it adds valuable output detail by listing the fields returned. However, it does not explicitly contrast this tool with sibling tools like get_dataset or recent_datasets, so it lacks the explicit differentiation that would justify a 5.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives such as get_dataset for retrieving a specific known dataset or recent_datasets for seeing new additions. An agent must infer usage from the name and sibling list, with no explicit when-to-use or when-not-to-use direction.

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.