Skip to main content
Glama
This server has been deprecated

Deprecated in favor of fme-mcp: https://github.com/mwjouini/fme-mcp

gis_validate_geometry

Validate GeoJSON geometries for structural completeness and closed rings to catch invalid shapes before spatial analysis or ETL processing.

Instructions

Validate a GeoJSON geometry for structural completeness and closed rings.

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": {
      "geojson_geometry": "<geojson_geometry>"
    },
    "name": "gis_validate_geometry"
  }
}

Input Schema

NameRequiredDescriptionDefault
geojson_geometryYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden, and it does disclose the concrete checks applied (structural completeness, closed rings), which implies a read-only inspection. It does not say what happens when validation fails (error vs. report), which geometry types are accepted, or whether any tolerance/CRS assumptions apply.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler; the resource and the validation criteria are stated immediately. Nothing in the sentence is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values needn't be explained, but with zero annotation coverage and a completely undocumented nested-object parameter, the definition leaves out accepted geometry types, failure behavior, and sibling differentiation. For a validator whose whole value is precision about what it checks, this is a significant gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the single parameter is an untyped object with additionalProperties, so the schema conveys almost nothing. The description does add real meaning by specifying the input must be a GeoJSON geometry (not WKT or a coordinate list), but it does not constrain which geometry types or nesting are valid.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (validate a GeoJSON geometry) and names the checks performed (structural completeness, closed rings). It does not differentiate from the sibling util_validate_coordinates, so an agent cannot tell the two apart from the text alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this versus util_validate_coordinates or the gis_* tools, and no mention of prerequisites, accepted inputs, or when validation should be skipped. The only usage signal is the implicit one carried by the word 'validate'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.