Skip to main content
Glama

Build Drive-Time Area

isochrone_build

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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "origins": "<origins>",
      "bands": "<bands>"
    },
    "name": "isochrone_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
avoidNoRoad classes to keep out of the reachable area. Only values both providers document.
bandsYesBudgets 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).
tal_idNoStable identity for the TAL. Reusing an existing id replaces that TAL. Defaults to a slug of tal_label.
originsYesCenters to measure reachability from. Provider calls are origins x bands, so this is capped (default 25, TOO_MANY_ORIGINS).
trafficNoTraffic-aware travel times. Ignored for a distance budget.
depart_atNoRFC 3339 departure time, which shapes traffic-aware boundaries. There is no arrive_at: reachable range is forward-only.
tal_labelNoDisplay name for the TAL. Defaults to a readable summary, e.g. "20 min drive time".
ts_handleNoTerritory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline.
route_typeNofastest
travel_modeNoNarrower than calculate_route on purpose: neither provider offers a pedestrian or bicycle reachable range.car
map_session_idNoOpen map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set.

Output Schema

NameRequiredDescriptionDefault
okYes
errorNoPresent when ok is false.
resultNoPresent when ok is true.
warningsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed24 schema fields changed
    • addedInput schema / properties / avoid / description
      Added value: +"Road classes to keep out of the reachable area. Only values both providers document."
    • addedInput schema / properties / bands / description
      Added value: +"Budgets 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)."
    • changedInput schema / properties / bands / items / additionalProperties
      Previous value: -trueNew value: +false
    • addedInput schema / properties / bands / items / description
      Added value: +"One reachable-range budget. Exactly one of time_budget_seconds or distance_budget_meters, and every band in a call must use the same one."
    • addedInput schema / properties / bands / items / oneOf
      Added value: +[
      +  {
      +    "required": [
      +      "time_budget_seconds"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "distance_budget_meters"
      +    ]
      +  }
      +]
    • addedInput schema / properties / bands / items / properties
      Added value: +{
      +  "band_id": {
      +    "description": "Stable identity for the band. Defaults to a slug of the budget, e.g. 20min or 25km.",
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "distance_budget_meters": {
      +    "description": "Drive-distance budget. Capped at 500000m by the stricter provider.",
      +    "exclusiveMinimum": 0,
      +    "maximum": 500000,
      +    "type": "number"
      +  },
      +  "label": {
      +    "description": "Display suffix for this band's territories. Defaults to a readable budget, e.g. \"20 min\".",
      +    "type": "string"
      +  },
      +  "time_budget_seconds": {
      +    "description": "Drive-time budget. Capped at 21600s (6h) by the stricter provider.",
      +    "exclusiveMinimum": 0,
      +    "maximum": 21600,
      +    "type": "number"
      +  }
      +}
    • addedInput schema / properties / bands / minItems
      Added value: +1
    • removedInput schema / properties / bands / title
      Removed value: -"Bands"
    • addedInput schema / properties / depart_at / description
      Added value: +"RFC 3339 departure time, which shapes traffic-aware boundaries. There is no arrive_at: reachable range is forward-only."
    • addedInput schema / properties / map_session_id / description
      Added value: +"Open map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set."
    • addedInput schema / properties / origins / description
      Added value: +"Centers to measure reachability from. Provider calls are origins x bands, so this is capped (default 25, TOO_MANY_ORIGINS)."
    • addedInput schema / properties / origins / items / description
      Added value: +"Either inline coordinates or a reference to points already in the territory solution. Same shape as calculate_route's stopSource, minus the ordering fields."
    • addedInput schema / properties / origins / items / properties
      Added value: +{
      +  "filter": {
      +    "additionalProperties": true,
      +    "description": "Property equality filter applied to the point layer, e.g. {\"type\": \"branch\"}. A list value matches any member.",
      +    "type": "object"
      +  },
      +  "label": {
      +    "description": "Display name for an inline origin.",
      +    "type": "string"
      +  },
      +  "label_field": {
      +    "description": "Point property to use as the origin label, which seeds the territory name.",
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "latitude": {
      +    "maximum": 90,
      +    "minimum": -90,
      +    "type": "number"
      +  },
      +  "longitude": {
      +    "maximum": 180,
      +    "minimum": -180,
      +    "type": "number"
      +  },
      +  "origin_id": {
      +    "description": "Stable identity for an inline origin. Echoed on every band territory and in the isochrone provenance block. Defaults to origin-1, origin-2, ...",
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "point_ids": {
      +    "description": "Specific point IDs from point_layer. Each resolved point becomes one origin.",
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  "point_layer": {
      +    "description": "Ingested point layer to draw origins from. Resolved against ts_handle / map_session_id.",
      +    "minLength": 1,
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / origins / minItems
      Added value: +1
    • removedInput schema / properties / origins / title
      Removed value: -"Origins"
    • addedInput schema / properties / tal_id / description
      Added value: +"Stable identity for the TAL. Reusing an existing id replaces that TAL. Defaults to a slug of tal_label."
    • addedInput schema / properties / tal_label / description
      Added value: +"Display name for the TAL. Defaults to a readable summary, e.g. \"20 min drive time\"."
    • addedInput schema / properties / traffic / description
      Added value: +"Traffic-aware travel times. Ignored for a distance budget."
    • addedInput schema / properties / travel_mode / description
      Added value: +"Narrower than calculate_route on purpose: neither provider offers a pedestrian or bicycle reachable range."
    • addedInput schema / properties / ts_handle / description
      Added value: +"Territory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline."
    • removedOutput schema / additionalProperties
      Removed value: -true
    • addedOutput schema / properties
      Added value: +{
      +  "error": {
      +    "description": "Present when ok is false.",
      +    "properties": {
      +      "ask_user": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "code": {
      +        "type": "string"
      +      },
      +      "details": {
      +        "type": "object"
      +      },
      +      "do_this_next": {
      +        "type": "object"
      +      },
      +      "message": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "ok": {
      +    "type": "boolean"
      +  },
      +  "result": {
      +    "description": "Present when ok is true.",
      +    "properties": {
      +      "created_at": {
      +        "type": "string"
      +      },
      +      "do_this_next": {
      +        "type": "object"
      +      },
      +      "estimated_remaining_ms": {
      +        "type": "integer"
      +      },
      +      "estimated_start_ms": {
      +        "type": "integer"
      +      },
      +      "expires_at": {
      +        "type": "string"
      +      },
      +      "job_id": {
      +        "type": "string"
      +      },
      +      "next_action": {
      +        "type": "string"
      +      },
      +      "next_poll_at": {
      +        "type": "string"
      +      },
      +      "phase": {
      +        "type": "string"
      +      },
      +      "poll_interval_ms": {
      +        "type": "integer"
      +      },
      +      "poll_loop": {
      +        "type": "object"
      +      },
      +      "progress": {
      +        "type": "number"
      +      },
      +      "queue_depth": {
      +        "type": "integer"
      +      },
      +      "queue_lane": {},
      +      "queue_position": {
      +        "type": "integer"
      +      },
      +      "recommended_poll_delay_ms": {
      +        "type": "integer"
      +      },
      +      "required_input": {
      +        "type": "object"
      +      },
      +      "result_resource_uri": {
      +        "type": "string"
      +      },
      +      "sleep_ms": {
      +        "type": "integer"
      +      },
      +      "status": {
      +        "type": "string"
      +      },
      +      "status_resource_uri": {
      +        "type": "string"
      +      },
      +      "task_id": {
      +        "type": "string"
      +      },
      +      "terminal": {
      +        "type": "boolean"
      +      },
      +      "tool_name": {
      +        "type": "string"
      +      },
      +      "total": {
      +        "type": [
      +          "null",
      +          "number"
      +        ]
      +      },
      +      "user_cancelled": {
      +        "type": "boolean"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "warnings": {
      +    "items": {
      +      "properties": {
      +        "code": {
      +          "type": "string"
      +        },
      +        "message": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  }
      +}
    • addedOutput schema / required
      Added value: +[
      +  "ok"
      +]
    • removedOutput schema / title
      Removed value: -"isochrone_buildDictOutput"
  2. Changed1 schema field changed
    • removedInput schema / properties / guidance_handle
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Guidance Handle"
      -}
  3. Changed3 schema fields changed
    • removedInput schema / properties / part_layer
      Removed value: -{
      -  "title": "Part Layer",
      -  "type": "string"
      -}
    • removedInput schema / properties / part_overlay
      Removed value: -{
      -  "default": "centroid_within",
      -  "title": "Part Overlay",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "origins",
      -  "bands",
      -  "part_layer"
      -]New value: +[
      +  "origins",
      +  "bands"
      +]
  4. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Well beyond the annotations: it discloses hard limits (25 origins, 5 bands, 6h, 500km), that provider calls are origins x bands, the error codes MIXED_BUDGET_TYPES / ISOCHRONE_NOT_CONFIGURED / PROVIDER_QUOTA_EXCEEDED / TOO_MANY_ORIGINS, the check order (quota before provider call), that the call is asynchronous returning a task, and that areas may overlap so analyze double-counts. One gap against destructiveHint=false: reusing an existing tal_id silently replaces that TAL, a side effect the annotations do not convey and the description mentions only in passing inside the schema.

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

Conciseness4/5

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

Front-loaded with the purpose sentence, then origins, bands, limits, errors, and return in roughly the order an agent needs them — no filler and no restatement of the title. It is very dense in a single block, packing quota and error codes into the same paragraph as the geometry semantics, which slightly hurts scannability but every sentence carries information.

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

Completeness5/5

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

For an 11-parameter, quota-metered, asynchronous, open-world tool this covers what an agent must know to call it correctly: required inputs, unit consistency rule, caps, auth prerequisite (provider key), failure codes, and the asynchronous task return. An output schema exists and is correctly not duplicated in prose.

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

Parameters4/5

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

With 91% schema coverage the schema already carries most parameter meaning, but the description adds semantics the schema does not state as clearly: origins may be inline coordinates or a point-layer reference, exactly one unit type across all bands per call, and one band yielding one area per origin versus several yielding nested areas. It also narrows travel_mode to car or truck and confirms depart_at is supported while arrive_at is not — all genuine added value over the schema.

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

Purpose5/5

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

States a specific verb and resource — draws reachable areas from origins within a time/distance budget and installs each as a territory in a drive-time alignment — plus the domain synonyms (drive-time area, service area, catchment) that agents resolve queries against. It is clearly distinguishable from calculate_route (point-to-point) and from the realign/split/merge family, which the description explicitly says will reject these TALs.

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

Usage Guidelines4/5

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

Explicit routing is given for the adjacent operations: realign/split/merge/rebalance return ISOCHRONE_TAL_NOT_EDITABLE, so those TALs are not editable by the structural tools, and analyze is named as the consumer that counts accounts in overlapping areas. What is missing is a positive statement of when to choose this over calculate_route or auto_build/direct_build when an agent is deciding how to construct territories from scratch.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources