arcgis_victoria_count_records
Pack: arcgis-victoria · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/arcgis_victoria_count_records for the schema, then POST the same URL with its arguments for the data.
Count records in one City of Victoria GIS layer found by NAME, no url needed: “how many parcels”, or counts BY a field such as city (“parcels by city”). layer = name words (“parcels”) or a layer url; where = SQL filter; group_by = a field name or part of one (“city”). If several layers share the name it counts each and picks none; if the word matches several fields it counts by each.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
layer | string | yes | Layer name words, e.g. “parcels”, or a Feature/Map Service layer url. |
where | string | no | SQL where clause to count a subset, e.g. “STATE = ‘CO’”. Default “1=1” (all records). |
group_by | string | no | Field name, or part of one (“city”), to count records by. Omit for one total. |
limit | number | no | Max groups when group_by is set (default 100, max 1000). |
org_id | string | no | Optional ArcGIS orgId to override the default publisher. |
Example call
Arguments
{
"layer": "Public Art, Monuments, Memorials, Plaques"
}
curl
curl -X POST https://gateway.pipeworx.io/arcgis-victoria/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"arcgis_victoria_count_records","arguments":{"layer":"Public Art, Monuments, Memorials, Plaques"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('arcgis_victoria_count_records', {
"layer": "Public Art, Monuments, Memorials, Plaques"
});
Response shape
| Field | Type | Description |
|---|---|---|
layer | string | |
url | string | |
where | string | |
count | number | |
publisher_record_count | number | null | |
several_layers | boolean | |
note | string | |
layers | array | |
counts_by | array |
Full JSON Schema
{
"type": "object",
"properties": {
"layer": {
"type": "string"
},
"url": {
"type": "string"
},
"where": {
"type": "string"
},
"count": {
"type": "number"
},
"publisher_record_count": {
"type": [
"number",
"null"
]
},
"several_layers": {
"type": "boolean"
},
"note": {
"type": "string"
},
"layers": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"counts_by": {
"type": "array",
"items": {
"type": "object",
"properties": {
"field": {
"type": "string"
},
"alias": {
"type": "string"
},
"groups": {
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {},
"count": {
"type": "number"
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the arcgis-victoria pack
{
"mcpServers": {
"arcgis-victoria": {
"url": "https://gateway.pipeworx.io/arcgis-victoria/mcp"
}
}
}
See Getting Started for client-specific install steps.