Skip to main content
Glama

portalsplus__portugal_datasets

Search datasets on the Portuguese national open data portal (dados.gov.pt) by keyword, e.g. query "transportes": dataset titles, descriptions and links to the dataset pages. Published under the portal's open data terms — check each dataset page for its licence. Source: NS Pros Data API portal handler (CKAN). License: Portugal open data terms — free use with attribution (dados.gov.pt).

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": "portalsplus__portugal_datasets"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results, 1-20 (default 5).
queryYesSearch term for this source (see the tool description for what it expects).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does a fair job: it discloses the return payload (dataset titles, descriptions, links to dataset pages), the underlying handler (CKAN), and licence/attribution obligations on result use. It omits rate limits, auth requirements, and whether results are ranked or paginated beyond the limit parameter.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and example are front-loaded, but the licence information is stated twice ('Published under the portal's open data terms — check each dataset page for its licence' and 'License: Portugal open data terms — free use with attribution'), adding redundant boilerplate.

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 simple two-parameter keyword search with no output schema, the description covers the portal identity, expected results, example usage, and licensing. The remaining gap is pagination/result-volume behavior, which is minor given the limit parameter is schema-documented.

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 both parameters are already documented in structured form. The description adds only an illustrative query value ('transportes') and says nothing about limit behavior, defaults, or how query terms are matched, so it does not materially exceed the schema.

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 datasets') scoped to a named national portal (dados.gov.pt) with a concrete example query. The geographic scoping makes it trivially distinguishable from the many sibling *_datasets tools for other jurisdictions.

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 portal name and example query make clear when this tool is the right one (Portuguese national open data) versus the sibling city/country portals. No explicit when-not-to-use statement or alternative suggestion is offered, but the geographic boundary is effectively self-routing.

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.