Skip to main content
Glama
Portugal Dados.gov Open Data MCP

Portugal Dados.gov Open Data MCP

Search Portugal datasets

search_portugal_datasets
Read-onlyIdempotent

Search Portugal's Dados.gov.pt open data catalog by keyword or tag to find relevant datasets and filter results by tag or page.

Instructions

Search the Portugal Dados.gov.pt national open data catalog (dados.gov.pt) by keyword or tag.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_portugal_datasets"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNoOptional tag slug to filter results.
pageNoPage number starting at 1 (default 1).
queryNoOptional search query (for example "energia", "saude", "economia", or "transportes").
page_sizeNoMaximum datasets per page (default 10).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint and destructiveHint=false, so safety is covered. The description adds genuine context by naming the specific external catalog queried (Dados.gov.pt), but it says nothing about result ordering, pagination limits beyond the schema, or rate behavior on this open-world endpoint.

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?

A single front-loaded sentence with no filler, immediately naming the verb, the target catalog, and the two search modalities. Nothing is redundant or padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description should indicate what a search returns (a list of dataset records with IDs usable by get_portugal_dataset_details), and it does not. For a four-parameter, open-world search tool this leaves a meaningful gap for an agent planning a follow-up call.

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 all four parameters are already documented in the schema, including page, page_size, tag and query with examples. The description only echoes the keyword/tag concepts and adds no new meaning (e.g., whether query and tag combine as AND, or whether an empty search returns everything).

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 states a specific verb ('Search') and resource (the Portugal Dados.gov.pt national open data catalog), and specifies the two search axes: keyword or tag. This clearly distinguishes it from organization-scoped siblings like get_portugal_organization_datasets, though it never names an alternative explicitly.

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

Usage Guidelines3/5

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

Usage is only implied: the agent can infer it should call this when it has a keyword or tag rather than an organization ID. There is no when-to-use/when-not guidance and no mention of when list_portugal_topics or get_portugal_organization_datasets would be the better choice.

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