Skip to main content
Glama
GIS MCP Server
by mahdin75

symmetric_difference

Compute the symmetric difference between two geometries to return the areas present in either input but not both.

Instructions

Find symmetric difference between geometries.

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": {
      "geometry1": "<geometry1>",
      "geometry2": "<geometry2>"
    },
    "name": "symmetric_difference"
  }
}

Input Schema

NameRequiredDescriptionDefault
geometry1Yes
geometry2Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.16.0
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "type": "object"
      -}New value: +null
  2. Changed4 schema fields changedv1.0.0
    • removedInput schema / properties / geometry1 / title
      Removed value: -"Geometry1"
    • removedInput schema / properties / geometry2 / title
      Removed value: -"Geometry2"
    • removedInput schema / title
      Removed value: -"symmetric_differenceArguments"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "type": "object"
      +}
  3. First observed

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and discloses almost nothing. It does not state the accepted geometry formats, whether the operation is order-independent (a key property of symmetric difference), whether invalid geometries raise errors, or what the return value looks like.

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

Conciseness3/5

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

The single sentence is efficient and front-loaded with the operation, with no wasted wording. Its brevity, however, comes at the cost of under-specification rather than being a virtue of conciseness.

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?

With no output schema, no annotations, and zero parameter documentation, the description is the only source of information and it is far too thin. An agent cannot determine input format, error behavior, or return shape from this definition.

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

Parameters2/5

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

Schema description coverage is 0% and both parameters are bare strings with no documentation. The description does not compensate by specifying whether geometry1/geometry2 are WKT, GeoJSON, or another representation, leaving a real ambiguity for the caller.

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?

The description names a specific operation (symmetric difference) on a specific resource (geometries), which is clearly distinct from a generic 'process' style name. However, it does not distinguish itself from the sibling 'difference' tool, which an agent could easily confuse with it.

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 instead of the sibling 'difference' tool, and no mention of prerequisites or input requirements. The agent is left to infer the distinction from the name alone.

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