Skip to main content
Glama

Hydrata - ANUGA Flood Simulation

Register an uploaded terrain

finalize_terrain_upload

Step 2 of a terrain import: register the PUT GeoTIFF as a Terrain and start the import.

Call this only after the presigned PUT returned 200. Creates the Terrain row (status creating) and queues the import chain — reproject to UTM, publish the layer + hillshade, style — which also seeds the project's six default boundary, friction, inflow, rainfall, building and mesh-region rows. Returns 202 with the terrain record; keep its id for get_terrain. A 400 UPLOAD_NOT_FOUND means no object is at staging_key: the PUT did not land (check its status code and Content-Type) — do not retry finalize until it has.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoTerrain title (default: the filename without .tif)
process_idNo`process_id` returned by presign_terrain_upload (pass it so the upload's progress record is reused; the API tolerates its absence)
project_idYesThe project ID
staging_keyYes`staging_key` returned by presign_terrain_upload

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedOutput schema / properties
      Removed value: -{
      -  "result": {
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "result"
      -]
    • removedOutput schema / x-fastmcp-wrap-result
      Removed value: -true
  2. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.