Skip to main content
Glama
GIS MCP Server
by mahdin75

translate_geometry

Shift a geometry by x, y, and z offsets to reposition spatial data.

Instructions

Translate a geometry.

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": {
      "geometry": "<geometry>",
      "xoff": "<xoff>",
      "yoff": "<yoff>"
    },
    "name": "translate_geometry"
  }
}

Input Schema

NameRequiredDescriptionDefault
xoffYes
yoffYes
zoffNo
geometryYes

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 / geometry / title
      Removed value: -"Geometry"
    • removedInput schema / properties / xoff / title
      Removed value: -"Xoff"
    • removedInput schema / properties / yoff / title
      Removed value: -"Yoff"
    • removedInput schema / properties / zoff / title
      Removed value: -"Zoff"
    • removedInput schema / title
      Removed value: -"translate_geometryArguments"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "type": "object"
      +}
  3. First observed

TDQS

D1.8/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses nothing beyond the name. It does not say whether the input geometry is mutated or a new geometry is returned, what the offset units are, what happens to the z coordinate when omitted, or whether errors are raised for out-of-range values.

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

Conciseness2/5

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

The single sentence contains no filler, but it is under-specified rather than concise; there is no structure or front-loaded detail because there is effectively no content beyond the title restated.

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 a four-parameter geometry transformation with no annotations and no output schema, the description supplies nothing an agent needs: no input format, no offset semantics, no return value, and no relationship to the many nearby transform siblings.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across four parameters, and the description adds no meaning to any of them. It never states that xoff/yoff/zoff are coordinate displacements (in what units or CRS), nor what format `geometry` accepts — a GeoJSON string, WKT, or something else — leaving the only required string parameter entirely undefined.

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

Purpose3/5

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

"Translate a geometry" names a verb and a resource, but 'translate' is ambiguous on its own — it could mean coordinate offsetting, CRS reprojection, or format conversion. Only the presence of xoff/yoff/zoff in the schema disambiguates it toward coordinate offsetting; the description itself does not distinguish this from siblings like project_geometry or rotate_geometry.

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 when-to-use guidance, no mention of when to prefer project_geometry or rotate_geometry instead, and no stated preconditions. The agent must infer everything from the name and the sibling list.

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