Skip to main content
Glama
muend

arcgis-mcp-bridge

project_raster

Reproject raster datasets to a target coordinate reference system. Supports resampling methods (NEAREST, BILINEAR, etc.) to align DEMs, imagery, or classified rasters with a project CRS for overlay, analysis, or export.

Instructions

Reproject a raster dataset into another coordinate reference system using ArcPy ProjectRaster. Use this to align DEMs, imagery, classified rasters, or analysis grids with a project CRS before overlay, map algebra, extraction, or export. Reads in_raster, writes out_raster inside PathGuard allowed roots, and exposes resampling_type and optional cell_size for controlling raster cell interpolation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv0.6.3
    • changedInput schema / $defs / ProjectRasterInput / description
      Previous value: -"Reproject a raster dataset (ProjectRaster)."New value: +"Reproject a raster dataset into a different coordinate system."
    • addedInput schema / $defs / ProjectRasterInput / properties / cell_size / description
      Added value: +"Optional output cell size in target map units. Use None to let ArcPy derive an appropriate cell size from the input raster and projection."
    • addedInput schema / $defs / ProjectRasterInput / properties / in_raster / description
      Added value: +"Absolute path to the input raster dataset to reproject. The path must be inside a configured PathGuard allowed root."
    • addedInput schema / $defs / ProjectRasterInput / properties / out_raster / description
      Added value: +"Absolute output raster path to create in the target coordinate system. The path must be inside a configured PathGuard allowed root; existing outputs require overwrite=true."
    • addedInput schema / $defs / ProjectRasterInput / properties / out_wkid / description
      Added value: +"Target EPSG or Esri WKID for the output raster. Raster cells are projected into this spatial reference using ArcPy ProjectRaster."
    • addedInput schema / $defs / ProjectRasterInput / properties / overwrite / description
      Added value: +"Set true only when replacing an existing output raster is intended."
    • changedInput schema / $defs / ProjectRasterInput / properties / resampling_type / description
      Previous value: -"NEAREST for categorical rasters; BILINEAR/CUBIC for continuous surfaces (DEM, imagery)."New value: +"Resampling method used while projecting raster cells. Use NEAREST for categorical rasters such as land cover or zones; use BILINEAR or CUBIC for continuous surfaces such as DEMs or imagery; use MAJORITY for classified rasters where appropriate."
  2. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

No annotations provided, so description bears full burden. It mentions reading in_raster and writing out_raster within PathGuard allowed roots, and exposes resampling_type and cell_size. However, it omits details on overwrite behavior, error handling, or performance impacts, leaving gaps.

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?

Three sentences: first defines purpose and method, second gives usage context, third lists key parameters and constraints. Efficient, well-structured, no redundancy.

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

Completeness4/5

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

Given the rich schema and presence of an output schema, the description covers essential usage and constraints. It misses mention of required out_wkid and overwrite behavior, but these are in the schema, so completeness is adequate.

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?

The input schema includes detailed descriptions for all parameters, so the description's mention of resampling_type and cell_size adds little new value. With high schema coverage, baseline 3 is appropriate.

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

Purpose5/5

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

The description clearly states the tool reprojects a raster dataset into another CRS, using ArcPy ProjectRaster. It provides specific use cases like aligning DEMs and imagery, which distinguishes it from vector projection or resampling tools among siblings.

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

Usage Guidelines4/5

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

The description advises use before overlay, map algebra, extraction, or export, giving clear context. It implicitly excludes vector use but does not explicitly contrast with alternatives like resample_raster, which could refine guidance.

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

Deploy Server

Other Tools