how_to_query
Retrieve a registry source's exact endpoint, API type, key requirement and env var, example request, and recommended MCP handoff, with flags for unconfirmed, gated, dead, or undocumented rows.
Instructions
How to get data from one registry source: its endpoint (copied verbatim, never guessed), API type, whether a key is needed and which env var holds it, an example request, and which MCP server to hand off to (the socrata MCP with the right domain, or the matching @betanyc MCP). Flags UNCONFIRMED, undocumented, gated, dead and no-portal rows.
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": "how_to_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | When several rows match: most to list. Default 25 | |
| entity | No | Entity name, e.g. 'NYS Department of Health' | |
| offset | No | When several rows match: skip this many (next_offset) | |
| source_id | No | From find_sources / list_sources_for_place results | |
| registry_id | No | Government body id from BetaNYC/ny-gov-web-registry. Several sources can share one; then the reply lists them |