Skip to main content
Glama
GIS MCP Server
by mahdin75

dissolve_gpd

Merge vector features into unified geometries, optionally grouped by an attribute column, to simplify boundaries and aggregate spatial data for mapping or analysis.

Instructions

Dissolve vector features, optionally grouped by one attribute column.

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": {
      "gdf_path": "<gdf_path>"
    },
    "name": "dissolve_gpd"
  }
}

Input Schema

NameRequiredDescriptionDefault
byNo
offsetNo
columnsNo
gdf_pathYes
precisionNo
output_pathNo
max_featuresNo
include_geometryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.16.0
    • addedInput schema / properties / columns
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • addedInput schema / properties / include_geometry
      Added value: +{
      +  "default": true,
      +  "type": "boolean"
      +}
    • addedInput schema / properties / max_features
      Added value: +{
      +  "default": 5,
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / precision
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "type": "object"
      -}New value: +null
  2. Changed9 schema fields changedv1.0.0
    • addedInput schema / properties / by / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / by / title
      Removed value: -"By"
    • removedInput schema / properties / by / type
      Removed value: -"string"
    • removedInput schema / properties / gdf_path / title
      Removed value: -"Gdf Path"
    • addedInput schema / properties / output_path / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / output_path / title
      Removed value: -"Output Path"
    • removedInput schema / properties / output_path / type
      Removed value: -"string"
    • removedInput schema / title
      Removed value: -"dissolve_gpdArguments"
    • 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 provided, so the description must carry the full behavioral burden, but it only says what the core operation does. It does not disclose whether the input is modified, whether an output file is written, whether output_path is required for persistence, or any permission or performance considerations.

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

Conciseness4/5

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

The definition is a single front-loaded sentence with no filler, so it is concise and structurally clear. Its brevity reflects under-specification rather than wasted wording, which is penalized in other dimensions.

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

Completeness1/5

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

For an eight-parameter geospatial operation with no annotations, no output schema, and zero schema description coverage, the description is far too thin. An agent cannot determine required inputs, output behavior, or the meaning of most parameters 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% for all eight parameters. The description hints that grouping is possible by an attribute column, but it does not clarify the distinct roles of by and columns, or explain offset, precision, max_features, include_geometry, gdf_path, or output_path.

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 states a specific verb and resource: dissolve vector features, with optional attribute grouping. It is readily distinguishable from sibling tools such as merge_gpd or overlay_gpd, though it does not explicitly contrast them.

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?

It does not say when to use dissolve versus related operations like merge_gpd, overlay_gpd, or aggregate-style workflows. There is no guidance on prerequisites, expected input type, or when grouping should be used.

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