Skip to main content
Glama
GIS MCP Server
by mahdin75

scale_geometry

Scales a geometry by given x and y factors, optionally around a specified origin, to resize spatial shapes for GIS analysis.

Instructions

Scale 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>",
      "xfact": "<xfact>",
      "yfact": "<yfact>"
    },
    "name": "scale_geometry"
  }
}

Input Schema

NameRequiredDescriptionDefault
xfactYes
yfactYes
originNocenter
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 / origin / title
      Removed value: -"Origin"
    • removedInput schema / properties / xfact / title
      Removed value: -"Xfact"
    • removedInput schema / properties / yfact / title
      Removed value: -"Yfact"
    • removedInput schema / title
      Removed value: -"scale_geometryArguments"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "type": "object"
      +}
  3. First observed

TDQS

D1.8/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 burden and discloses almost nothing: it does not say whether the input geometry is mutated or a new geometry is returned, what the origin parameter controls, or whether there are constraints on the factors. A bare "scale" verb is the only behavioral signal.

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?

It is a single short sentence, so there is no wasted wording, but the brevity is under-specification rather than conciseness. There is nothing to front-load because no substantive information is present.

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?

A 4-parameter mutation-style tool with no annotations, no output schema, and 0% schema coverage needs the description to explain behavior and parameters. This definition supplies none of that, leaving an agent unable to call it correctly.

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 4 parameters, and the description does not explain xfact/yfact (per-axis multipliers? ratios?), geometry (GeoJSON string? WKT?), or the origin semantics and its "center" default. It adds no meaning beyond the bare parameter names.

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

Purpose2/5

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

"Scale a geometry" simply spells out the tool name scale_geometry without adding scope, units, or differentiation from siblings such as rotate_geometry, translate_geometry, or project_geometry. It is effectively a tautology that restates the name.

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 guidance on when to use this versus the other geometry transforms, no prerequisites, and no note on what scaling means in this context (uniform vs anisotropic, coordinate space). The only implied usage comes from the verb itself.

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