Skip to main content
Glama

geometry-centroid

Calculate the centroid of a geometry using WKT format. This tool integrates with the PostGIS MCP Server to provide precise spatial database functionality for geographic analysis and mapping.

Instructions

Geometrinin merkez noktasını bul

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
geometry_wktYesWKT formatında geometri

Implementation Reference

  • Zod input schema for the geometry-centroid tool, defining the expected input parameter 'geometry_wkt'.
    const GeometryCentroidSchema = z.object({ geometry_wkt: z.string(), });
  • server.ts:808-821 (registration)
    Tool registration in the ListToolsRequestSchema response, listing 'geometry-centroid' with its description and input schema.
    { name: "geometry-centroid", description: "Geometrinin merkez noktasını bul", inputSchema: { type: "object", properties: { geometry_wkt: { type: "string", description: "WKT formatında geometri", }, }, required: ["geometry_wkt"], }, },

Latest Blog Posts

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/receptopalak/postgis-mcp'

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