Skip to main content
Glama

simplify_geometry

Reduce the number of vertices in GeoJSON geometry (Douglas-Peucker algorithm) — e.g. "simplify this polygon", "this shape has too many points", "reduce vertex count for faster rendering". Tolerance in degrees; lower = more detail kept.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
geojsonYes
toleranceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of disclosing behavior. It names the algorithm (Douglas-Peucker), explains the tolerance parameter's effect ('lower = more detail kept'), and notes tolerance is in degrees. This is useful behavioral context beyond what the schema provides. However, it does not explicitly state that the tool returns a new geometry without mutating the input, though this is implicitly understood from typical transformation tools.

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

Conciseness5/5

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

The description is two sentences, with the core purpose in the first sentence and supporting examples and tolerance details in the second. It is front-loaded, uses no filler words, and every clause carries meaningful information. The structure is ideal for quick parsing by an AI agent.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple transformation tool, the description covers the essential aspects: what it does, how the tolerance works, and example use cases. An output schema exists, so the return value is documented elsewhere. The description could be slightly more complete by mentioning that the input is not modified or by specifying the output format, but given the output schema, this is not a major concern. Overall, it is sufficiently complete for its complexity.

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

Parameters4/5

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

The schema has zero description coverage for parameters, so the description must compensate. It explicitly explains the tolerance parameter ('Tolerance in degrees; lower = more detail kept'), which adds significant meaning beyond the schema's bare number type. The geojson parameter is implied by the tool name and description ('GeoJSON geometry'), but the description does not explicitly specify the expected format (e.g., a GeoJSON string). This is a minor gap.

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

Purpose5/5

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

The description clearly states the tool's purpose: 'Reduce the number of vertices in GeoJSON geometry' using the Douglas-Peucker algorithm. It includes concrete example inputs ('simplify this polygon', 'this shape has too many points') that reinforce the intended use, and the verb+resource combination distinguishes it from sibling geometry tools like buffer_geojson or centroids_geojson.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives clear contextual use cases ('reduce vertex count for faster rendering') and example commands that indicate when a user would need this tool. It does not explicitly mention alternatives or when not to use it, but the examples effectively convey the common scenarios. A slight deduction for not naming alternative tools or exclusion criteria.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

B3.3/5.0
Disambiguation2/5

Many assess_* composite tools (datacenter, ev_charging, renewable, telecom, due_diligence) share the same building blocks of grid proximity, land cover, and terrain, making their boundaries fuzzy. assess_property_hazard_x402 also duplicates assess_property_hazard with only a payment-method difference, and bundle_* tools intentionally overlap with the free primitives they replace.

Naming Consistency3/5

There is a mix of verb_noun tools (query_features, geocode_address), noun-first geometry tools (centroids_geojson, envelope_geojson), and inconsistent _geojson suffix usage (buffer_geojson, fix_geometry, geometry_stats). The assess_* and bundle_* prefixes offer some grouping, but no single naming pattern is followed across the set.

Tool Count1/5

With 85 tools, the surface is extreme for an MCP server and far exceeds the typical well-scoped 3-15 range. Many tools are convenience bundles or variants that could be consolidated, making the count a significant usability burden.

Completeness4/5

The toolkit covers a broad range of GIS tasks: format conversions, GeoJSON analysis, FeatureServer query/inspection, geocoding, site assessment, and sharing. Minor gaps exist (e.g., no Excel-to-GeoJSON, no FeatureServer update/delete), but most missing functionality can be worked around by chaining existing tools.