Skip to main content
Glama
GIS MCP Server
by mahdin75

rotate_geometry

Rotate a geometry by a specified angle around a chosen origin to change its orientation for mapping or spatial analysis.

Instructions

Rotate 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>",
      "angle": "<angle>"
    },
    "name": "rotate_geometry"
  }
}

Input Schema

NameRequiredDescriptionDefault
angleYes
originNocenter
geometryYes
use_radiansNo

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 / angle / title
      Removed value: -"Angle"
    • removedInput schema / properties / geometry / title
      Removed value: -"Geometry"
    • removedInput schema / properties / origin / title
      Removed value: -"Origin"
    • removedInput schema / properties / use_radians / title
      Removed value: -"Use Radians"
    • removedInput schema / title
      Removed value: -"rotate_geometryArguments"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "type": "object"
      +}
  3. First observed

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does not say whether the input geometry is mutated or a new geometry is returned, how the origin default behaves, or whether rotation is planar or coordinate-system aware.

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

Conciseness3/5

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

The single sentence is front-loaded and contains no wasted wording. However, it is so terse relative to the tool's four parameters that concision becomes under-specification.

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?

With four parameters, no annotations, no output schema, and zero schema descriptions, the definition is not complete enough for reliable invocation. Essential details about units, origin behavior, and return semantics are missing.

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%, and the description adds meaning only for the generic idea of geometry and rotation. It does not explain angle units, allowed origin values, or the effect of use_radians, leaving all four parameters semantically underdocumented.

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: rotate a geometry. It is clear what operation is performed, but it does not distinguish this tool from sibling transformations such as scale_geometry, translate_geometry, or project_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 prerequisites, and no comparison to alternatives. An agent must infer entirely on its own when rotation is the right operation versus another geometry transform.

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