L'Atlas / Serveurs MCP / EasyTerritory MCP
Serveur MCP

EasyTerritory MCP

ai.easyterritory/ezt-mcp

Serveur MCP OK 59 outils

Faire examiner Voir les tarifs

Build, balance, realign and analyze sales/service territories; geocode, route, schedule, live map.

Fiche technique

Auteur
easyterritory.ai (espace de noms du registre)
Dépôt
—
Site
easyterritory.ai
Version
0.1.0
Transport
Streamable HTTP
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://mcp.easyterritory.ai/ Streamable HTTP en-tête requis : Authorization
Outils
59
Catégories
Commerce et marketing, Cartes, lieux et météo
Dernière mise à jour
29 sept. 2026
Publication
29 sept. 2026

Auteur vérifié et popularité

Fiche pas encore revendiquée. C’est votre projet ? Revendiquez-la

Pas « Populaire » pour l’instant Retiré tout seul dès que les critères ne sont plus remplis.

  • Visiteurs distincts de la fiche sur 30 jours : 3 (il en faut 30) pas encore
  • ou configurations d’installation copiées sur 30 jours : 0 (il en faut 5) pas encore
  • et un test réussi de moins de 14 jours : testé le 28 nov. 2026 rempli

Badge à jour tout seul. Toujours « testé le … », jamais « certifié ». Comment ça marche

MarkdownREADME.md
[![Statut sur L’Atlas](https://latlas.dev/badge/statut/mcp/ai.easyterritory/ezt-mcp.svg)](https://latlas.dev/mcp/ai.easyterritory/ezt-mcp)
HTML
<a href="https://latlas.dev/mcp/ai.easyterritory/ezt-mcp"><img src="https://latlas.dev/badge/statut/mcp/ai.easyterritory/ezt-mcp.svg" alt="Statut sur L’Atlas" height="20"></a>

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/ai.easyterritory/ezt-mcp.svg)](https://latlas.dev/mcp/ai.easyterritory/ezt-mcp)
HTML
<a href="https://latlas.dev/mcp/ai.easyterritory/ezt-mcp"><img src="https://latlas.dev/badge/fiche/ai.easyterritory/ezt-mcp.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://mcp.easyterritory.ai/
Dernier résultat
OK 28 nov. 2026, 07:49
Temps de réponse
1 414 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
ezt-mcp 0.2.7
Outils
59

Historique

DateRésultatRéponseOutils
28 nov. 2026, 07:49OK1 414 ms59

Outils exposés (59, réponse à tools/list, 28 nov. 2026)

get_map_visualization

Open Map

Opens the interactive territory map (Map Component) and returns map_url and map_session_id. Opens a blank map, or shows the latest state of an existing Territory Solution (e.g. yesterday's work) from ts_handle or a completed job_id. Idempotent per user_id: a second call returns the same map. new_project=true replaces the open workspace with an empty project. theme: dark | light (basemap and UI style; default dark). presentation.view_name: empty | points_only | review | selection. Apps-capable hosts render the map in chat (ui://easyterritory/map-viewer); other clients open map_url in a browser. Later map tools take map_session_id. ensure_map_viewer reports when the person has the map open.

ParamètreTypeRequisDescription
modestringnonview — read-only map review/share/verification, no selection commits. select — allows transient local selection and committed selection events.
active_tal_idstring | nullnonAlignment to show as active.
themestring | nullnonMap Component basemap and UI theme ('dark' or 'light'; default 'dark').
presentationobject | nullnon
expiry_secondsinteger | nullnonRequested session TTL in seconds. Server may cap at policy maximum.
interaction_flagsobject | nullnonOnly meaningful in select mode.
job_idstring | nullnontask_id (same value as job_id) of a completed build or ingest task; its Territory Solution is the input.
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
user_idstring | nullnonStable caller id; a second call with the same user_id returns the same map.
new_projectbooleannonStart a fresh map session (session_exists=false) instead of reusing the caller's open workspace. Without ts, ts_handle, or job_id, opens an empty project; with a TS source, opens that Territory Solution on a new session without carrying over prior routes, overlays, or analysis panels. Omitted empty…

get_guidance

Get Startup Guidance

Returns the EZT MCP operating guide: the cross-tool workflow order and shared rules (result.text, same text as the server instructions), result.server_version, and result.seat for the caller's key (plan standard|trial, key_expires_at, and quota_remaining for geocoding, routing, and isochrone requests). Read-only. Useful at the start of a session or for a host that does not show server instructions.

Aucun paramètre.

discover_intent

Discover Workflow Intent

Maps a free-text territory request to a workflow. Read-only keyword routing; no compute. Returns intent_category, the recommended tool order, the main tool (tier1_tool, null when the request is ambiguous) and alternatives, required_inputs, clarifying_questions for missing inputs, and the workflow guide inline as guidance {uri, title, excerpt}. Covers building territories (auto_build, account_build, direct_build, cluster_points, seed_build), editing (realign, split, merge, rebalance), analyze, geocoding and ingest, showing a ZIP or part layer, routes, drive-time areas (isochrone_build), recurring visit schedules (schedule_visits), contractor coverage gaps (analyze_network_coverage), listing points in a territory (points_in_territory), and moving a Territory Solution to or from EasyTerritory Designer.

ParamètreTypeRequisDescription
user_requeststringouiThe raw natural-language request to classify.
contextobject | nullnonOptional state flags that tailor the recommended workflow.

workflow_advisor

Get Next Workflow Step

Returns the next tool call for a multi-step workflow, given where the workflow stands. Read-only state machine; executes nothing. intent_category: build_from_accounts | account_grouping | known_assignments | realign_existing | restructure | load_part_layer | route_stops | reachable_area | periodic_scheduling | coverage_gap_analysis | points_in_territory. state: viewer_connected, point_layer, part_layer, tal_present, analysis_fresh, plus selection/realign or restructure flags. inputs: the values known so far (part_layer, territory_count, tal_id, operation, route_type, origins, visit_frequency_field, ...); missing_inputs names the keys still needed. Returns next_tool with drafted next_args, missing_inputs (reported, never invented), blocked_by, remaining_steps, and the workflow guide inline as guidance. Order rules applied: map before compute, viewer connected before compute, ingest before build, analyze after an edit when a point layer exists. Calling it after each step with the updated state walks the whole workflow.

ParamètreTypeRequisDescription
intent_categorystringouibuild_from_accounts | account_grouping | point_clustering | known_assignments | realign_existing | restructure | delete_territory | load_part_layer | reachable_area | seed_growth | coverage_gap_analysis | route_stops | routes_layer | delete_route | delete_point_layer | points_in_territory | periodi…
stateobject | nullnonAgent-supplied workflow state; all keys optional and default to 'not done yet'.
inputsobject | nullnonOptional plan parameters used to draft next_args.

ep_search

Search Expert Pack

Semantic search over the EZT MCP Expert Pack (EMEP): workflow guidance, concepts, interfaces, and common mistakes. Returns ranked markdown chunks with source files; atoms pulled in via `requires` are flagged requires_expanded. Degrades to the ezt://guidance/... resources if retrieval is unavailable. Examples: 'build balanced territories from accounts', 'viewer not connected before compute', 'auto_build vs account_build'.

ParamètreTypeRequisDescription
querystringoui
typestring | nullnon
tagsarray<string> | nullnon
max_resultsintegernon

ep_list_topics

List Expert Pack Topics

Lists EMEP topics grouped by type (concept, workflow, interface, troubleshooting, decision). Optional `type` filter.

ParamètreTypeRequisDescription
typestring | nullnon

ep_graph_traverse

Traverse Expert Pack Links

Traverses the EMEP knowledge graph from a topic file (e.g. 'workflows/realign-by-selection.md') to related guidance, up to `depth` hops. Returns no edges unless the pack ships a _graph.yaml.

ParamètreTypeRequisDescription
file_pathstringoui
depthintegernon
edge_kindsarray<string> | nullnon

ensure_map_viewer

Wait for Map Viewer

Reports whether the person has the map open (viewer_status.connected) for a map_session_id from get_map_visualization, waiting up to wait_seconds (max 30 s per call; the result reports requested_wait_seconds and max_wait_seconds). Works the same for the in-chat map and the map_url tab. Returns VIEWER_NOT_CONNECTED while the map is still closed; the same call can be repeated while the person opens it. Build, analyze, and selection results paint live once the viewer is connected.

ParamètreTypeRequisDescription
map_session_idstringouiOpen map session (msess_...) from get_map_visualization.
wait_secondsnumbernonOptional server-side wait window. 0 returns the current snapshot only. Values above 30 are clamped to 30 s per call; on VIEWER_NOT_CONNECTED the error details carry requested_wait_seconds, max_wait_seconds, and next_call (call again).
poll_interval_msintegernon

submit_feedback

Submit Feedback

Sends product feedback to EasyTerritory: a blocked or partial workflow, a workaround, a confusing response, or a missing capability. Returns an acknowledgement with feedback_id. Secrets, emails, Territory Solution JSON, GeoJSON, and account/CSV tables are stripped before storage; the text is meant for a description of what happened, not data.

ParamètreTypeRequisDescription
user_goalstringouiWhat the user was trying to accomplish, sanitized.
what_happenedstringouiWhere the agent struggled, failed, found confusing results, or used a workaround.
categorynon
severitynon
expected_capabilitystring | nullnon
suggested_improvementstring | nullnon
related_toolstring | nullnon
related_product_areanullnon
confidencenon
include_contextbooleannon
context_summarystring | nullnonOptional sanitized summary only. Excludes credentials, API keys, raw customer data, private territory assignments, and PII.
client_namestring | nullnon
client_versionstring | nullnon
session_idstring | nullnonClient session id, if the host has one.
correlation_idstring | nullnontask_id, job_id, or request id the feedback is about.

list_part_layers

List Part Layers

Returns the available canonical part layers for territory construction (for example us_zips, us_counties, ca_fsa, and active country postal or administrative polygon layers), with the same metadata as ezt://part-layers: part_layer, label, description, country_codes, admin_levels, part_count, id_format, example_part_ids, capabilities, data_version, and updated_at. Optional part_layer returns detailed metadata for one layer (bbox, aliases, supported_admin1, source_name, source_vintage, id_format_notes) or UNKNOWN_PART_LAYER. Optional country_code filters by 2-letter ISO country code. Read-only.

ParamètreTypeRequisDescription
part_layerstring | nullnonOptional canonical part layer identifier (for example us_zips, us_counties, ca_fsa, uk_areas, germany_postal) to fetch detailed metadata for one layer.
country_codestring | nullnonOptional 2-letter ISO 3166-1 alpha-2 country code (for example US, CA, GB, DE) to filter the returned part layers.

query_parts

Query Territory Parts

Returns attributes (no geometry) for parts of a part layer listed by list_part_layers or ezt://part-layers. Takes exactly one of filter (e.g. {state_abbr: TX}) or part_ids; neither or both returns INVALID_REQUEST. Paged with page_token. TAL membership (each needs map_session_id or ts_handle inside): filter.in_tal {tal_id, territory_ids?} keeps only the parts that TAL assigns (its whole footprint, however many separate regions; territory_ids narrows to those territories and everything under them); filter.not_in_tal {tal_id} drops that TAL's parts (white space), e.g. {state_abbr: TX, not_in_tal: {...}}. Both AND with other predicates. total_count is the set size. Build from it with the same part_filter.

ParamètreTypeRequisDescription
part_layerstringouiRequired part layer identifier, e.g. 'us_zips'.
filterobject | nullnonAttribute/text/range/spatial/in_tal/not_in_tal filter. Mutually exclusive with top-level part_ids.
part_idsarray<string> | nullnonExplicit list of part IDs. Mutually exclusive with filter. Useful for validation or enrichment.
page_tokenstring | nullnonPagination token from a previous response.
max_resultsintegernonMaximum results per page. Server may enforce lower limits.

direct_build

Build Territories from Assignments

Builds territories from known part-to-territory assignments (a ZIP-to-territory sheet or file, including a three-level region/district/territory hierarchy via territory_path) and adds them to the Territory Solution as a new alignment (TAL). Assignments come only as an assignments_handle (aup_...) from request_assignment_upload (the file, csv_text, or assignment rows). Sheets with Postal Code plus Territory/Region/Division columns are mapped automatically. Duplicate part_ids follow duplicate_part_policy (default keep_first). Returns a task; the result carries tal_id and ts_handle and paints the open map. Location points load with ingest_accounts; balanced partitions come from auto_build; grouping by a column is account_build.

ParamètreTypeRequisDescription
part_layerstringoui
tal_labelstringoui
assignments_handlestring | nullnonRequired. upload_handle (aup_...) from request_assignment_upload. Single-use: the build claims it.
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
tal_idstring | nullnonOptional caller-supplied TAL identifier. When omitted, the server derives a stable ID from tal_label. Supplied IDs must not collide with an existing TAL in the input TS.
expected_revisioninteger | nullnon
repair_policyenum: "default" | "strict" | "report_only"nonTopology repair for dissolved territories. default fills interior holes in the dissolved geometry (no part is added or reassigned; repair_summary.changed_part_ids lists the territories' own parts). report_only detects holes and changes nothing (warning REPAIR_AVAILABLE). strict fails with REPAIR_RE…
missing_part_policystringnonControls assigned part IDs that are absent from the selected polygon part layer. fail returns UNKNOWN_PART_ID. drop_with_warning omits them, lists them in invalid_parts, and proceeds with geometry-covered assignments.
duplicate_part_policystringnonWhen the same part_id maps to different territory_path values, keep_first (default) keeps the first row and skips the rest with a warning; keep_last keeps the last row; fail aborts with CLARIFICATION_REQUIRED.
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.

auto_build

Auto-Build Territories

Partitions ingested accounts into balanced sales territories with equal workload, metric, or count over a part layer (e.g. ZIPs) as a new alignment (TAL). User choices: build_mode (fixed_territory_count + territory_count, fixed_workload_target + target_workload hours, or scoped_split), objective (workload_bias = drive + dwell, metric_bias = one column, e.g. Revenue, count_bias = account count; sum 100), and dwell_time (column or scalar). A missing choice returns CLARIFICATION_REQUIRED with ask_user; a visit-frequency column needs visit_frequency_field or ignore_visit_frequency. seed_point_layer seeds territories from provider points (any count). part_scope: bbox_intersect (default; can be national) or explicit with part_filter, e.g. {state_abbr: TX}; accounts outside are UNASSIGNED_ACCOUNTS. part_filter {in_tal: {tal_id}} keeps a TAL's parts; {not_in_tal: {tal_id}} its white space. With map_session_id the open map is the input. Returns a task (minutes if national) with tal_id, ts_handle, and phase_timings_ms. Ends with the territory_rebalance pass; rebalancing next is redundant.

ParamètreTypeRequisDescription
point_layerstringoui
part_layerstringoui
tal_labelstringoui
build_modeobject | nullnon
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
expected_revisioninteger | nullnon
objectiveobject | nullnon
dwell_timeobject | nullnon
visit_frequency_fieldstring | nullnonPoint column that scales territory workload by visits per cycle. Mutually exclusive with ignore_visit_frequency. Required as use-or-ignore when the point layer declares a visit-frequency column.
ignore_visit_frequencyboolean | nullnonWhen true, every account is one visit per cycle. Mutually exclusive with visit_frequency_field. Required as the ignore choice when the point layer declares a visit-frequency column.
part_scopestring | nullnonParts eligible for partition. Default bbox_intersect: all parts intersecting the account-point bounding box. point_matched: only parts containing at least one account; those parts are rarely adjacent, so territories come back as scattered pieces (warning POINT_MATCHED_SPARSE_SCOPE) — use it only wh…
part_idsarray<string> | nullnonExplicit part selection set. Implies part_scope explicit. Mutually exclusive with part_filter.
part_filterobject | nullnonAttribute filter resolved via query_parts (e.g. {"state_abbr": "TX"}). Implies part_scope explicit. Mutually exclusive with part_ids. An existing TAL's footprint (a new version over the same parts, all its regions): {"in_tal": {"tal_id": "tal-1"}}. White space (parts no TAL covers): add not_in_tal,…
repair_policyenum: "default" | "strict" | "report_only"nonTopology repair for dissolved territories. default fills interior holes in the dissolved geometry (no part is added or reassigned; repair_summary.changed_part_ids lists the territories' own parts). report_only detects holes and changes nothing (warning REPAIR_AVAILABLE). strict fails with REPAIR_RE…
output_modeenum: "tal" | "assignments"nontal is the default. assignments returns assignments_artifact plus an authenticated download_url and a key-less share_url; no ts_handle, tal_id, or map_refresh.
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.
seed_point_layerstring | nullnonA second ingested point layer (service providers, offices, rep homes) that seeds the territories; each used provider names its territory.
seed_attractioninteger | nullnon0 = providers only pick the start; 100 = each territory stays centered on its provider. Default 70. Needs seed_point_layer.

cluster_points

Cluster Points

Groups the points of one ingested layer into balanced clusters directly, with no ZIP or part layer and no territory alignment. Writes group_field (default group_id) on every point and colors the layer by it, replacing any prior color classification (size and shape channels stay). Needs build_mode (fixed_territory_count or fixed_workload_target), objective, and dwell_time, as in auto_build; a missing one returns CLARIFICATION_REQUIRED with the question. point_filter (e.g. {STATE: FL}) clusters a subset of the layer; unmatched points stay, ungrouped. Max 25,000 points after the filter. seed_point_layer, a second point layer such as technician homes, seeds the groups: with more seeds than groups the best-placed ones are used (seed_summary.unused lists the rest), with fewer the solver adds supplemental seeds in uncovered demand. seed_attraction 0-100 (default 70) is the pull of each seed on its group. Returns a task; the result lists groups with point_count, workload_hours, and point_ids.

ParamètreTypeRequisDescription
point_layerstringoui
build_modeobject | nullnon
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
expected_revisioninteger | nullnon
objectiveobject | nullnon
dwell_timeobject | nullnon
visit_frequency_fieldstring | nullnon
metric_fieldsarray<object> | nullnonMetric columns to declare on the point layer (same shape as ingest_accounts metric_fields).
group_fieldstringnon
group_label_prefixstringnon
seed_point_layerstring | nullnonSecond ingested point layer whose locations seed the groups (technician homes, depots). Must differ from point_layer. More seeds than groups: the best-placed are used and the rest land in seed_summary.unused. Fewer: the solver adds supplemental seeds in uncovered demand.
seed_attractioninteger | nullnonHow hard each group centroid is held at its seed. 100 pins it at the seed; 0 seeds only the starting point and lets the solver drift to the workload centroid. Requires seed_point_layer.
point_idsarray<string> | nullnonOptional point_id / row_id / account_id values to cluster. Unmatched points stay on the layer ungrouped.
point_filterobject | nullnonOptional property filter on the named point layer. Keys are point properties (equality or IN list). Multiple keys are AND. Example: {"STATE": "FL"}. Unmatched points stay on the layer ungrouped. part_filter and part_scope are not used here.
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.

analyze_network_coverage

Analyze Contractor Network Coverage

Finds coverage gaps in a contractor (vendor, service provider, technician, repair shop) network: counts the contractors that reach each demand point (customer, claim, store, ZIP center). Reads contractor_layer (ingested with layer_role=contractors) and demand_layer. coverage: {rule: drive_time, max_minutes} (straight-line travel model, no provider calls), {rule: drive_time, source: isochrone_tal, isochrone_tal_id} (isochrone_build areas around the contractors), or {rule: zip_list} (declared service ZIPs). One trade per call ('*' for all). Missing layers, coverage, or trade return CLARIFICATION_REQUIRED with the question. Writes new layers, never the source: _coverage (contractor_count, single_source, coverage_class red none / amber one / green 2+ / blue saturated, nearest contractor and minutes, capacity_ratio, gap score) and _gaps; gap_territory=true adds the all-gap ZIPs as one territory. Assigns nothing; dividing work is auto_build. Returns a task; the result has coverage_pct, gap and single-source counts, top_gaps, and per-contractor reach.

ParamètreTypeRequisDescription
contractor_layerstring | nullnonPoint layer of contractors. Defaults to the only layer ingested with layer_role=contractors; otherwise CLARIFICATION_REQUIRED (needs_contractor_layer).
demand_layerstring | nullnonPoint layer of demand (customers, claims, stores, or ZIP centers). Defaults to the only other ingested layer.
coverageobject | nullnonWhat counts as covered. drive_time with source travel_model (default) needs max_minutes or max_km and uses the calibrated quadkey detour-factor model with CONSTITUTION speed-curve fallback (no provider calls). drive_time with source isochrone_tal needs isochrone_tal_id: a point is covered by a cont…
tradestring | nullnonOne trade per call, matched case-insensitively against the comma-separated trade_field values. '*' (or 'all') keeps every contractor. Required when the contractor layer has a trade_field (needs_trade).
contractor_filterobject | nullnonColumn -> value (or list of values), e.g. {"tier": "Preferred"}. The key tier maps to tier_field when the layer has no literal tier column.
demand_metricstring | nullnonNumeric demand column (e.g. request count). Defaults to 1 per point; non-numeric cells count as 0 with warning DEMAND_METRIC_MISSING.
trade_fieldstring | nullnonOverrides the contractor layer's trade_field.
tier_fieldstring | nullnonOverrides the contractor layer's tier_field.
capacity_fieldstring | nullnonOverrides the contractor layer's capacity_field. Enables capacity_ratio.
service_zip_fieldstring | nullnonOverrides the contractor layer's service_zip_field (required for zip_list).
gap_territorybooleannonAlso draw ZIPs whose demand is all uncovered as one territory in a new TAL.
saturation_thresholdinteger | nullnonContractor count at which a point is saturated (blue).
priority_weightsobject | nullnongap_priority weights; defaults demand 0.6, distance 0.4, single_source_factor 0.5. The formula is echoed in result.priority_formula.
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.

schedule_visits

Schedule Visits

Schedules recurring visits: expands each cadence (e.g. every 7 days) across a horizon and packs visits into daily buckets under a technician-day cap. Decides which day each visit happens (auto_build and cluster_points divide accounts among people); creates no alignment. Needs point_layer (ingested with cadence declared, else UNDECLARED_FIELD), visit_frequency_field, dwell_time, and daily_capacity ({mode: not_to_exceed, hours: 8}); missing dwell or capacity returns CLARIFICATION_REQUIRED. Omitted max_buckets_per_day means one technician per day; when one does not fit, CLARIFICATION_REQUIRED carries capacity_plan. estimate_only=true returns capacity_plan. contractors (point_layer or list: start, pre_service_stops, route_type, end) anchors buckets; unanchored one-stop days warn SINGLE_STOP_DAYS. frequency_unit: interval_days or visits_per_horizon. bucket_workload_hours (drive plus dwell) is a different measure from territory workload and route_workload_hours. Returns a task. calculate_route on one bucket_id drives that day. Date limits: visit_constraints with horizon_start_date.

ParamètreTypeRequisDescription
point_layerstringoui
visit_frequency_fieldstringouiNumeric point column declared at ingest. Undeclared columns fail with UNDECLARED_FIELD.
dwell_timeobject | nullnon
daily_capacityobject | nullnon
schedule_labelstring | nullnon
frequency_unitstringnoninterval_days: the value is the maximum days between visits. visits_per_horizon: the value is how many visits the account gets across the whole horizon.
never_visit_valuesarray<any> | nullnonFrequency values that mean the account is left off the schedule. Matching accounts are excluded and reported in excluded_accounts, never silently dropped.
horizonobject | nullnon
max_buckets_per_dayinteger | nullnonCap on concurrent buckets in one day, normally the technician/contractor count (cannot exceed len(contractors) when contractors are supplied). Omitted with no contractors: one bucket per day; when that does not fit, CLARIFICATION_REQUIRED (blocked_by needs_technician_count) returns capacity_plan an…
estimate_onlybooleannonWhen true, runs a fast capacity-planning preflight without mutating the Territory Solution or emitting a visits layer, returning capacity_plan (open_service_days, closed_days, required_daily_hours_avg, peak_day_floor_hours, min_resources_per_day, recommended_resources_per_day, and remedies).
objectiveobject | nullnonBiases must sum to 100. Raising balance_bias to 100 lengthens otherwise efficient days to equalize hours, which is rarely what the customer wants.
cadence_flexibility_pctnumber | nullnonPercent of an account's own cadence a single visit may drift so the number of work clusters stays comparable day to day. At the default 15 a 14-day account may slide two days and a 7-day account one; a 3-day account does not move. Set to 0 for strict cadence. A drift past this tolerance happens onl…
horizon_start_datestring | nullnonCalendar date of horizon day 1. Required when visit_constraints is non-empty; without it dated constraints return CLARIFICATION_REQUIRED (needs_horizon_start_date). There is no default of today.
visit_constraintsarray<object> | nullnonSeparate account-keyed date-constraint dataset: blackouts/no-service windows, fixed dates, SLA due dates, anchor days, allowed weekdays. See visitConstraint.
contractorsobject | array<object> | nullnonOptional contractor anchoring: {point_layer: 'contractors'} (one contractor per point), or a list of contractors each with start, optional pre_service_stops, route_type (circuit|tour|open_tour), and end.
tal_idstring | nullnonOptional TAL id when filtering scheduled accounts by territory_id or territory_ids.
territory_idstring | nullnonOptional leaf territory id or unique display label to schedule only accounts inside that territory polygon.
territory_idsarray<string> | nullnonOptional list of leaf territory ids or display labels to schedule only accounts inside those territory polygons.
point_idsarray<string> | nullnonOptional list of account/point IDs to schedule.
point_filterobject | nullnonOptional attribute filter (property -> value or list of values) to schedule a subset of point_layer.
emit_visit_layerbooleannonMaterialize one point per scheduled visit so color-by-day and the calculate_route handoff are single calls.
visit_layer_namestring | nullnonDefaults to _visits. This name is the schedule's identity: re-running with the same name replaces the layer in place, a different name adds a second schedule for comparison.
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
expected_revisioninteger | nullnon
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.

account_build

Build Territories by Account Field

Builds territories that follow an account column, such as rep name or territory code from CRM: each part goes to the group holding most of its accounts (conflict_policy). Adds a new alignment (TAL). Needs an ingested point_layer, grouping_field, part_layer, and tal_label. Grouping values are labels, not balance metrics. part_scope: bbox_intersect (default; parts near the accounts) or explicit with part_filter, e.g. {state_abbr: TX}; in_tal: {tal_id} keeps only that TAL's parts, not_in_tal: {tal_id} only the parts it leaves uncovered. A declared visit-frequency column needs visit_frequency_field or ignore_visit_frequency (CLARIFICATION_REQUIRED otherwise). With map_session_id the open map is the input. Returns a task; the result carries tal_id and ts_handle. analyze reports the statistics.

ParamètreTypeRequisDescription
point_layerstringoui
grouping_fieldstring | nullnonPoint feature property treated as a grouping label even when numeric.
part_layerstring | nullnon
tal_labelstring | nullnon
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
expected_revisioninteger | nullnon
conflict_policystringnonWhen accounts in one part map to multiple grouping labels, assign the part to the label with the highest account count; ties break by deterministic label sort.
part_scopestring | nullnonParts eligible for Account Build geography. Default bbox_intersect: all parts intersecting the account-point bounding box. point_matched: only parts containing at least one account (radial seeds only; no FCFS inflate). explicit: part_ids or part_filter (e.g. state_abbr FL). Scope fill uses FCFS adj…
part_idsarray<string> | nullnonExplicit part selection set. Implies part_scope explicit. Mutually exclusive with part_filter.
part_filterobject | nullnonAttribute filter resolved via query_parts (e.g. {"state_abbr": ["FL", "GA"]}). Implies part_scope explicit. Mutually exclusive with part_ids. An existing TAL's footprint (a new version over the same parts, all its regions): {"in_tal": {"tal_id": "tal-1"}}. White space (parts no TAL covers): add not…
repair_policyenum: "default" | "strict" | "report_only"nonTopology repair for dissolved territories. default fills interior holes in the dissolved geometry (no part is added or reassigned; repair_summary.changed_part_ids lists the territories' own parts). report_only detects holes and changes nothing (warning REPAIR_AVAILABLE). strict fails with REPAIR_RE…
output_modeenum: "tal" | "assignments"nontal is the default. assignments returns assignments_artifact plus an authenticated download_url and a key-less share_url; no ts_handle, tal_id, or map_refresh.
visit_frequency_fieldstring | nullnonPoint column that scales territory workload by visits per cycle. Mutually exclusive with ignore_visit_frequency.
ignore_visit_frequencyboolean | nullnonWhen true, every account is one visit per cycle. Mutually exclusive with visit_frequency_field.
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.

realign

Realign Parts

Moves ZIPs or other parts (typed ids or ones selected on the map) from one territory into another within one alignment (tal_id): a ZIP move. moves=[{part_id, to_territory_id}], or realign_operation with part_ids. The Territory Solution comes from map_session_id (the open map) or ts_handle; expected_revision adds optimistic concurrency (STALE_TS_REVISION when the map changed). to_territory_id is a leaf territory_id or that leaf's exact, unique display name; an unknown or ambiguous value returns UNKNOWN_TERRITORY_ID or AMBIGUOUS_TERRITORY with available_leaf_territories. A committed map selection is read with get_map_selection; request_part_selection lets the person pick parts on the map. remove_empty_territories drops leaves left with no parts. Returns a task; the open map repaints. analyze refreshes statistics when the map has account points.

ParamètreTypeRequisDescription
tal_idstringouiTarget TAL to realign. Required — ambiguous TAL is an error.
movesarray<object> | nullnon
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
part_layerstring | nullnonPart layer name, e.g. us_zips, us_counties. Required when not inferable from the TAL.
expected_revisioninteger | nullnon
repair_policyenum: "default" | "strict" | "report_only"nonTopology repair for dissolved territories. default fills interior holes in the dissolved geometry (no part is added or reassigned; repair_summary.changed_part_ids lists the territories' own parts). report_only detects holes and changes nothing (warning REPAIR_AVAILABLE). strict fails with REPAIR_RE…
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.
realign_operationstring | nullnonRealignment operation. Defaults to move_to_territory when moves[] is supplied.
part_idsarray<string> | nullnonRequired for remove_parts operation.
remove_empty_territoriesbooleannonWhen true with remove_parts, drop leaf territories that become empty.

delete_tal

Delete Alignment

Deletes one whole territory alignment (TAL: 'the territory layer', 'all territories') from the Territory Solution and the open map, in one synchronous call. Needs tal_id or the TAL's exact unique label, plus map_session_id or ts_handle. Points, part-layer overlays, and routes stay; the map switches to a remaining alignment or to points only. A TAL that is already gone returns ok with already_absent=true; an ambiguous label returns AMBIGUOUS_TAL. One territory is removed with delete_territory instead.

ParamètreTypeRequisDescription
tal_idstringouiTerritory layer / alignment to delete: tal_id or an exact unique TAL label. Removes the whole layer in one call (users say territory layer / all territories / alignment more often than TAL). One leaf is removed with delete_territory.
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.

delete_territory

Delete Territory

Deletes one leaf territory from an alignment; its parts become unassigned. Needs tal_id, territory_id (the leaf id or its exact unique display name), and the Territory Solution from map_session_id or ts_handle. A territory that is already gone returns ok with already_absent=true and no task; otherwise returns a task and the open map repaints. Related: territory_merge hands a leaving rep's territory to its neighbors; delete_tal removes a whole alignment in one call.

ParamètreTypeRequisDescription
tal_idstringouiTarget TAL containing the leaf to delete.
territory_idstringouiLeaf territory_id (e.g. tal-t1-t1) or a unique display name/label alias (e.g. T1).
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
part_layerstring | nullnonPart layer name when not inferable from the TAL (e.g. us_zips).
expected_revisioninteger | nullnonOptional optimistic concurrency revision.
repair_policyenum: "default" | "strict" | "report_only"nonTopology repair for dissolved territories. default fills interior holes in the dissolved geometry (no part is added or reassigned; repair_summary.changed_part_ids lists the territories' own parts). report_only detects holes and changes nothing (warning REPAIR_AVAILABLE). strict fails with REPAIR_RE…
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.

territory_split

Split Territory

Territory split: divides one territory (e.g. an oversized one) into two while changing the rest of the alignment as little as possible (N to N+1 territories). Needs source_tal_id and target_territory_id, plus the Territory Solution from map_session_id (the open map) or ts_handle. Workload balance needs dwell_time; a missing id or dwell returns CLARIFICATION_REQUIRED with the question. Writes a new derived alignment; the source stays. Returns a task; the result carries disruption_summary (retention_pct).

ParamètreTypeRequisDescription
source_tal_idstring | nullnonSource TAL. Optional for form-capable clients that can answer via elicitation.
target_territory_idstring | nullnonLeaf territory (id or label) to split into two. Optional when elicitation can fill it.
new_territory_labelstring | nullnonLabel for the second territory created by the split. Defaults to ' (split)'.
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
part_layerstring | nullnonPart layer (e.g. us_zips). Required only when not inferable from the source TAL.
point_layerstring | nullnonOptional point layer used to compute per-part workload/metric measures. When omitted, a uniform geography-only weighting is used.
objectiveobject | nullnon
dwell_timeobject | nullnon
visit_frequency_fieldstring | nullnonNumeric visits-per-cycle column on the point layer. When omitted, inherits from source TAL build_provenance or point-layer metadata.
disruption_weightnumber | nullnonIncumbency stickiness for the warm-started power-diagram rebalance. 0 is a pure power re-solve (max balance, more churn); higher values keep more of the source alignment by requiring a neighbor territory to inflate further before it can claim a border part.
balance_tolerancenumber | nullnonAccepted for compatibility. The power-diagram rebalance converges on its own internal tolerance, so this value no longer gates per-part moves.
new_tal_labelstring | nullnonLabel for the derived TAL. Defaults to ' ( )'.
repair_policyenum: "default" | "strict" | "report_only"nonTopology repair for dissolved territories. default fills interior holes in the dissolved geometry (no part is added or reassigned; repair_summary.changed_part_ids lists the territories' own parts). report_only detects holes and changes nothing (warning REPAIR_AVAILABLE). strict fails with REPAIR_RE…
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.

territory_merge

Merge Territories

Merges a pair of adjacent territories (N to N-1 territories). By default, territory_id_b is folded into territory_id_a (or renamed to new_territory_label) and the rest of the alignment rebalances with minimal disruption, e.g. when a rep leaves and neighbors absorb the territory. Set preserve_other_territories=true for an exact two-territory union that combines only territory_id_a and territory_id_b (optionally named new_territory_label) and leaves every other territory unchanged with no rebalance. Non-adjacent ids return NON_ADJACENT_TERRITORIES. Needs source_tal_id and the Territory Solution from map_session_id or ts_handle; workload rebalance needs dwell_time (CLARIFICATION_REQUIRED otherwise). Writes a new derived alignment. Returns a task.

ParamètreTypeRequisDescription
source_tal_idstring | nullnonSource TAL. Optional for form-capable clients that can answer via elicitation.
territory_id_astring | nullnonFirst territory (id or label). The merged territory keeps this identity unless new_territory_label is supplied.
territory_id_bstring | nullnonSecond territory (id or label). Must be adjacent to territory_id_a.
new_territory_labelstring | nullnonOptional display label for the merged territory (defaults to territory_id_a's label).
preserve_other_territoriesbooleannonWhen true, performs an exact union of territory_id_a and territory_id_b without rebalancing any other territory in the alignment.
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
part_layerstring | nullnonPart layer (e.g. us_zips). Required only when not inferable from the source TAL.
point_layerstring | nullnonOptional point layer used to compute per-part workload/metric measures. When omitted, a uniform geography-only weighting is used.
objectiveobject | nullnon
dwell_timeobject | nullnon
visit_frequency_fieldstring | nullnonNumeric visits-per-cycle column on the point layer. When omitted, inherits from source TAL build_provenance or point-layer metadata.
disruption_weightnumber | nullnonIncumbency stickiness for the warm-started power-diagram rebalance. 0 is a pure power re-solve (max balance, more churn); higher values keep more of the source alignment by requiring a neighbor territory to inflate further before it can claim a border part.
balance_tolerancenumber | nullnonAccepted for compatibility. The power-diagram rebalance converges on its own internal tolerance, so this value no longer gates per-part moves.
new_tal_labelstring | nullnonLabel for the derived TAL. Defaults to ' ( )'.
repair_policyenum: "default" | "strict" | "report_only"nonTopology repair for dissolved territories. default fills interior holes in the dissolved geometry (no part is added or reassigned; repair_summary.changed_part_ids lists the territories' own parts). report_only detects holes and changes nothing (warning REPAIR_AVAILABLE). strict fails with REPAIR_RE…
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.

territory_rebalance

Rebalance Territories

Rebalances an existing alignment after the account data changed, keeping it as close to the current alignment as possible. Needs source_tal_id and the Territory Solution from map_session_id or ts_handle. point_layer defaults to the alignment's build layer or the only point layer; otherwise CLARIFICATION_REQUIRED (ambiguous_point_layer, with details.point_layers). Workload balance needs dwell_time; zero_workload means no account maps to a part. The current alignment is the baseline: when nothing improves the objective the result is NO_IMPROVING_REBALANCE_FOUND and nothing changes. Writes a new derived alignment. Returns a task with retention_pct and solver_diagnostics.

ParamètreTypeRequisDescription
source_tal_idstring | nullnonSource TAL. Optional for form-capable clients that can answer via elicitation.
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
part_layerstring | nullnonPart layer (e.g. us_zips). Required only when not inferable from the source TAL.
point_layerstring | nullnonOptional point layer used to compute per-part workload/metric measures. When omitted, a uniform geography-only weighting is used.
objectiveobject | nullnon
dwell_timeobject | nullnon
visit_frequency_fieldstring | nullnonNumeric visits-per-cycle column on the point layer. When omitted, inherits from source TAL build_provenance or point-layer metadata.
disruption_weightnumber | nullnonIncumbency stickiness for the warm-started power-diagram rebalance. 0 is a pure power re-solve (max balance, more churn); higher values keep more of the source alignment by requiring a neighbor territory to inflate further before it can claim a border part.
balance_tolerancenumber | nullnonAccepted for compatibility. The power-diagram rebalance converges on its own internal tolerance, so this value no longer gates per-part moves.
new_tal_labelstring | nullnonLabel for the derived TAL. Defaults to ' ( )'.
repair_policyenum: "default" | "strict" | "report_only"nonTopology repair for dissolved territories. default fills interior holes in the dissolved geometry (no part is added or reassigned; repair_summary.changed_part_ids lists the territories' own parts). report_only detects holes and changes nothing (warning REPAIR_AVAILABLE). strict fails with REPAIR_RE…
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.

extract_tal_branch

Extract Alignment Branch

Extracts one regional branch of a hierarchical alignment (by branch_rollup_territory_id or branch_territory_path) into its own Territory Solution, so a delegate can edit just that region. Returns the extract plus branch_metadata, which reintegrate_branch needs later. exclude_locked (default true) leaves locked territories out.

ParamètreTypeRequisDescription
tal_idstringouiHierarchical TAL (alignment) to branch from.
branch_rollup_territory_idstring | nullnonRollup territory whose subtree becomes the branch. Or pass branch_territory_path.
branch_territory_patharray<string> | nullnon
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
expected_revisioninteger | nullnon
expected_content_hashstring | nullnon
delegate_refstring | nullnon
exclude_lockedbooleannon
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.

reintegrate_branch

Reintegrate Alignment Branch

Merges an edited branch (proposal Territory Solution from extract_tal_branch) back into the master. Needs branch_metadata and expected_master_revision; returns STALE_TS_REVISION when the master changed since the extract, in which case a fresh extract is needed. Merges apply one at a time.

ParamètreTypeRequisDescription
expected_master_revisionintegeroui
branch_metadataobjectoui
master_ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
proposal_ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
expected_master_content_hashstring | nullnon
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.

request_part_selection

Request Part Selection

Lets the person adjust boundaries by picking parts (e.g. ZIPs) on the map: puts the open map into select mode on a part_layer, for purpose realign, a new territory, or a plain list. Returns selection_task_id; get_part_selection reports status (awaiting_user_selection, then committed, expired, or cancelled) and the committed part_ids, and its response carries recommended_poll_delay_ms. The commit happens on the map, not in chat. destination_territory_id and realign_operation pre-set a realign. Works on the in-chat map and the map_url tab. map_session_id selects on the open map; ts_handle opens a stored Territory Solution first. initial_part_filter opens with a set pre-selected (e.g. in_tal or white space not_in_tal) for the person to trim; build from the committed set with part_filter {selection_task_id}. A selection the person started from the map legend is read with get_map_selection.

ParamètreTypeRequisDescription
part_layerstringoui
purposestringnon
promptstring | nullnonHuman-facing selection instruction shown by the host/agent or MC.
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
active_tal_idstring | nullnonAlignment shown as active while the person selects.
destination_territory_idstring | nullnonOptional receiver leaf territory when Monica/agent named the destination up front.
user_idstring | nullnonStable caller id; finds the open map when map_session_id is omitted.
expiry_secondsinteger | nullnon
realign_operationstring | nullnon
new_territoryobject | nullnon
remove_empty_territoriesbooleannon
initial_part_filterobject | nullnonPre-selects the parts this filter matches (same shape as auto_build part_filter, e.g. {in_tal: {tal_id}} or {state_abbr: TX, not_in_tal: {tal_id}}). Resolved server-side, up to 50,000 parts; selection_task_id is rejected here.

get_part_selection

Get Part Selection

Returns the state of a map selection task (selection_task_id from request_part_selection, or active_selection_task_id in ezt://map-sessions/{id}/state): status awaiting_user_selection, committed, expired, or cancelled, and once committed the selected part_ids (with assigned and unassigned part_ids when a TAL is active). While awaiting, the response carries recommended_poll_delay_ms. Committed part_ids feed realign, create_territory_from_parts, or analyze.

ParamètreTypeRequisDescription
selection_task_idstringouiselection_task_id (psel_...) from request_part_selection.

create_territory_from_parts

Create Territory from Parts

Creates one leaf territory from a list of part_ids (e.g. a committed map selection), in a new alignment or an existing one (tal_id). With map_session_id the live map's Territory Solution is updated and repainted; otherwise ts_handle (a new ts_handle is returned). map_session_id wins when both are passed. territory_name is a display label; the result's created_territory.territory_id is the stable id for later edits, plus leaf_territories and selection_summary (duplicate_part_ids). Dwell is optional here and is not inherited from an earlier auto_build; dwell_time is recorded for later analyze. Without it, analyze reports every statistic except workload and returns workload_omitted.ask_user. Returns a task.

ParamètreTypeRequisDescription
part_layerstringoui
part_idsarray<string>ouiParts for the new territory, e.g. committed part_ids from get_part_selection.
territory_namestringoui
territory_patharray<string> | nullnon
tal_idstring | nullnonExisting TAL to append the new territory to; omit to start a new alignment.
conflict_policystring | nullnon
repair_policystring | nullnonTopology repair policy for dissolved geometry (default, strict, or report_only). Interior holes occupied by existing territories in the TS are never filled.
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.
dwell_timeobject | nullnon

analyze

Analyze Territories

Computes territory statistics for one or more alignments, i.e. how balanced the territories are and how alignments compare: account counts, declared metric totals (e.g. Revenue), workload hours, balance scores, and cross-TAL comparison; hypothetical_moves previews a realign. Input: map_session_id (the open map as it is now), ts_handle, or a completed build job_id (pass tal_ids when several TALs exist). metrics: omit for every declared column, or name them; workload and account_count are always available. Workload needs dwell (dwell_time, the build's recorded dwell, or the layer's dwell_time_field); without it the result has every other statistic, no workload, and workload_omitted.ask_user to put to the user. analysis_panel=single with map_session_id fills the map dock (analysis_panel.status=pushed). Territory account_count, metric_totals, workload_total (minutes), and the dock grid cover accounts_point_layer (build point_layer), never seed, contractor, or visit layers; point_counts_by_layer counts every layer. Drive-time alignments count accounts inside each polygon. Returns a task.

ParamètreTypeRequisDescription
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
job_idstring | nullnontask_id (same value as job_id) of a completed build or ingest task; its Territory Solution is the input.
tal_idsarray<string> | nullnonTAL IDs to analyze. Defaults to the active TAL when unambiguous.
part_layerstring | nullnonPart layer name. Required when not inferable from the TAL(s). Not used for a drive-time (isochrone) TAL, which is measured by polygon.
metricsarray<string> | nullnonData field names to aggregate per territory. If omitted, server returns all available metrics.
scopeobject | nullnonOptional — restrict analysis to a subset of parts or territories.
compare_talsbooleannonWhen true and multiple tal_ids supplied, include a cross-TAL comparison section.
hypothetical_movesarray<object> | nullnonOptional. Compute impact of these hypothetical part moves without persisting any change.
max_depthinteger | nullnonOptional. For hierarchical TALs, return rollup metrics only up to this depth level. Without it, every level is returned.
analysis_panelenum: "none" | "single" | "comparison_slot" | nullnon
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.
dwell_timeobject | nullnon
visit_frequency_fieldstring | nullnonOptional visit-frequency point column override for workload recompute.

ingest_accounts

Ingest Accounts

Account ingest: loads account rows (CRM records, a CSV, a spreadsheet) as point data on a named point layer of the Territory Solution, to add them to the map, geocoding rows without coordinates. Rows come only as accounts_handle from request_account_upload (a file, csv_text, or rows; 100,000-row cap); its suggested_ingest carries these args. latitude/lat and longitude/lon/lng pass through; other names need latitude_field/longitude_field, and unused coordinate-like columns return CLARIFICATION_REQUIRED (needs_coordinate_fields). id_field is a unique key (default row_id); duplicates return needs_unique_row_id. Only declared columns are kept: metric_fields, workload_fields, dwell_time_field, visit_frequency_field, grouping_fields, display_fields, search_fields; to load a contractor list, layer_role=contractors adds trade_field, tier_field, capacity_field, service_zip_field (analyze_network_coverage). Later use of an undeclared column returns UNDECLARED_FIELD. Over geocode quota fails it whole; a bad address bills once (fix it to retry). Returns a task with failed_rows and map_refresh.

ParamètreTypeRequisDescription
accounts_handlestring | nullnonRequired. upload_handle (aup_...) from request_account_upload. Single-use: ingest claims it.
point_layerstringnon
labelstring | nullnonLegend name for the point layer. Omitted: the point_layer id in title case (accounts is 'Accounts', schools_conus is 'Schools Conus').
label_fieldstringnon
latitude_fieldstringnonLatitude column. Defaults accept case-insensitive GIS aliases latitude/lat (including LAT). Override for non-standard headers (e.g. Address 1: Latitude). Explicit values win over aliases.
longitude_fieldstringnonLongitude column. Defaults accept case-insensitive GIS aliases longitude/lon/lng/long (including LON). Override for non-standard headers. Explicit values win over aliases.
id_fieldstringnonUnique business key column. Duplicated label/name columns fail with blocked_by=needs_unique_row_id. With the default row_id and no unique column, the server synthesizes row-1, row-2, … when that column is absent.
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
country_hintstring | nullnon
region_hintstring | nullnon
min_confidencenumbernon
force_regeocodebooleannonAdmin keys only (debug/testing); a customer key gets ADMIN_REQUIRED. Leave false. True geocodes rows that already have coordinates, billing each one.
use_cachebooleannonAdmin keys only (debug/testing); a customer key gets ADMIN_REQUIRED. Leave true. False skips both geocode caches and bills a provider lookup for every address.
accept_suboptimal_geocodesbooleannonWhen true (default for ingest), accept provider suboptimal geocodes (e.g. ZIP centroids) so address-only rows become points. Set false to require optimal/point-address matches only.
retry_bad_geocodesbooleannonAdmin keys only (debug/testing); a customer key gets ADMIN_REQUIRED. Leave false. True re-asks the provider, billed, for the same address text whose cached verdict is no-match or suboptimal. A corrected address needs no flag: it is a new lookup.
metric_fieldsarray<any> | nullnonAgent-confirmed business metric columns (for example revenue, sales, units) to persist on point-layer metadata for downstream build/analyze tools.
workload_fieldsarray<any> | nullnon
visit_frequency_fieldstring | nullnonCanonical numeric visits-per-cycle column on point features. Agent-resolved; MCP validates presence and persists on point-layer metadata. Without one, MCP defaults each account to one visit per cycle.
dwell_time_fieldstring | nullnonCanonical per-account dwell column on point features. Pair with workload_fields unit metadata when values are in hours.
grouping_fieldsarray<string> | nullnonDeclared columns used to group accounts (e.g. account_build grouping_field candidates). Declared fields are the retention contract: the compact TS keeps only id, coordinates, label, and declared fields; undeclared columns are discarded at ingest.
display_fieldsarray<string> | nullnonDeclared columns shown in Map Component point callouts. Undeclared columns are discarded at ingest and later operations on them fail with UNDECLARED_FIELD.
search_fieldsarray<string> | nullnonDeclared columns searchable in the Map Component. Undeclared columns are discarded at ingest and later operations on them fail with UNDECLARED_FIELD.
layer_roleenum: "accounts" | "contractors" | nullnoncontractors marks the supply side of a service network (contractor, vendor, service provider) for analyze_network_coverage.
trade_fieldstring | nullnonContractor column naming the trade(s) served (e.g. HVAC; comma-separated for several). Retained like a declared column.
tier_fieldstring | nullnonContractor column holding the network tier (e.g. Preferred). Retained like a declared column.
capacity_fieldstring | nullnonNumeric contractor column holding capacity (e.g. jobs per month). Retained like a declared column.
service_zip_fieldstring | nullnonContractor column listing served ZIPs, comma-separated, for coverage.rule=zip_list. Retained like a declared column.
replace_existingbooleannonWhen true, replaces an existing point layer with the same point_layer id in place. Default false returns POINT_LAYER_EXISTS when the layer already exists.
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.

request_account_upload

Request Account Upload

The one way account or address rows enter the server: stages them for ingest_accounts (accounts_handle) or geocode_address (upload_handle) and returns upload_handle, csv_headers, and suggested_ingest args with a geocode_plan. Ways in: the returned upload_url (no API key; valid up to 1 hour), which the user opens in a browser to drop a CSV or .xlsx (result.share_with_user; the path for a file the client cannot read, e.g. a SharePoint link) or a shell POSTs to (curl_example); csv_file (a host file parameter); csv_text (raw CSV, up to 25 MB per call); or rows chunks appended with upload_handle. A call with only upload_handle polls: upload_status waiting_for_file (sleep recommended_poll_delay_ms) or received, with preview (sample rows, column profile) and upload_warnings whose ask_user goes to the user before ingest. A local path in csv_file returns UNREADABLE_FILE_REFERENCE; an expired URL returns UPLOAD_TOKEN_EXPIRED and a call with upload_handle issues a new one. One handle holds at most 100,000 rows and is single-use, claimed by ingest_accounts, for 1 hour.

ParamètreTypeRequisDescription
rowsarray<object> | nullnon
csv_textstring | nullnon
csv_fileobject | string | nullnonHost file reference: an object with download_url (ChatGPT/OpenAI file param) or data (data: URI), or a URL / data: URI string. Local paths and bare file ids are rejected; for those, send the user to upload_url.
upload_handlestring | nullnonExisting upload_handle (aup_...) to append this chunk of rows to.
ttl_secondsinteger | nullnon

request_assignment_upload

Request Assignment Upload

The one way part-to-territory assignment rows (e.g. a ZIP-to-territory spreadsheet with Postal Code plus Territory/Region/Division) enter the server: stages them for direct_build (assignments_handle) and returns upload_handle. Same ways in as request_account_upload: upload_url (no API key; up to 1 hour; the user opens it in a browser to drop a CSV or .xlsx, or a shell POSTs the file), csv_file, csv_text (newlines preserved), or assignment chunks appended with upload_handle; poll with only upload_handle until upload_status is received. Legacy columns map to part_id and territory_path automatically. A file of locations rather than assignments is redirected to request_account_upload. The handle is single-use and expires after 1 hour by default.

ParamètreTypeRequisDescription
assignmentsarray<object> | nullnon
csv_textstring | nullnon
csv_fileobject | string | nullnonHost file reference: an object with download_url (ChatGPT/OpenAI file param) or data (data: URI), or a URL / data: URI string. Local paths and bare file ids are rejected; for those, send the user to upload_url.
upload_handlestring | nullnonExisting upload_handle (aup_...) to append this chunk of rows to.
ttl_secondsinteger | nullnon

geocode_address

Geocode Addresses

Geocode-only pass: turns staged customer addresses into coordinates with match confidence, without loading a map layer. The rows are staged with request_account_upload (file, csv_text, or rows; up to 10,000 rows here) and passed as its upload_handle; the handle is not claimed, so ingest_accounts can load the same rows afterward. Accepts address/address_line1/street, city, state, and postal columns (common source headers are mapped). accept_suboptimal_geocodes=true accepts ZIP-centroid matches. Each address is billed once: cached no-match and suboptimal verdicts return free (failed_rows cached_verdict); a corrected address is a new lookup. Billable lookups count against an annual per-key quota, and past it the result is PROVIDER_QUOTA_EXCEEDED with limit, used, remaining, and period_resets_at. Returns a task; the result has summary, sample_rows (10), failed_rows (first 50), a geocoded_rows_artifact with share_url for every row, and suggested_ingest. ingest_accounts alone also geocodes while it loads the map layer.

ParamètreTypeRequisDescription
upload_handlestringouiupload_handle (aup_...) from request_account_upload holding the address rows. Not claimed: ingest_accounts can reuse it.
country_hintstring | nullnon
region_hintstring | nullnon
min_confidencenumbernon
force_regeocodebooleannonAdmin keys only (debug/testing); a customer key gets ADMIN_REQUIRED. Leave false. True geocodes rows that already have coordinates, billing each one.
use_cachebooleannonAdmin keys only (debug/testing); a customer key gets ADMIN_REQUIRED. Leave true. False skips both geocode caches and bills a provider lookup for every address.
accept_suboptimal_geocodesbooleannonWhen true, accept suboptimal geocodes (e.g. ZIP centroids). Default false so geocode-only workflows surface NO_OPTIMAL_GEOCODE for human review.
retry_bad_geocodesbooleannonAdmin keys only (debug/testing); a customer key gets ADMIN_REQUIRED. Leave false. True re-asks the provider, billed, for the same address text whose cached verdict is no-match or suboptimal. A corrected address needs no flag: it is a new lookup.
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.

calculate_route

Calculate Route

Sequences stops (e.g. home, depot, calls, home): returns order, road distance, drive time, per-leg timings, and geometry from TomTom or Azure Maps, and draws the path on the open map (map_session_id). Creates no territory and changes no assignment. route_type: circuit (returns to start), tour (ends at required end stop), or open_tour (one way). stop_sets run in array order with no cross-set moves; order is optimize or as_given; group_by_field adds priority bands. Stops are inline coordinates or point-layer refs (e.g. source.filter.territory_id); point_ids and stop_id are point_id values (visits: # ). A new route_id adds a second route; recalculating an existing route_id replaces it, e.g. to drop a stop. dwell_time is stored for analyze_routes and publish_appointments_to_dataverse (appointment length and spacing). Route drive time is not territory workload. No key: ROUTING_NOT_CONFIGURED; past annual quota: PROVIDER_QUOTA_EXCEEDED. Returns a task.

ParamètreTypeRequisDescription
startobjectouiOrigin. Must resolve to exactly one stop.
stop_setsarray<object>oui
route_typestring | nullnoncircuit returns to start; tour finishes at the declared end (required); open_tour lets the optimizer choose the final stop and never returns to start.
endobject | nullnonDestination. Required for route_type=tour, rejected otherwise.
travel_modestringnon
depart_atstring | nullnonRFC 3339 departure time. Drives traffic-aware durations. Defaults to now.
include_geometrybooleannonSet false to skip the route polyline when only sequence and timings are needed.
route_labelstring | nullnonDisplay name for the route on the map and in the legend. Seeds route_id when route_id is omitted.
route_idstring | nullnonStable identity for the route inside the solution. A new route_id adds a route alongside the existing ones; reusing a route_id replaces that route in place. To add or drop a stop, call again with the SAME route_id and the revised stop list — there is no add-stop tool and delete_route is for droppin…
dwell_timeobject | nullnon
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.

isochrone_build

Build Drive-Time Area

Draws the area reachable by driving from one or more origins within a time or distance budget (drive-time area, service area, catchment) and adds each area as a territory in a drive-time alignment. origins: inline {latitude, longitude} or a point-layer reference. bands: [{time_budget_seconds} or {distance_budget_meters}], one unit per call (MIXED_BUDGET_TYPES otherwise); one band gives one area per origin, several give nested areas. Limits: 25 origins, 5 bands, 6 hours, 500 km; travel_mode car or truck; depart_at supported. Areas are the provider polygons and may overlap; analyze counts accounts in every area containing them. realign/split/merge/rebalance return ISOCHRONE_TAL_NOT_EDITABLE. A band budget is not territory workload or route time. No provider key returns ISOCHRONE_NOT_CONFIGURED; the full call count is checked against the annual quota first (PROVIDER_QUOTA_EXCEEDED). Returns a task.

ParamètreTypeRequisDescription
originsarray<object>ouiCenters to measure reachability from. Provider calls are origins x bands, so this is capped (default 25, TOO_MANY_ORIGINS).
bandsarray<object>ouiBudgets to draw at each origin. One band gives one leaf per origin; several give a rollup per origin with one leaf per band. Capped (default 5, TOO_MANY_BANDS).
travel_modestringnonNarrower than calculate_route on purpose: neither provider offers a pedestrian or bicycle reachable range.
route_typestringnon
trafficbooleannonTraffic-aware travel times. Ignored for a distance budget.
depart_atstring | nullnonRFC 3339 departure time, which shapes traffic-aware boundaries. There is no arrive_at: reachable range is forward-only.
avoidarray<string> | nullnonRoad classes to keep out of the reachable area. Only values both providers document.
tal_labelstring | nullnonDisplay name for the TAL. Defaults to a readable summary, e.g. "20 min drive time".
tal_idstring | nullnonStable identity for the TAL. Reusing an existing id replaces that TAL. Defaults to a slug of tal_label.
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.

seed_build

Grow Territory from Seed

Grows one territory outward from a seed {longitude, latitude} over a part layer until it holds a target: {type: location_count, value: N} or {type: metric_sum, field: , value: X}, counted from an ingested point layer. Adds the territory as a leaf of tal_id, or as a new alignment. Fit is closest: target_status is reached, closest_under, closest_over, frontier_exhausted, or max_parts_reached, with SEED_TARGET_UNDERSHOT/OVERSHOT warnings and the difference. Parts already in that alignment are never taken; the territory grows around them (blocked_part_count, seed_offset_km), and a seed inside an assigned part returns SEED_PART_ASSIGNED. part_scope=explicit with part_filter confines growth to an area (not_in_tal: {tal_id} keeps it out of another TAL; in_tal: {tal_id} keeps it inside one, with no tal_id so it starts a new alignment). One seed per call. An undeclared metric field returns UNDECLARED_FIELD. Returns a task with created_territory and ts_handle; the open map repaints with map_session_id.

ParamètreTypeRequisDescription
seedobjectouiWhere growth starts. For an address or POI, stage it as one row with request_account_upload, then geocode_address(upload_handle); a map click already gives coordinates.
targetobjectouiWhat the territory grows toward. Fit is closest: |achieved - value| is minimized, so the result may land slightly under or over.
part_layerstring | nullnonPart layer to grow over, e.g. us_zips (ezt://part-layers). Required unless tal_id names a TAL that already has one; must match that TAL's layer when both are given.
point_layerstring | nullnonIngested point layer whose locations are counted or summed. Required when the TS has more than one point layer.
tal_idstring | nullnonExisting TAL to append the new leaf to. Parts already assigned to any leaf of this TAL are never taken (the territory drifts instead). Without it, a new TAL is created.
territory_namestring | nullnonDisplay name for the new leaf. Defaults to the next free "Territory N" in the TAL. Must be unique within the TAL.
tal_labelstring | nullnonDisplay name for the new TAL when tal_id is omitted. Ignored when tal_id is given.
part_scopestring | nullnonGrowth reads only the seed's neighbourhood (rings outward from the seed part), so this is an allowlist switch, not a performance prerequisite. explicit: confine growth to part_ids or part_filter (e.g. state_abbr TX) when the user wants the territory bounded by that geography. bbox_intersect / point…
part_filterobject | nullnonAttribute filter resolved via query_parts (e.g. {"state_abbr": "TX"}). Implies part_scope explicit. Mutually exclusive with part_ids. Inside an existing TAL's footprint: {"in_tal": {"tal_id": "tal-1"}} with no seed tal_id (in_tal of the seed's own tal_id is INVALID_REQUEST). White space (parts no T…
part_idsarray<string> | nullnonExplicit eligible part set. Implies part_scope explicit. Mutually exclusive with part_filter.
max_partsinteger | nullnonSafety cap on parts in the grown territory. Reaching it stops growth with target_status max_parts_reached.
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.
user_idstring | nullnonStable per-user label for usage and queue ordering.

delete_route

Delete Route

Route delete: removes one whole route from the Territory Solution and the open map, in one synchronous call. Needs route_id or the route's exact unique label, plus map_session_id or ts_handle. A route that is already gone returns ok with already_absent=true; an ambiguous label returns AMBIGUOUS_ROUTE with matching_route_ids. A single stop is removed by recalculating the same route_id with calculate_route.

ParamètreTypeRequisDescription
route_idstringouiRoute to delete: the route_id, or an exact unique route label. Removing one stop is a calculate_route with the same route_id and the remaining stops.
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.

delete_point_layer

Delete Point Layer

Point-layer delete: removes one point layer and its account points from the Territory Solution and the open map, in one synchronous call. Needs point_layer (the layer id or its exact unique label), plus map_session_id or ts_handle. Territories, part overlays, and other point layers stay. A layer that is already gone returns ok with already_absent=true; an ambiguous label returns AMBIGUOUS_POINT_LAYER with matching_point_layers. ingest_accounts does not replace an existing layer; delete it here first. A visit layer derived from the deleted layer is reported and kept.

ParamètreTypeRequisDescription
point_layerstringouiPoint layer to delete: the point_layer id, or an exact unique layer label.
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.

analyze_routes

Analyze Routes

Returns the total hours for each of the routes calculate_route has drawn: drive hours, dwell hours, route_workload_hours (provider drive time plus dwell, no visit-frequency multiplier), stop coordinates, centroid, and bbox. Synchronous. Needs map_session_id or ts_handle, and dwell from dwell_time or the dwell recorded on the route; unresolved dwell returns CLARIFICATION_REQUIRED (needs_dwell). A circuit's stop_count includes the return to the start, so that stop's dwell counts twice. Facts only: no capacity, ranking, or overload flags. These hours are a different measure from territory and cluster workload; territory statistics come from analyze.

ParamètreTypeRequisDescription
route_idsarray<string> | nullnonRoutes to report on, in the order returned. Absent means every route in the solution.
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
dwell_timeobject | nullnon

points_in_territory

Points in Territory

Lists which account points from one point layer fall inside a territory polygon or a drive-time (isochrone) area. Per territory: point_count, metric_sums (metrics, else the layer's declared metric fields), and a sample of sample_size points (default 25, max 200; 500 across all territories) with label and metric fields, or only the fields you name. Counts and sums cover every inside point. The full list is never inline: it is in points_artifact, via download_url (GET with the API key) or share_with_user (one-hour key-less link for the user). Synchronous, read-only; needs map_session_id or ts_handle. territory_id names one leaf (id or unique display name), territory_ids several; omit both for every leaf in the TAL (tal_id, else the active or sole TAL). point_layer defaults to the sole layer with points; point_filter (e.g. {tier: 'Gold'}) filters before counting. A point counts in every containing polygon; overlaps lists shared points. Unknown ids return UNKNOWN_TAL_ID / UNKNOWN_TERRITORY_ID / UNKNOWN_POINT_LAYER with the available values.

ParamètreTypeRequisDescription
tal_idstring | nullnonTerritory alignment to query. Defaults to the active TAL, or the sole TAL with leaf polygons.
territory_idstring | nullnonOne leaf: its stable territory_id or exact unique display name. Mutually exclusive with territory_ids.
territory_idsarray<string> | nullnonSeveral leaves (stable ids or exact unique display names). With neither territory_id nor territory_ids, every leaf in the TAL.
point_layerstring | nullnonPoint layer id or exact unique label. Optional when the solution has one layer with points.
point_filterobject | nullnonOptional attribute filter (column -> value or list of values, matched case-insensitively, e.g. {"tier": "Gold"}) applied to the point layer before counting and listing.
metricsarray<string> | nullnonNumeric point columns to sum per territory. Defaults to the layer's declared metric fields.
fieldsarray<string> | nullnonPoint properties to keep on sample points and in points_artifact. Omitted: the sample carries label plus the metric fields, and the artifact carries every property.
sample_sizeintegernonPoints shown inline per territory; the server lowers it so at most 500 sample points come back across all territories. point_count and metric_sums always cover every inside point; points_artifact lists them all.
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.

tasks_cancel

Cancel Task

Tool equivalent of the native MCP tasks/cancel, listed for clients without the Tasks capability. Requests cooperative cancellation of a task_id and returns the Task status document. Whether the Territory Solution is unchanged or partially updated follows the originating tool.

ParamètreTypeRequisDescription
task_idstringouitask_id of the working task to stop.

tasks_get

Get Task Status

Tool equivalent of the native MCP tasks/get, listed for clients without the Tasks capability. Returns the Task status document for a task_id (holding up to wait_ms while the task is working). next_action is sleep_and_poll (wait sleep_ms, then one tasks_get), consume_result (one tasks_result call), or stop_error. status=cancelled means the user stopped it. While queued, _meta carries queue_position, queue_depth, queue_lane, and estimated_start_ms, which is advisory and not a wait time. Polling never starts work.

ParamètreTypeRequisDescription
task_idstringouitask_id from the submitting tool's result (same value as job_id).
wait_msinteger | nullnonOptional milliseconds to hold on the server while the task is working so completed tasks return consume_result without an extra poll round-trip.

tasks_result

Get Task Result

Tool equivalent of the native MCP tasks/result, listed for clients without the Tasks capability. Returns the originating tool's terminal result once the task status is completed (consume_result): ts_handle, counts, timings, and map binding, never an inline Territory Solution. A build's ts_handle or task_id (as job_id) is the input analyze takes.

ParamètreTypeRequisDescription
task_idstringouitask_id whose status next_action is consume_result.

set_map_state

Set Map State

Changes the open map's session state: mode, active alignment (active_tal_id), pending job reference, or camera (center [longitude, latitude] and zoom 0-24). Session only: the Territory Solution is not changed (configure_map sets a durable default view). The result's render_ack is read at publish time, so sent_unconfirmed one version behind is normal; render_ack_hint says whether to reread ezt://map-sessions/{map_session_id}/state or resend. camera reports the view in effect and its source (requested, session, map_config, or viewer_current). A set camera stays until changed; switching alignment does not refit.

ParamètreTypeRequisDescription
map_session_idstringouiOpen map session (msess_...) from get_map_visualization.
modestring | nullnon
active_tal_idstring | nullnonAlignment to make active on the open map (session only).
pending_job_referenceobject | nullnonTask reference (task_id from a build submission) the map follows and repaints from when the task completes.
centerarray<number> | nullnon
zoomnumber | nullnon

get_map_selection

Get Map Selection

Returns the most recent committed selection on an open map session (map_session_id): part_layer, part_ids, and selection_task_id when the selection came from request_part_selection. Covers selections the person started from the map legend. realign takes these part_ids as moves with a leaf territory_id.

ParamètreTypeRequisDescription
map_session_idstringouiOpen map session (msess_...) from get_map_visualization.

load_analysis_panel

Load Analysis Panel

Shows a completed analyze result in the open map's analysis dock (single or compare). Needs map_session_id and the analyze task_id/job_id or the full analyze result (with tal_analyses and ts_identity; a partial object returns INVALID_REQUEST). presentation_mode: single, compare, executive, or diagnostic. dismiss=true hides the dock and keeps the statistics on the session. Changes nothing in the Territory Solution. analyze with analysis_panel=single fills the dock in the same call.

ParamètreTypeRequisDescription
map_session_idstringouiOpen map session (msess_...) from get_map_visualization.
analysesarray<object> | nullnon
labelsarray<string> | nullnon
rolesarray<string> | nullnon
presentation_modestring | nullnonPanel mode. territory_metric_grid is default_presentation.view inside the Analyze result, not a presentation_mode.
task_idstring | nullnonCompleted analyze task_id. Same string as job_id. Hydrates analyses when analyses is omitted.
job_idstring | nullnonCompatibility alias for task_id.
dismissbooleannontrue hides the whole dock, header bar included, and keeps stored stats. It takes no analyses, task_id, labels, roles, or presentation_mode.

configure_map

Configure Map

Updates map settings on the Territory Solution and refreshes the live map: project_name (map heading), theme (dark | light basemap and UI style), loaded_part_layers ([] hides ZIP/part outlines; builds never load them), active_part_layer, active_tal_id, center and zoom (default view; the live map jumps there), and point symbology. point_layer_classifications entries are {point_layer, field, method: quantile | equal_interval | categorical | manual, class_count 2-12, channel: color | size | shape, optional colors/sizes/shapes/style}; the server computes the breaks and returns per-class counts. One classification per channel per layer; clear:true removes one. Shapes cover role icons and all Designer symbols (circle, ring, square, triangle, triangle_down, diamond, star, star4, star6, star8, cross, house, pin, pin_solid, square_pin, flag, hexagon, pentagon, shield, arrow_up, building, tower, person, vehicle, gear, paint_swath, plus *_open variants). classification without point_layer is a project-level setting that does not color points. Input: map_session_id (the live map) or ts_handle.

ParamètreTypeRequisDescription
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
project_namestring | nullnonFirst-class Territory Solution short name shown as the Map Component panel title. Persists to ts.properties.map_config.project_name; when an MC session is open for this TS, configure_map pushes config_changed so the title refreshes without reopening the map.
themestring | nullnonMap Component basemap and UI theme ('dark' or 'light'; default 'dark'). Persists to ts.properties.map_config.theme and repaints the open map session live.
loaded_part_layersarray<string> | nullnon
active_part_layerstring | nullnon
active_tal_idstring | nullnonDurable active alignment restored when the Territory Solution opens.
point_layer_classificationsarray<object> | nullnonApplied point-layer symbology. The server computes breaks from the in-session point features, writes ts.properties.point_layers[]. _classification, and pushes config_changed so an open MC repaints. One entry per layer/channel.
classificationobject | nullnonProject-level map_config classification (e.g. primary metric context for selection-impact preview). It leaves point colors unchanged; a patch naming a point_layer is routed to point_layer_classifications with a warning.
presentationobject | nullnonNamed presentation context stored on map_config and restored when the TS opens.
centerarray<number> | nullnonDefault camera center as GeoJSON/MapLibre [longitude, latitude]. Persists to map_config.center. An open MC jumps when this request includes center and/or zoom; later config_changed events without those fields leave the camera where it is.
zoomnumber | nullnonDefault MapLibre zoom (0-24). Persists to map_config.zoom. An open MC jumps when this request includes center and/or zoom.
merge_strategystring | nullnon
expected_revisioninteger | nullnon
expected_content_hashstring | nullnon

show_map_overlay

Show Map Overlay

Shows or hides something on the open map from a plain request ('add US zip codes', 'hide the zips', 'show my accounts') or overlay_kind (part_layer, point_layer, tal, route) with overlay_id. Part layers load at a zoom where they are visible (visibility.camera_action); hiding a part layer leaves territories unchanged. Point layers must already be ingested; a layer in the Territory Solution but missing from the map is re-pushed (status=refreshed, with render_ack). Point layers have no hidden state: hide wording returns HIDE_NOT_SUPPORTED with do_this_next delete_point_layer, which removes the layer; the legend checkbox hides one in a single tab. route re-shows or hides routes calculate_route drew (route_id targets one); with no route yet it returns blocked_by=needs_route. When the user named a camera, do_this_next carries the configure_map call that sets it. Input: map_session_id (preferred) or ts_handle.

ParamètreTypeRequisDescription
user_requeststring | nullnonNatural-language ask, e.g. 'add zips to the map'.
overlay_kindstring | nullnon
overlay_idstring | nullnonCanonical id: us_zips, accounts, tal-current, etc.
route_idstring | nullnonWith overlay_kind=route, targets one route instead of all of them. Without it, every route is re-pushed or cleared. Only re-shows or clears a route calculate_route already produced — it never routes.
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.
expected_revisioninteger | nullnon
expected_content_hashstring | nullnon
merge_strategystring | nullnon

export_geojson

Export GeoJSON

Exports the territory solution as one GeoJSON file to share, archive, or open in EasyTerritory Designer: territory polygons with part_ids, points, and routes with numbered stops, each carrying its displayed style. tal_ids, point_layers, and route_layers narrow it; include_points / include_routes omit a family. Points get territory_id / territory_label here, for one alignment: tal_id, else the only TAL in tal_ids, else the active TAL (result stamped_tal_id). Input: map_session_id, ts_handle, or a completed build job_id. Returns a task whose result is geojson_artifact, share_url (key-less browser download for one hour; give the user share_with_user), and download_url (GET with the API key), never an inline body. Both serve a plain .geojson file. import_geojson reopens the file.

ParamètreTypeRequisDescription
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
job_idstring | nullnontask_id (same value as job_id) of a completed build or ingest task; its Territory Solution is the input.
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.
tal_idsarray<string> | nullnonTALs to materialize; omit for all.
point_layersarray<string> | nullnonPoint layers to include; omit for all.
route_layersarray<string> | nullnonroute_id values to include; omit for all. Each exported route emits one route_path feature plus one route_stop feature per visit (never coalesced).
include_pointsbooleannon
include_routesbooleannonSet false to drop the whole route family regardless of route_layers.
tal_idstring | nullnonAlignment whose territory_id / territory_label are written on the exported points. Defaults to the only TAL in tal_ids, else the active TAL.

import_geojson

Import GeoJSON

Opens a GeoJSON FeatureCollection (points, or a territory file, plain or gzip/zip) as a Territory Solution; returns ts_handle and a summary. A file of any real size moves by reference, never inline: call with no file argument for an upload_url (give the user share_with_user, or POST it with curl_example), then poll import_geojson(upload_handle) every recommended_poll_delay_ms until upload_status=received. geojson_file takes a host file (download_url). Inline geojson / geojson_text / geojson_gzip take at most 256 KB; a larger one returns INLINE_PAYLOAD_TOO_LARGE with the upload_url call to make. Polygons without part_ids import as polygon areas with tal_kind="polygon" (measured by point-in-polygon), or convert to parts with part_layer + overlay_policy="centroid_within". For a Designer project, use import_designer_project.

ParamètreTypeRequisDescription
geojsonobject | nullnonGeoJSON FeatureCollection: point features and/or EZT-exported territory features carrying part_ids. Incoming properties.style (color / opacity / size / shape / weight) on features and point_layers[] / route_layers[] is kept as-is; only missing paint is filled, so a reopened export paints exactly as…
geojson_textstring | nullnon
geojson_gzipstring | nullnonBase64 gzip or zip bytes of a GeoJSON FeatureCollection.
geojson_fileobject | string | nullnonHost file parameter (openai/fileParams): an object with a temporary https download_url, or that URL as a string.
upload_handlestring | nullnonUpload link handle from import_geojson() with no file argument; returns its upload_status.
point_layerstring | nullnonName for the imported point layer (default: points).
tal_labelstring | nullnonLabel for the imported TAL when territory features lack TAL metadata.
part_layerstring | nullnonGeography for overlay assignment (e.g. us_zips). Required with overlay_policy.
overlay_policystring | nullnonExplicit opt-in for converting territory polygons without part_ids into a part-based TAL: assigns parts whose centroids fall inside each polygon.
tal_kindstring | nullnonImport polygons without part_ids directly as an area layer (tal_kind=polygon), measured by point-in-polygon with no part_layer.

link_designer

Link Designer Account

Connects the customer's EasyTerritory Designer account so list_designer_projects, import_designer_project, and push_to_designer can call Designer from the server. Returns status linked (designer_origin, designer_user) or waiting_for_user with a link_url and share_with_user. The user pastes their Designer agent token (ezt_pat_...) on that page; the token is never a tool argument and never appears in a result. Repeated calls report the status; recommended_poll_delay_ms is the interval. unlink=true removes the stored link.

ParamètreTypeRequisDescription
unlinkbooleannon

list_designer_projects

List Designer Projects

Lists the EasyTerritory Designer rolodex projects the linked Designer user can read: project_id, label, description, tags, saved_at, is_mine, and layers (point data present). q filters by text, tag by rolodex tag, mine=true to the user's own. project_id is the input to import_designer_project and push_to_designer. Without a link the error is DESIGNER_NOT_LINKED (see link_designer).

ParamètreTypeRequisDescription
qstring | nullnon
tagstring | nullnon
mineboolean | nullnon

import_designer_project

Import Designer Project

Opens an EasyTerritory Designer project as a Territory Solution: the server exports it from Designer and imports it (part-based territories, non-part polygon areas such as radius buffers or hand-drawn shapes, point layers up to 200,000 points with Designer symbols/classifications, and routes). No file passes through the agent. Returns a task; the result has ts_handle and designer_warnings. With map_session_id the project replaces the open map's content. include_points / point_layers / include_routes / include_manual_polygons narrow it; part_layer forces the part layer. A Designer part layer is mapped to its EZT part layer id (listed in designer_warnings); one with no EZT match fails UNKNOWN_PART_LAYER with available_part_layers; retry with the user's choice as part_layer. Requires link_designer; project_id comes from list_designer_projects.

ParamètreTypeRequisDescription
project_idstringouiDesigner project id from list_designer_projects.
include_pointsbooleannon
point_layersarray<string> | nullnon
include_routesbooleannon
include_manual_polygonsbooleannon
part_layerstring | nullnon
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.

push_to_designer

Save to Designer

Saves a Territory Solution in EasyTerritory Designer from the server. Without project_id it creates a new rolodex project named label (the user's choice; a missing label returns CLARIFICATION_REQUIRED). With project_id it overwrites that project's territories, points, and routes in place. Input: map_session_id, ts_handle, or a completed build job_id. Returns a task; the result has project_id, url, and share_with_user. part_layer_id binds the Designer catalog layer (default: the layer a pulled TAL came from); tal_id picks the alignment, and points are sent with that alignment's territory_id / territory_label; include_points=false sends territories and routes only. Route stops link to point layers by point_id. run_plugin / push_power_bi (default false) run the project's post-save plugin / refresh Power BI. Requires link_designer.

ParamètreTypeRequisDescription
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
job_idstring | nullnontask_id (same value as job_id) of a completed build or ingest task; its Territory Solution is the input.
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.
project_idstring | nullnonDesigner project to overwrite in place; omit to create a new project named label.
labelstring | nullnon
part_layer_idstring | nullnonDesigner catalog part layer to bind; defaults to the layer a pulled TAL came from.
tal_idstring | nullnonAlignment to push; defaults to the active TAL.
include_pointsbooleannon
run_pluginbooleannon
push_power_bibooleannon

list_dataverse_views

List Dynamics 365 Views

Microsoft Copilot only (Entra sign-in): lists the Dynamics 365 account views the signed-in user can read, so their accounts import without a file. Without environment_url it lists the user's environments; with one environment it goes straight to its views, with several it returns status choose_environment and an ask_user. Views carry view_id, name, kind (system | personal), and is_default; point_readiness samples active accounts for coordinates vs address-only (address rows are geocoded at ingest). Next: import_dataverse_view(environment_url, view_id). Other clients get DATAVERSE_NOT_AVAILABLE: use request_account_upload (a CSV file) or list_designer_projects instead. DATAVERSE_CONSENT_REQUIRED carries admin_consent_url for the user's Microsoft admin.

ParamètreTypeRequisDescription
environment_urlstring | nullnonDynamics 365 environment, e.g. https://contoso.crm.dynamics.com; when absent the result lists environments.

import_dataverse_view

Import Dynamics 365 View

Microsoft Copilot only (Entra sign-in): reads a Dynamics 365 account view server to server, as the signed-in user, and stages it as an account upload. No rows pass through the agent. view_id (or an exact view_name) comes from list_dataverse_views. The server adds accountid, name, and the address1 location columns to the view; they arrive as latitude, longitude, address, city, state, postal_code, country. Returns a task (follow next_action / sleep_ms, fetch the result once); the result is the same shape as an account upload: upload_handle, row_count, csv_headers, preview, upload_warnings, geocode_plan, and suggested_ingest. Confirm the column roles with the user, then ingest_accounts(**suggested_ingest.args). Limit 100,000 accounts (DATAVERSE_VIEW_TOO_LARGE). Other clients get DATAVERSE_NOT_AVAILABLE: use request_account_upload instead.

ParamètreTypeRequisDescription
environment_urlstringouiDynamics 365 environment from list_dataverse_views.
view_idstring | nullnonAccount view id from list_dataverse_views (system or personal).
view_namestring | nullnonExact view name, when view_id is unknown. Ambiguous names return DATAVERSE_VIEW_AMBIGUOUS.
point_layerstringnonPoint layer name ingest_accounts will create.
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.

publish_to_dataverse

Publish Stamps to Dynamics 365

Microsoft Copilot (Entra sign-in): writes stamped point-layer columns back to Dynamics 365 accounts keyed by accountid (1:1 Account PATCH). Needs map_session_id or ts_handle. territory_id / territory_label are computed at publish for one alignment (tal_id, default the active TAL; result stamped_tal_id). Points also carry part_id, calculate_route (route_id, route_label, stop_sequence), schedule_visits (schedule_id, visit_count, schedule_days, schedule_dates, contractor_id, contractor_label), isochrone_build (isochrone_tal_id, isochrone_ids, isochrone_labels, isochrone_count), and cluster_points (group_id, group_label). A _visits layer resolves to its 1:1 parent account layer and maps schedule_day/date to schedule_days/dates. field_map maps point columns to Dynamics account logical attributes (primitive columns or territoryid / ownerid lookups by name or GUID). confirm=false (default) or no field_map is a read-only preflight: status=confirmation_required, stamped_columns, candidate_target_attributes, preview_updates, ask_user. confirm=true queues the batch PATCH task.

ParamètreTypeRequisDescription
environment_urlstring | nullnonDynamics 365 environment (e.g. https://contoso.crm.dynamics.com). Defaults to the environment the point layer was imported from, or the user's sole environment.
point_layerstringnonSource point layer in the Territory Solution (default 'accounts'). A _visits layer resolves to its 1:1 parent account layer.
field_mapobject | nullnonMap of stamped point column -> Dynamics 365 account logical attribute name (e.g. {'territory_label': 'territoryid', 'route_label': 'new_routename'}). When absent, the preflight lists stamped_columns and candidate_target_attributes.
include_unassignedbooleannonWhen true, accounts with an empty/unassigned stamp clear the target Dynamics attribute to null. Default false updates accounts with non-empty stamped values.
confirmbooleannonFalse (default) runs the read-only preflight to preview matched accounts and validate attributes/lookups. True dispatches the batch PATCH job after user confirmation.
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
tal_idstring | nullnonAlignment whose territory_id / territory_label are published. Defaults to the active TAL.

publish_appointments_to_dataverse

Publish Appointments to Dynamics 365

Microsoft Copilot (Entra sign-in): writes Dynamics 365 Appointments onto reps' calendars, one per account in a route or dated schedule; Outlook syncs from Dynamics. Takes map_session_id or ts_handle and one source. route_ids (calculate_route): start = departure + drive time + earlier onsite time (time_basis=routed); route_departures supplies a missing depart_at. visit_layer (schedule_visits with calendar dates): stacks each rep's day from day_start_time (time_basis=approximate). Appointments cover onsite time; drive time goes in the description. Visits without saved onsite time require default_duration_minutes (no default; returns needs_appointment_duration). organizer_map maps a route or rep to a Dynamics user, else default_organizer, else the signed-in user. confirm=false (default) previews (confirmation_required, organizers, counts, preview_appointments, ask_user); confirm=true queues the write. Repeat publishes update earlier open appointments. Account columns use publish_to_dataverse.

ParamètreTypeRequisDescription
environment_urlstring | nullnonDynamics 365 environment (e.g. https://contoso.crm.dynamics.com). Defaults to the environment the accounts were imported from, or the user's sole environment.
route_idsarray<string> | nullnoncalculate_route route_id values to publish (exact clock times). Exclusive with visit_layer.
visit_layerstring | nullnonschedule_visits visit layer (e.g. accounts_visits) to publish with approximate times. Needs schedule dates, timezone, and day_start_time. Exclusive with route_ids.
timezonestring | nullnonIANA time zone of the visits (e.g. America/New_York). Required for visit_layer and for a route departure that carries no UTC offset. No default.
day_start_timestring | nullnonvisit_layer only: local time each rep's day starts, HH:MM 24-hour. No default.
gap_minutesnumbernonvisit_layer only: minutes left between stacked visits. Default 0.
default_duration_minutesnumber | nullnonMinutes for any stop with no saved onsite (dwell) time; sets appointment length and spacing before the next stop. No default (required when any visit lacks dwell_minutes). default_duration_used_count reports how many used it.
route_departuresobject | nullnonroute_id -> local start date-time (YYYY-MM-DDTHH:MM) for a route with no depart_at, or to move a route to another day.
organizer_mapobject | nullnonRoute label, route_id, or rep name -> Dynamics user (full name, email, or systemuserid). That user owns and organizes the appointments.
default_organizerstring | nullnonDynamics user for visits with no rep. Defaults to the signed-in user.
rep_fieldstring | nullnonvisit_layer only: visit column naming the rep. Default contractor_label.
subject_prefixstring | nullnonSubject is ' : '. Default 'Visit'.
confirmbooleannonFalse (default) runs the read-only preflight. True queues the write after the user confirms the count, the calendars, and the times.
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.

ezt

EasyTerritory Assistant

Plain-language orchestrator: takes request (the goal) and runs the matching workflow in one call, optionally with csv_file (a host file parameter), accounts_handle, assignments_handle, map_session_id, or ts_handle. An uploaded CSV is parsed, staged, and ingested onto the open map. target_hours / workload_target map to a fixed-workload auto_build. Missing build inputs (part layer, alignment name, sizing, balance, dwell) return CLARIFICATION_REQUIRED with the questions. The granular tools do the same steps individually.

ParamètreTypeRequisDescription
requeststringoui
state_factsobject | nullnon
argsobject | nullnon
csv_fileobject | string | nullnonHost file reference: an object with download_url (ChatGPT/OpenAI file param) or data (data: URI), or a URL / data: URI string. Local paths and bare file ids are rejected; for those, send the user to upload_url.
accounts_handlestring | nullnonupload_handle (aup_...) from request_account_upload.
assignments_handlestring | nullnonupload_handle (aup_...) from request_assignment_upload.
ts_handlestring | nullnonTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
map_session_idstring | nullnonOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://mcp.easyterritory.ai/. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http ezt-mcp https://mcp.easyterritory.ai/
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : ezt-mcp ; URL : https://mcp.easyterritory.ai/
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : ezt-mcp ; Server URL : https://mcp.easyterritory.ai/ ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "ezt-mcp": {
      "url": "https://mcp.easyterritory.ai/"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "ezt-mcp": {
      "type": "http",
      "url": "https://mcp.easyterritory.ai/",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "ezt-mcp": {
      "url": "https://mcp.easyterritory.ai/"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "ezt-mcp": {
      "httpUrl": "https://mcp.easyterritory.ai/"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.ezt-mcp]
url = "https://mcp.easyterritory.ai/"

Citer cette source

Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.

EasyTerritory MCP · L’Atlas · Test du

Markdown
[EasyTerritory MCP — L’Atlas](https://latlas.dev/mcp/ai.easyterritory/ezt-mcp)
Méthode et limites des tests

Source : Registre officiel MCP · relevé le 3 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.