Skip to main content
Glama

GIS MCP Server

focal_statistics

Calculate moving window statistics like mean, min, max, or std on raster data. Define window size and optionally save results for geospatial analysis using GIS MCP Server.

Instructions

Compute focal (moving window) statistics on a raster. Args: raster_path: Path to the input raster. statistic: Statistic to compute ('mean', 'min', 'max', 'std'). size: Window size (odd integer). output_path: Optional path to save the result. Returns: Dictionary with status, message, and output path if saved.

Input Schema

NameRequiredDescriptionDefault
output_pathNo
raster_pathYes
sizeNo
statisticYes

Input Schema (JSON Schema)

{ "properties": { "output_path": { "default": null, "title": "Output Path", "type": "string" }, "raster_path": { "title": "Raster Path", "type": "string" }, "size": { "default": 3, "title": "Size", "type": "integer" }, "statistic": { "title": "Statistic", "type": "string" } }, "required": [ "raster_path", "statistic" ], "title": "focal_statisticsArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mahdin75/gis-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server