Spatial analysis
mapscale_analysisRun a spatial analysis on GeoJSON: buffer, aggregate, nearest or intersect. params is the JSON request body for that operation, as documented in the MapScale analysis reference (https://mapscale.io/docs). Requires a secret (sk_) key and an API deployment with the analysis endpoints.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"operation": "<operation>",
"params": "<params>"
},
"name": "mapscale_analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | JSON body for the chosen operation. | |
| operation | Yes | MCP client UTF-8 budget: 512 bytes. |