Skip to main content
Glama
ny-data-registry-mcp

ny-data-registry-mcp

list_topics

Read-only

Lists shared New York open data topics with dataset and portal counts, optional portal filtering, and crosswalk labels so agents can choose topic IDs for dataset searches.

Instructions

The 24 shared topics for New York open data, with how many datasets and portals each has in the harvested index, and the share of datasets with at least one topic. Topics are built from the categories, tags and departments the portals already use; a dataset can have several. Use a topic id with search_datasets. Also links the crosswalk (each portal label and its topics), published with every index.

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

Input Schema

NameRequiredDescriptionDefault
portalNoCount one portal only: source_id or part of a portal name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds genuine context beyond that: the data comes from a 'harvested index', topics are derived from existing portal labels, a dataset can carry several topics. It does not disclose whether counts reflect the whole index or are narrowed by the portal filter, or how the crosswalk is returned, so the addition is partial.

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?

Front-loaded with the core fact (24 topics plus counts), which is good, but the final sentence ('Also links the crosswalk (each portal label and its topics), published with every index') is grammatically tangled and its meaning is unclear on first read. Information density is high, but some phrasing needs unpacking rather than being immediately actionable.

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 read-only, single-optional-parameter listing tool with no output schema, the description does most of the necessary work by sketching the return contents: topics, dataset/portal counts, a share statistic, and a portal-label crosswalk. The remaining gap is that it never explains the optional portal filter's effect on those aggregates, which is the one behavioral question an agent is likely to have.

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?

There is exactly one optional parameter and schema description coverage is 100%, with the schema already explaining it as 'source_id or part of a portal name'. The description does not mention the portal filter at all and adds no meaning about how it interacts with the reported counts or share statistic. Baseline 3 is appropriate since the schema carries the definition.

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 names a concrete resource and its scope ('The 24 shared topics for New York open data') and enumerates the payload: dataset and portal counts per topic plus the share of datasets with at least one topic. It also explains the derivation ('built from the categories, tags and departments the portals already use') and routes to the sibling that consumes topic ids. It stops short of a clean leading verb, but an agent can still identify this as the topic-enumeration tool distinct from search_datasets.

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?

There is one piece of real routing guidance: 'Use a topic id with search_datasets', which tells the agent this is a lookup step feeding a search. However, nothing says when to call this versus other discovery siblings such as find_sources, list_sources_for_place or registry_info, nor any preconditions or exclusions. Usage is implied rather than stated.

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