Skip to main content
Glama

Open Data Portals

Portal Search Datasets

portal_search_datasets
Read-onlyIdempotent

Search the dataset catalog of any CKAN, Socrata, DKAN, Opendatasoft or ArcGIS Hub portal by domain. Returns id, title, description and resource/download links per dataset, plus the platform and the exact upstream URL called. The id feeds portal_dataset and portal_query. Detects the platform itself if you do not pass one.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "limit": 3,
      "query": "franchise tax",
      "domain": "data.texas.gov"
    },
    "name": "portal_search_datasets"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoDatasets to return, 1-50 (default 10).
queryNoSearch words, e.g. "hospital chargemaster". Empty lists the newest/first datasets.
domainYesThe portal hostname, e.g. data.texas.gov, data.medicaid.gov, data.ca.gov, public.opendatasoft.com, hub.arcgis.com. No path.
offsetNoSkip this many results (default 0).
platformNoOptional. Skip detection when the platform is already known (from portal_detect).

Output Schema

NameRequiredDescriptionDefault
totalNo
budgetNo
domainNo
datasetsNo
platformNo
returnedNo
upstream_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description still adds genuinely useful context beyond that: it enumerates the returned fields (id, title, description, resource links), discloses the platform and the exact upstream URL called, and explains the auto-detection behavior when platform is omitted. Rate limits and pagination limits are not mentioned, but the schema covers limit/offset.

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?

Four short sentences, front-loaded with the verb and scope, followed by return contents, downstream id usage, and detection behavior. Nothing is repeated from structured fields and no sentence is filler.

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

Completeness5/5

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

For a 5-parameter, single-required-parameter search tool with full schema coverage, an output schema, and complete annotations, the description supplies everything an agent needs: scope, return shape, id handoff, and platform detection. No material gaps remain.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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 goes beyond it by explaining the downstream relevance of the id field and the conditional meaning of the platform parameter (skip detection when already known), which is semantic guidance the schema only hints at. It does not elaborate on query or domain syntax beyond what the schema already documents.

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 names a specific verb and resource ("search the dataset catalog") and enumerates the exact portal types in scope (CKAN, Socrata, DKAN, Opendatasoft, ArcGIS Hub). It also positions the tool relative to siblings by stating that the returned id feeds portal_dataset and portal_query, so an agent can place it in a workflow without opening other schemas.

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?

"by domain" plus "Detects the platform itself if you do not pass one" gives clear operational context for the common case, and the id-feeds-siblings sentence signals this is the entry point before detail/query calls. There is no explicit exclusion or statement of when a different tool (e.g. company_register_search) would be preferred, which keeps it below a 5.

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.