Skip to main content
Glama
GIS MCP Server
by mahdin75

reproject_raster

Reproject a raster to a target coordinate reference system and save the output, aligning it with other geospatial datasets.

Instructions

Reproject a raster to a target CRS and save the result.

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": {
      "source": "<source>",
      "target_crs": "<target_crs>",
      "destination": "<destination>"
    },
    "name": "reproject_raster"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYes
resamplingNonearest
target_crsYes
destinationYes

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. Changed6 schema fields changedv1.0.0
    • removedInput schema / properties / destination / title
      Removed value: -"Destination"
    • removedInput schema / properties / resampling / title
      Removed value: -"Resampling"
    • removedInput schema / properties / source / title
      Removed value: -"Source"
    • removedInput schema / properties / target_crs / title
      Removed value: -"Target Crs"
    • removedInput schema / title
      Removed value: -"reproject_rasterArguments"
    • 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?

With no annotations, the description carries the full burden. It implies a write to disk ("save the result") but says nothing about overwrite behavior, output format/driver, whether the source file is modified, or what happens on CRS mismatch — all material for a mutating operation.

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?

A single front-loaded sentence with no filler or redundancy. Its brevity is efficient rather than rambling, though it errs toward under-specification given the parameter count.

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 four-parameter, three-required write operation with no annotations, no output schema, and zero schema description coverage, the one-line description is far too thin. An agent lacks enough information to call it correctly without inspecting external documentation.

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% across four parameters, so the description must compensate and largely does not. It vaguely maps "target CRS" and "destination" but never explains the accepted CRS notation (EPSG code vs WKT), path format, or the resampling parameter's meaning and valid values.

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 ("Reproject a raster") plus the side effect of saving to a destination, so the operation is unambiguous. It does not, however, distinguish this from sibling tools like resample_raster or write_raster, which an agent must disambiguate on its own.

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 choose this over resample_raster (which also changes raster geometry) or write_raster, nor any stated preconditions such as needing a known source CRS. The agent is left to infer selection criteria 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.