Skip to main content
Glama
GIS MCP Server
by mahdin75

concat_bands

Stack single-band rasters from a folder into one multi-band raster and save the result to a specified destination.

Instructions

Stack single-band rasters into one multi-band raster.

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": {
      "folder_path": "<folder_path>",
      "destination": "<destination>"
    },
    "name": "concat_bands"
  }
}

Input Schema

NameRequiredDescriptionDefault
destinationYes
folder_pathYes

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 / destination / title
      Removed value: -"Destination"
    • removedInput schema / properties / folder_path / title
      Removed value: -"Folder Path"
    • removedInput schema / title
      Removed value: -"concat_bandsArguments"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "type": "object"
      +}
  3. First observed

TDQS

C2.7/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 burden. It says nothing about band ordering in the output, what happens when input rasters differ in extent, resolution or CRS, whether destination is overwritten, or whether inputs are read from a folder recursively. For a raster-writing operation these are significant undisclosed behaviors.

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?

One short, front-loaded sentence with zero filler or redundancy. It is efficiently written, though its brevity contributes to the specification gaps noted elsewhere rather than resulting from deliberate compression of rich content.

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?

For a two-parameter raster-mosaic operation with no annotations, no output schema and no parameter documentation, the description is too thin. An agent lacks the information needed to construct a correct call or anticipate failure modes such as mismatched grids.

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 two required parameters. The description hints that inputs are 'single-band rasters', which weakly maps to folder_path, but never states that folder_path is a directory of band files or what naming/ordering convention applies. The destination parameter is entirely unexplained, so the description does not compensate for the coverage gap.

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 and transformation: stacking single-band rasters into one multi-band raster. It is clear what the tool produces. It does not distinguish itself from nearby raster siblings such as extract_band or clip_raster_with_shapefile, leaving the agent to infer that this tool is about band composition.

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 statement of when to use this tool, no prerequisites such as matching extent, resolution or CRS, and no mention of alternatives or when-not-to-use. The agent must infer all usage conditions from the single declarative sentence.

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