Skip to main content
Glama
GIS MCP Server
by mahdin75

minimum_rotated_rectangle

Computes the minimum-area rotated rectangle that encloses a geometry, helping you derive oriented bounding boxes and orientation insights for spatial analysis.

Instructions

Get minimum rotated rectangle of 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>"
    },
    "name": "minimum_rotated_rectangle"
  }
}

Input Schema

NameRequiredDescriptionDefault
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. Changed3 schema fields changedv1.0.0
    • removedInput schema / properties / geometry / title
      Removed value: -"Geometry"
    • removedInput schema / title
      Removed value: -"minimum_rotated_rectangleArguments"
    • 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?

No annotations are supplied, so the description carries the full burden, yet it does not say whether this is a pure computation, what output representation is produced (polygon coordinates, GeoJSON, WKT), or whether the input geometry is consumed or mutated. For a geometry-transform tool with zero annotation coverage this is a notable gap.

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. It is appropriately short, though brevity here borders on under-specification rather than genuine economy.

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?

The tool has no output schema, no annotations, and an undocumented input parameter, so the description must explain both input format and return shape; it explains neither. An agent could guess but not reliably invoke this tool from the definition alone.

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?

There is one parameter at 0% schema description coverage, and the description only says it is 'a geometry' without specifying the accepted encoding (GeoJSON string, WKT, coordinate array). With the schema providing no semantic detail, the description should compensate but does not.

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 names a specific geometric operation ('minimum rotated rectangle') applied to a geometry, which is more precise than a generic 'process'. However, it does not distinguish this from adjacent siblings like envelope, convex_hull, or get_bounds, all of which produce related bounding constructs, so an agent must infer the difference.

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 statement of when to use this tool versus alternatives such as envelope (axis-aligned bbox) or convex_hull, and no prerequisites or preconditions are mentioned. The agent is left to infer usage entirely from the name and description.

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