get_forces
Pack: ukpolice · Endpoint: https://gateway.pipeworx.io/ukpolice/mcp
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/get_forces for the schema, then POST the same URL with its arguments for the data.
List all police forces in England, Wales, and Northern Ireland. Returns force ID and name.
Example call
Arguments
{}
curl
curl -X POST https://gateway.pipeworx.io/ukpolice/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_forces","arguments":{}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_forces', {});
Response shape
Always returns: count, forces
| Field | Type | Description |
|---|---|---|
count | number | Total number of police forces |
forces | array | Array of police forces |
Full JSON Schema
{
"type": "object",
"properties": {
"count": {
"type": "number",
"description": "Total number of police forces"
},
"forces": {
"type": "array",
"description": "Array of police forces",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Force ID"
},
"name": {
"type": "string",
"description": "Force name"
}
},
"required": [
"id",
"name"
]
}
}
},
"required": [
"count",
"forces"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"ukpolice": {
"url": "https://gateway.pipeworx.io/ukpolice/mcp"
}
}
}
See Getting Started for client-specific install steps.