Montgomery Query
montgomery_queryRun a raw SoQL query against any Montgomery County, MD open-data resource (data.montgomerycountymd.gov) by its Socrata id (8-char like "icn6-v9z3"). Full SoQL: where/select/group/order/limit/offset. Use montgomery_datasets to find a resource id, or montgomery_recent for the common ones.
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": 100,
"where": "status = 'Open'",
"_apiKey": "your-data-montgomery-api-key",
"resource_id": "icn6-v9z3"
},
"name": "montgomery_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | SoQL $group. | |
| limit | No | Max rows (default 100, max 5000). | |
| order | No | SoQL $order. | |
| where | No | SoQL $where filter. | |
| offset | No | Row offset for paging. | |
| select | No | SoQL $select. | |
| _apiKey | No | Optional, your own Socrata app token for higher rate limits. Omit to use the keyless endpoint. | |
| resource_id | Yes | Socrata resource id, e.g. "icn6-v9z3". |