Skip to main content
Glama

EasyTerritory MCP

import_geojson

[Tier 2 — Project reopen] Import a GeoJSON FeatureCollection (standard points or an export_geojson artifact, including gzip/zip). Returns ts_handle + summary — pass ts_handle to get_map_visualization / analyze / export_geojson next; do not repost the GeoJSON body. Arbitrary territory polygons WITHOUT part_ids are rejected (TERRITORY_POLYGONS_WITHOUT_PART_IDS) unless you explicitly pass part_layer plus overlay_policy="centroid_within" to assign parts whose centroids fall inside each polygon. Optional: point_layer (name for imported points), tal_label. Supply geojson (object), geojson_text (JSON or sniffed gzip/zip), or geojson_gzip (base64 gzip/zip). An EasyTerritory Designer rolodex project arrives here too: GET Designer REST/Agent/Projects (list) then GET .../Projects/{projectId}/TerritorySolution with the user's ezt_pat_ Bearer, and pass the (gzipped) file as geojson_gzip. There is no MCP pull tool (ezt://guidance/workflows/pull-from-designer).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
geojsonNo
tal_labelNo
part_layerNo
point_layerNo
geojson_gzipNo
geojson_textNo
overlay_policyNo
guidance_handleNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so richly: it discloses the return shape (ts_handle + summary), the downstream contract, the error code for a failure mode, and the auth requirement (ezt_pat_ Bearer) for the Designer case. It even notes the absence of an MCP pull tool.

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?

Front-loaded with purpose, return value, and next step before the edge cases, so an agent gets the essentials first. It is dense and long, but nearly every sentence carries actionable information rather than filler.

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

Completeness5/5

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

Complete for a multi-input import tool: input encodings, rejection rules, follow-on usage, and auth are all covered. The presence of an output schema is not relied upon since the description still clarifies the ts_handle handoff.

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?

With 0% schema coverage across 8 params, the description compensates substantially: geojson, geojson_text (sniffed gzip/zip), geojson_gzip (base64), part_layer, overlay_policy, point_layer, and tal_label are all explained. Only guidance_handle is left undocumented, so it is strong but not exhaustive.

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?

States a specific verb (import) and resource (GeoJSON FeatureCollection), and immediately delineates the accepted input variants (standard points, export_geojson artifact, gzip/zip). It is clearly distinguishable from siblings like export_geojson.

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

Usage Guidelines5/5

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

Explicitly routes the agent to follow-on tools (get_map_visualization/analyze/export_geojson via ts_handle) and warns against reposting the GeoJSON body. It also states the exact rejection condition (TERRITORY_POLYGONS_WITHOUT_PART_IDS) and the workaround (part_layer + overlay_policy='centroid_within'), plus the Designer rolodex path.

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.

Resources