You're viewing a demo portfolio

Join the waitlist
PRSM

plan_trip

Active

Tool of mcp-lad-lviv-ua

declared in 1.3.4

Plans a transit trip from an origin stop to a destination stop using the static route graph. Returns direct options (single route) and 1-transfer options sorted by fewest stops. Use when the user asks 'how do I get from A to B?' or needs route recommendations between two stops. Requires numeric stop codes for both origin and destination; use `get_stops_around_location` first if you only have addresses or coordinates. Does NOT account for realtime service disruptions or live vehicle positions — combine with `get_stop_realtime` for live ETAs after planning.

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "origin_stop_id",
    "destination_stop_id"
  ],
  "properties": {
    "origin_stop_id": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 9007199254740991,
          "description": "Positive integer stop code (e.g. 707).",
          "exclusiveMinimum": 0
        },
        {
          "type": "string",
          "pattern": "^\\d+$",
          "description": "Stop code as a digits-only string (e.g. \"707\")."
        }
      ],
      "description": "Numeric stop code of the departure stop."
    },
    "destination_stop_id": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 9007199254740991,
          "description": "Positive integer stop code (e.g. 707).",
          "exclusiveMinimum": 0
        },
        {
          "type": "string",
          "pattern": "^\\d+$",
          "description": "Stop code as a digits-only string (e.g. \"707\")."
        }
      ],
      "description": "Numeric stop code of the destination stop."
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.50.

Parent server

mcp-lad-lviv-ua

https://github.com/vbhjckfd/timetable-api-node

2/7 registries
View full server →