Skip to main content
Glama

Open Data Portals

Portal Dataset

portal_dataset
Read-onlyIdempotent

Metadata for one dataset on a CKAN, Socrata, DKAN, Opendatasoft or ArcGIS Hub portal: description, license, columns where the platform exposes them, and its resources or distributions with download URLs and whether each can be queried through portal_query. Names the platform and the exact upstream URL called.

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": {
      "id": "9cir-efmm",
      "domain": "data.texas.gov"
    },
    "name": "portal_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesDataset id from portal_search_datasets: CKAN id or name, Socrata 4x4 id, DKAN uuid, Opendatasoft dataset_id, ArcGIS Hub item_layer id.
domainYesThe portal hostname, e.g. data.texas.gov, data.medicaid.gov, data.ca.gov, public.opendatasoft.com, hub.arcgis.com. No path.
platformNoOptional. Skip detection when the platform is already known (from portal_detect).

Output Schema

NameRequiredDescriptionDefault
idNo
nameNo
budgetNo
domainNo
columnsNo
platformNo
queryableNo
view_typeNo
asset_typeNo
attributionNo
descriptionNo
download_urlNo
upstream_urlNo
rows_updated_atNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world and non-destructive behavior, so the bar is lower. The description still adds real value by disclosing that column data is only present 'where the platform exposes them' (a partial-data caveat) and that the response names the platform and the exact upstream URL called, which supports provenance checks.

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

Conciseness4/5

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

Two dense sentences with no filler, and the core purpose is front-loaded before the field list and platform enumeration. The second sentence on platform naming and upstream URL is compact and earns its place.

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 three-parameter read tool with full schema coverage, an output schema, and rich annotations, the description covers purpose, returned fields, platform coverage and a partial-data caveat. The only minor gap is the lack of explicit sibling routing, which is largely recoverable from the id parameter's schema text.

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%, so all three parameters are already documented in the schema, including per-platform id formats and the optional platform enum. The description adds no additional parameter-level meaning beyond what the schema provides, making the baseline 3 appropriate.

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+resource ('Metadata for one dataset') and enumerates the exact fields returned (description, license, columns, resources/distributions with download URLs). It names the five supported platforms, which sharpens scope, but it does not explicitly contrast itself with siblings like portal_search_datasets or portal_query beyond a passing reference.

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 implied rather than stated: the id parameter's schema points to portal_search_datasets as the source, and the description notes whether resources 'can be queried through portal_query,' which hints at the follow-up tool. However, there is no explicit when-to-use/when-not-to-use statement or named alternative in the description itself.

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.