Skip to main content
Glama

portalsplus__barcelona_datasets

Search datasets on the Barcelona Open Data portal by keyword, e.g. query "transport": 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: CC BY 4.0 (portal default open licence).

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__barcelona_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

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose what comes back (titles, descriptions, dataset page links) and the underlying handler (CKAN), which helps an agent anticipate result shape and reliability, but it says nothing about authentication, rate limits, ordering, or total-result behavior.

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 clause is front-loaded and clear, but the trailing licensing material is redundant — "check each dataset page for its licence" is immediately followed by "License: CC BY 4.0 (portal default open licence)", which is both repetitive and mildly contradictory.

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 two-parameter, read-only search with no output schema, the definition covers what the tool queries, an example, and what the response contains. Only pagination/ordering and match behavior are absent, which is a small gap at this complexity level.

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 the limit bounds (1-20, default 5) are documented in the schema itself. The description adds a concrete keyword example for `query`, but nothing about matching semantics (substring vs full-text) or the meaning of `limit` beyond what the schema states.

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") bound to a named source (Barcelona Open Data portal) with an example query. The portal name alone separates it from the dozens of sibling *_datasets tools covering 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 Guidelines3/5

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

Usage is only implied: the example (query "transport") and the return description suggest keyword lookup, but there is no statement of when to prefer this over other tools, no note that results are Barcelona-specific, and no exclusions. The licence-check instruction is guidance about downstream use, not about when to call the tool.

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.