Skip to main content
Glama

Plan a trip

plan_trip
Read-onlyIdempotent

Compare ride-hailing with public transport: trotro in Ghana, or buses leaving now in England, Scotland and Wales. This is the default tool for multimodal trip planning.

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": {
      "pickup": "<pickup>",
      "destination": "<destination>"
    },
    "name": "plan_trip"
  }
}

Input Schema

NameRequiredDescriptionDefault
pickupYesResolved pickup place
destinationYesResolved destination place

Output Schema

NameRequiredDescriptionDefault
busNoBus options, present only for trips within England, Scotland and Wales
ridesYes
statusYes
trotroYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / rides / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "data": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "complete": {
      -            "type": "boolean"
      -          },
      -          "optionCounts": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "returned": {
      -                "maximum": 9007199254740991,
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "total": {
      -                "maximum": 9007199254740991,
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "truncated": {
      -                "type": "boolean"
      -              }
      -            },
      -            "required": [
      -              "total",
      -              "returned",
      -              "truncated"
      -            ],
      -            "type": "object"
      -          },
      -          "options": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "available": {
      -                  "type": "boolean"
      -                },
      -                "etaMinutes": {
      -                  "type": "number"
      -                },
      -                "id": {
      -                  "type": "string"
      -                },
      -                "name": {
      -                  "type": "string"
      -                },
      -                "price": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "amount": {
      -                      "type": "number"
      -                    },
      -                    "currency": {
      -                      "type": "string"
      -                    },
      -                    "originalAmount": {
      -                      "type": "number"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "provider": {
      -                  "type": "string"
      -                },
      -                "type": {
      -                  "type": "string"
      -                },
      -                "vehicleType": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "price",
      -                "available"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "options",
      -          "optionCounts",
      -          "complete"
      -        ],
      -        "type": "object"
      -      },
      -      "status": {
      -        "enum": [
      -          "complete",
      -          "partial"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "data"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "enum": [
      -              "cancelled",
      -              "timeout",
      -              "unavailable"
      -            ],
      -            "type": "string"
      -          },
      -          "message": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message"
      -        ],
      -        "type": "object"
      -      },
      -      "status": {
      -        "const": "failed",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "complete": {
      +            "type": "boolean"
      +          },
      +          "optionCounts": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "returned": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "total": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "truncated": {
      +                "type": "boolean"
      +              }
      +            },
      +            "required": [
      +              "total",
      +              "returned",
      +              "truncated"
      +            ],
      +            "type": "object"
      +          },
      +          "options": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "available": {
      +                  "type": "boolean"
      +                },
      +                "category": {
      +                  "description": "\"ride\" for a ride, \"courier\" for a parcel delivery quote, which is not a ride",
      +                  "type": "string"
      +                },
      +                "etaMinutes": {
      +                  "type": "number"
      +                },
      +                "id": {
      +                  "type": "string"
      +                },
      +                "name": {
      +                  "type": "string"
      +                },
      +                "price": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "amount": {
      +                      "type": "number"
      +                    },
      +                    "currency": {
      +                      "type": "string"
      +                    },
      +                    "originalAmount": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "provider": {
      +                  "type": "string"
      +                },
      +                "type": {
      +                  "type": "string"
      +                },
      +                "vehicleType": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "price",
      +                "available"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "options",
      +          "optionCounts",
      +          "complete"
      +        ],
      +        "type": "object"
      +      },
      +      "status": {
      +        "enum": [
      +          "complete",
      +          "partial"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "data"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "enum": [
      +              "cancelled",
      +              "timeout",
      +              "unavailable"
      +            ],
      +            "type": "string"
      +          },
      +          "message": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message"
      +        ],
      +        "type": "object"
      +      },
      +      "status": {
      +        "const": "failed",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed2 schema fields changed
    • addedOutput schema / properties / bus
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "data": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "complete": {
      +              "type": "boolean"
      +            },
      +            "routeCounts": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "direct": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "returned": {
      +                      "maximum": 9007199254740991,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "total": {
      +                      "maximum": 9007199254740991,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "truncated": {
      +                      "type": "boolean"
      +                    }
      +                  },
      +                  "required": [
      +                    "total",
      +                    "returned",
      +                    "truncated"
      +                  ],
      +                  "type": "object"
      +                },
      +                "rideConnection": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "returned": {
      +                      "maximum": 9007199254740991,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "total": {
      +                      "maximum": 9007199254740991,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "truncated": {
      +                      "type": "boolean"
      +                    }
      +                  },
      +                  "required": [
      +                    "total",
      +                    "returned",
      +                    "truncated"
      +                  ],
      +                  "type": "object"
      +                }
      +              },
      +              "required": [
      +                "direct",
      +                "rideConnection"
      +              ],
      +              "type": "object"
      +            },
      +            "routes": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "arrivalTime": {
      +                    "type": "string"
      +                  },
      +                  "complete": {
      +                    "type": "boolean"
      +                  },
      +                  "currency": {
      +                    "type": "string"
      +                  },
      +                  "departureTime": {
      +                    "type": "string"
      +                  },
      +                  "destinationStop": {
      +                    "anyOf": [
      +                      {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "lat": {
      +                            "type": "number"
      +                          },
      +                          "lng": {
      +                            "type": "number"
      +                          },
      +                          "name": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "type": "object"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "fareRange": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "max": {
      +                        "type": "number"
      +                      },
      +                      "min": {
      +                        "type": "number"
      +                      }
      +                    },
      +                    "required": [
      +                      "min",
      +                      "max"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "id": {
      +                    "type": "string"
      +                  },
      +                  "originStop": {
      +                    "anyOf": [
      +                      {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "lat": {
      +                            "type": "number"
      +                          },
      +                          "lng": {
      +                            "type": "number"
      +                          },
      +                          "name": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "type": "object"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "segmentCounts": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "returned": {
      +                        "maximum": 9007199254740991,
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      "total": {
      +                        "maximum": 9007199254740991,
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      "truncated": {
      +                        "type": "boolean"
      +                      }
      +                    },
      +                    "required": [
      +                      "total",
      +                      "returned",
      +                      "truncated"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "segments": {
      +                    "items": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "alightAt": {
      +                          "anyOf": [
      +                            {
      +                              "additionalProperties": false,
      +                              "properties": {
      +                                "lat": {
      +                                  "type": "number"
      +                                },
      +                                "lng": {
      +                                  "type": "number"
      +                                },
      +                                "name": {
      +                                  "type": "string"
      +                                }
      +                              },
      +                              "type": "object"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "arrivalTime": {
      +                          "description": "Timetabled bus arrival, ISO 8601",
      +                          "type": "string"
      +                        },
      +                        "boardAt": {
      +                          "anyOf": [
      +                            {
      +                              "additionalProperties": false,
      +                              "properties": {
      +                                "lat": {
      +                                  "type": "number"
      +                                },
      +                                "lng": {
      +                                  "type": "number"
      +                                },
      +                                "name": {
      +                                  "type": "string"
      +                                }
      +                              },
      +                              "type": "object"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "currency": {
      +                          "type": "string"
      +                        },
      +                        "departureTime": {
      +                          "description": "Timetabled bus departure, ISO 8601",
      +                          "type": "string"
      +                        },
      +                        "fare": {
      +                          "type": "number"
      +                        },
      +                        "fareBasis": {
      +                          "description": "How the bus fare was set: the operator's published single, a local flat fare, an estimate at England's national fare cap, or unavailable",
      +                          "enum": [
      +                            "operator-published",
      +                            "local-flat-fare",
      +                            "national-fare-cap-estimate",
      +                            "unavailable"
      +                          ],
      +                          "type": "string"
      +                        },
      +                        "fareMin": {
      +                          "description": "Lowest listed bus fare when the operator lists several",
      +                          "type": "number"
      +                        },
      +                        "routeDestination": {
      +                          "type": "string"
      +                        },
      +                        "routeName": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "boardAt",
      +                        "alightAt"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "timeZone": {
      +                    "type": "string"
      +                  },
      +                  "totalFare": {
      +                    "type": "number"
      +                  },
      +                  "transferCount": {
      +                    "type": "number"
      +                  },
      +                  "walkingDistanceFromDestinationKm": {
      +                    "type": "number"
      +                  },
      +                  "walkingDistanceToPickupKm": {
      +                    "type": "number"
      +                  },
      +                  "walkingUncertaintyNote": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "originStop",
      +                  "destinationStop",
      +                  "segments",
      +                  "segmentCounts",
      +                  "complete"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "routesRequiringRideConnection": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "arrivalTime": {
      +                    "type": "string"
      +                  },
      +                  "complete": {
      +                    "type": "boolean"
      +                  },
      +                  "currency": {
      +                    "type": "string"
      +                  },
      +                  "departureTime": {
      +                    "type": "string"
      +                  },
      +                  "destinationStop": {
      +                    "anyOf": [
      +                      {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "lat": {
      +                            "type": "number"
      +                          },
      +                          "lng": {
      +                            "type": "number"
      +                          },
      +                          "name": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "type": "object"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "fareRange": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "max": {
      +                        "type": "number"
      +                      },
      +                      "min": {
      +                        "type": "number"
      +                      }
      +                    },
      +                    "required": [
      +                      "min",
      +                      "max"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "id": {
      +                    "type": "string"
      +                  },
      +                  "originStop": {
      +                    "anyOf": [
      +                      {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "lat": {
      +                            "type": "number"
      +                          },
      +                          "lng": {
      +                            "type": "number"
      +                          },
      +                          "name": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "type": "object"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "segmentCounts": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "returned": {
      +                        "maximum": 9007199254740991,
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      "total": {
      +                        "maximum": 9007199254740991,
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      "truncated": {
      +                        "type": "boolean"
      +                      }
      +                    },
      +                    "required": [
      +                      "total",
      +                      "returned",
      +                      "truncated"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "segments": {
      +                    "items": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "alightAt": {
      +                          "anyOf": [
      +                            {
      +                              "additionalProperties": false,
      +                              "properties": {
      +                                "lat": {
      +                                  "type": "number"
      +                                },
      +                                "lng": {
      +                                  "type": "number"
      +                                },
      +                                "name": {
      +                                  "type": "string"
      +                                }
      +                              },
      +                              "type": "object"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "arrivalTime": {
      +                          "description": "Timetabled bus arrival, ISO 8601",
      +                          "type": "string"
      +                        },
      +                        "boardAt": {
      +                          "anyOf": [
      +                            {
      +                              "additionalProperties": false,
      +                              "properties": {
      +                                "lat": {
      +                                  "type": "number"
      +                                },
      +                                "lng": {
      +                                  "type": "number"
      +                                },
      +                                "name": {
      +                                  "type": "string"
      +                                }
      +                              },
      +                              "type": "object"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "currency": {
      +                          "type": "string"
      +                        },
      +                        "departureTime": {
      +                          "description": "Timetabled bus departure, ISO 8601",
      +                          "type": "string"
      +                        },
      +                        "fare": {
      +                          "type": "number"
      +                        },
      +                        "fareBasis": {
      +                          "description": "How the bus fare was set: the operator's published single, a local flat fare, an estimate at England's national fare cap, or unavailable",
      +                          "enum": [
      +                            "operator-published",
      +                            "local-flat-fare",
      +                            "national-fare-cap-estimate",
      +                            "unavailable"
      +                          ],
      +                          "type": "string"
      +                        },
      +                        "fareMin": {
      +                          "description": "Lowest listed bus fare when the operator lists several",
      +                          "type": "number"
      +                        },
      +                        "routeDestination": {
      +                          "type": "string"
      +                        },
      +                        "routeName": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "boardAt",
      +                        "alightAt"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "timeZone": {
      +                    "type": "string"
      +                  },
      +                  "totalFare": {
      +                    "type": "number"
      +                  },
      +                  "transferCount": {
      +                    "type": "number"
      +                  },
      +                  "walkingDistanceFromDestinationKm": {
      +                    "type": "number"
      +                  },
      +                  "walkingDistanceToPickupKm": {
      +                    "type": "number"
      +                  },
      +                  "walkingUncertaintyNote": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "originStop",
      +                  "destinationStop",
      +                  "segments",
      +                  "segmentCounts",
      +                  "complete"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "skipNote": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "routes",
      +            "routesRequiringRideConnection",
      +            "routeCounts",
      +            "complete"
      +          ],
      +          "type": "object"
      +        },
      +        "status": {
      +          "enum": [
      +            "complete",
      +            "partial"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "status",
      +        "data"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "error": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "code": {
      +              "enum": [
      +                "cancelled",
      +                "timeout",
      +                "unavailable"
      +              ],
      +              "type": "string"
      +            },
      +            "message": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "code",
      +            "message"
      +          ],
      +          "type": "object"
      +        },
      +        "status": {
      +          "const": "failed",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "status",
      +        "error"
      +      ],
      +      "type": "object"
      +    }
      +  ],
      +  "description": "Bus options, present only for trips within England, Scotland and Wales"
      +}
    • changedOutput schema / properties / trotro / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "data": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "complete": {
      -            "type": "boolean"
      -          },
      -          "routeCounts": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "direct": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "returned": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "total": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "truncated": {
      -                    "type": "boolean"
      -                  }
      -                },
      -                "required": [
      -                  "total",
      -                  "returned",
      -                  "truncated"
      -                ],
      -                "type": "object"
      -              },
      -              "rideConnection": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "returned": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "total": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "truncated": {
      -                    "type": "boolean"
      -                  }
      -                },
      -                "required": [
      -                  "total",
      -                  "returned",
      -                  "truncated"
      -                ],
      -                "type": "object"
      -              }
      -            },
      -            "required": [
      -              "direct",
      -              "rideConnection"
      -            ],
      -            "type": "object"
      -          },
      -          "routes": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "complete": {
      -                  "type": "boolean"
      -                },
      -                "currency": {
      -                  "type": "string"
      -                },
      -                "destinationStop": {
      -                  "anyOf": [
      -                    {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "lat": {
      -                          "type": "number"
      -                        },
      -                        "lng": {
      -                          "type": "number"
      -                        },
      -                        "name": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "type": "object"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "id": {
      -                  "type": "string"
      -                },
      -                "originStop": {
      -                  "anyOf": [
      -                    {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "lat": {
      -                          "type": "number"
      -                        },
      -                        "lng": {
      -                          "type": "number"
      -                        },
      -                        "name": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "type": "object"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "segmentCounts": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "returned": {
      -                      "maximum": 9007199254740991,
      -                      "minimum": 0,
      -                      "type": "integer"
      -                    },
      -                    "total": {
      -                      "maximum": 9007199254740991,
      -                      "minimum": 0,
      -                      "type": "integer"
      -                    },
      -                    "truncated": {
      -                      "type": "boolean"
      -                    }
      -                  },
      -                  "required": [
      -                    "total",
      -                    "returned",
      -                    "truncated"
      -                  ],
      -                  "type": "object"
      -                },
      -                "segments": {
      -                  "items": {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "alightAt": {
      -                        "anyOf": [
      -                          {
      -                            "additionalProperties": false,
      -                            "properties": {
      -                              "lat": {
      -                                "type": "number"
      -                              },
      -                              "lng": {
      -                                "type": "number"
      -                              },
      -                              "name": {
      -                                "type": "string"
      -                              }
      -                            },
      -                            "type": "object"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      },
      -                      "boardAt": {
      -                        "anyOf": [
      -                          {
      -                            "additionalProperties": false,
      -                            "properties": {
      -                              "lat": {
      -                                "type": "number"
      -                              },
      -                              "lng": {
      -                                "type": "number"
      -                              },
      -                              "name": {
      -                                "type": "string"
      -                              }
      -                            },
      -                            "type": "object"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      },
      -                      "currency": {
      -                        "type": "string"
      -                      },
      -                      "fare": {
      -                        "type": "number"
      -                      },
      -                      "routeDestination": {
      -                        "type": "string"
      -                      },
      -                      "routeName": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "boardAt",
      -                      "alightAt"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "totalFare": {
      -                  "type": "number"
      -                },
      -                "transferCount": {
      -                  "type": "number"
      -                },
      -                "walkingDistanceFromDestinationKm": {
      -                  "type": "number"
      -                },
      -                "walkingDistanceToPickupKm": {
      -                  "type": "number"
      -                },
      -                "walkingUncertaintyNote": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "originStop",
      -                "destinationStop",
      -                "segments",
      -                "segmentCounts",
      -                "complete"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "routesRequiringRideConnection": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "complete": {
      -                  "type": "boolean"
      -                },
      -                "currency": {
      -                  "type": "string"
      -                },
      -                "destinationStop": {
      -                  "anyOf": [
      -                    {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "lat": {
      -                          "type": "number"
      -                        },
      -                        "lng": {
      -                          "type": "number"
      -                        },
      -                        "name": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "type": "object"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "id": {
      -                  "type": "string"
      -                },
      -                "originStop": {
      -                  "anyOf": [
      -                    {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "lat": {
      -                          "type": "number"
      -                        },
      -                        "lng": {
      -                          "type": "number"
      -                        },
      -                        "name": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "type": "object"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "segmentCounts": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "returned": {
      -                      "maximum": 9007199254740991,
      -                      "minimum": 0,
      -                      "type": "integer"
      -                    },
      -                    "total": {
      -                      "maximum": 9007199254740991,
      -                      "minimum": 0,
      -                      "type": "integer"
      -                    },
      -                    "truncated": {
      -                      "type": "boolean"
      -                    }
      -                  },
      -                  "required": [
      -                    "total",
      -                    "returned",
      -                    "truncated"
      -                  ],
      -                  "type": "object"
      -                },
      -                "segments": {
      -                  "items": {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "alightAt": {
      -                        "anyOf": [
      -                          {
      -                            "additionalProperties": false,
      -                            "properties": {
      -                              "lat": {
      -                                "type": "number"
      -                              },
      -                              "lng": {
      -                                "type": "number"
      -                              },
      -                              "name": {
      -                                "type": "string"
      -                              }
      -                            },
      -                            "type": "object"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      },
      -                      "boardAt": {
      -                        "anyOf": [
      -                          {
      -                            "additionalProperties": false,
      -                            "properties": {
      -                              "lat": {
      -                                "type": "number"
      -                              },
      -                              "lng": {
      -                                "type": "number"
      -                              },
      -                              "name": {
      -                                "type": "string"
      -                              }
      -                            },
      -                            "type": "object"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      },
      -                      "currency": {
      -                        "type": "string"
      -                      },
      -                      "fare": {
      -                        "type": "number"
      -                      },
      -                      "routeDestination": {
      -                        "type": "string"
      -                      },
      -                      "routeName": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "boardAt",
      -                      "alightAt"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "totalFare": {
      -                  "type": "number"
      -                },
      -                "transferCount": {
      -                  "type": "number"
      -                },
      -                "walkingDistanceFromDestinationKm": {
      -                  "type": "number"
      -                },
      -                "walkingDistanceToPickupKm": {
      -                  "type": "number"
      -                },
      -                "walkingUncertaintyNote": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "originStop",
      -                "destinationStop",
      -                "segments",
      -                "segmentCounts",
      -                "complete"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "skipNote": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "routes",
      -          "routesRequiringRideConnection",
      -          "routeCounts",
      -          "complete"
      -        ],
      -        "type": "object"
      -      },
      -      "status": {
      -        "enum": [
      -          "complete",
      -          "partial"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "data"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "enum": [
      -              "cancelled",
      -              "timeout",
      -              "unavailable"
      -            ],
      -            "type": "string"
      -          },
      -          "message": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message"
      -        ],
      -        "type": "object"
      -      },
      -      "status": {
      -        "const": "failed",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "complete": {
      +            "type": "boolean"
      +          },
      +          "routeCounts": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "direct": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "returned": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "total": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "truncated": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "required": [
      +                  "total",
      +                  "returned",
      +                  "truncated"
      +                ],
      +                "type": "object"
      +              },
      +              "rideConnection": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "returned": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "total": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "truncated": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "required": [
      +                  "total",
      +                  "returned",
      +                  "truncated"
      +                ],
      +                "type": "object"
      +              }
      +            },
      +            "required": [
      +              "direct",
      +              "rideConnection"
      +            ],
      +            "type": "object"
      +          },
      +          "routes": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "arrivalTime": {
      +                  "type": "string"
      +                },
      +                "complete": {
      +                  "type": "boolean"
      +                },
      +                "currency": {
      +                  "type": "string"
      +                },
      +                "departureTime": {
      +                  "type": "string"
      +                },
      +                "destinationStop": {
      +                  "anyOf": [
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "lat": {
      +                          "type": "number"
      +                        },
      +                        "lng": {
      +                          "type": "number"
      +                        },
      +                        "name": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "fareRange": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "max": {
      +                      "type": "number"
      +                    },
      +                    "min": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "required": [
      +                    "min",
      +                    "max"
      +                  ],
      +                  "type": "object"
      +                },
      +                "id": {
      +                  "type": "string"
      +                },
      +                "originStop": {
      +                  "anyOf": [
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "lat": {
      +                          "type": "number"
      +                        },
      +                        "lng": {
      +                          "type": "number"
      +                        },
      +                        "name": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "segmentCounts": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "returned": {
      +                      "maximum": 9007199254740991,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "total": {
      +                      "maximum": 9007199254740991,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "truncated": {
      +                      "type": "boolean"
      +                    }
      +                  },
      +                  "required": [
      +                    "total",
      +                    "returned",
      +                    "truncated"
      +                  ],
      +                  "type": "object"
      +                },
      +                "segments": {
      +                  "items": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "alightAt": {
      +                        "anyOf": [
      +                          {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "lat": {
      +                                "type": "number"
      +                              },
      +                              "lng": {
      +                                "type": "number"
      +                              },
      +                              "name": {
      +                                "type": "string"
      +                              }
      +                            },
      +                            "type": "object"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      },
      +                      "arrivalTime": {
      +                        "description": "Timetabled bus arrival, ISO 8601",
      +                        "type": "string"
      +                      },
      +                      "boardAt": {
      +                        "anyOf": [
      +                          {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "lat": {
      +                                "type": "number"
      +                              },
      +                              "lng": {
      +                                "type": "number"
      +                              },
      +                              "name": {
      +                                "type": "string"
      +                              }
      +                            },
      +                            "type": "object"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      },
      +                      "currency": {
      +                        "type": "string"
      +                      },
      +                      "departureTime": {
      +                        "description": "Timetabled bus departure, ISO 8601",
      +                        "type": "string"
      +                      },
      +                      "fare": {
      +                        "type": "number"
      +                      },
      +                      "fareBasis": {
      +                        "description": "How the bus fare was set: the operator's published single, a local flat fare, an estimate at England's national fare cap, or unavailable",
      +                        "enum": [
      +                          "operator-published",
      +                          "local-flat-fare",
      +                          "national-fare-cap-estimate",
      +                          "unavailable"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "fareMin": {
      +                        "description": "Lowest listed bus fare when the operator lists several",
      +                        "type": "number"
      +                      },
      +                      "routeDestination": {
      +                        "type": "string"
      +                      },
      +                      "routeName": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "boardAt",
      +                      "alightAt"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "timeZone": {
      +                  "type": "string"
      +                },
      +                "totalFare": {
      +                  "type": "number"
      +                },
      +                "transferCount": {
      +                  "type": "number"
      +                },
      +                "walkingDistanceFromDestinationKm": {
      +                  "type": "number"
      +                },
      +                "walkingDistanceToPickupKm": {
      +                  "type": "number"
      +                },
      +                "walkingUncertaintyNote": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "originStop",
      +                "destinationStop",
      +                "segments",
      +                "segmentCounts",
      +                "complete"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "routesRequiringRideConnection": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "arrivalTime": {
      +                  "type": "string"
      +                },
      +                "complete": {
      +                  "type": "boolean"
      +                },
      +                "currency": {
      +                  "type": "string"
      +                },
      +                "departureTime": {
      +                  "type": "string"
      +                },
      +                "destinationStop": {
      +                  "anyOf": [
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "lat": {
      +                          "type": "number"
      +                        },
      +                        "lng": {
      +                          "type": "number"
      +                        },
      +                        "name": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "fareRange": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "max": {
      +                      "type": "number"
      +                    },
      +                    "min": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "required": [
      +                    "min",
      +                    "max"
      +                  ],
      +                  "type": "object"
      +                },
      +                "id": {
      +                  "type": "string"
      +                },
      +                "originStop": {
      +                  "anyOf": [
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "lat": {
      +                          "type": "number"
      +                        },
      +                        "lng": {
      +                          "type": "number"
      +                        },
      +                        "name": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "segmentCounts": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "returned": {
      +                      "maximum": 9007199254740991,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "total": {
      +                      "maximum": 9007199254740991,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "truncated": {
      +                      "type": "boolean"
      +                    }
      +                  },
      +                  "required": [
      +                    "total",
      +                    "returned",
      +                    "truncated"
      +                  ],
      +                  "type": "object"
      +                },
      +                "segments": {
      +                  "items": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "alightAt": {
      +                        "anyOf": [
      +                          {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "lat": {
      +                                "type": "number"
      +                              },
      +                              "lng": {
      +                                "type": "number"
      +                              },
      +                              "name": {
      +                                "type": "string"
      +                              }
      +                            },
      +                            "type": "object"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      },
      +                      "arrivalTime": {
      +                        "description": "Timetabled bus arrival, ISO 8601",
      +                        "type": "string"
      +                      },
      +                      "boardAt": {
      +                        "anyOf": [
      +                          {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "lat": {
      +                                "type": "number"
      +                              },
      +                              "lng": {
      +                                "type": "number"
      +                              },
      +                              "name": {
      +                                "type": "string"
      +                              }
      +                            },
      +                            "type": "object"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      },
      +                      "currency": {
      +                        "type": "string"
      +                      },
      +                      "departureTime": {
      +                        "description": "Timetabled bus departure, ISO 8601",
      +                        "type": "string"
      +                      },
      +                      "fare": {
      +                        "type": "number"
      +                      },
      +                      "fareBasis": {
      +                        "description": "How the bus fare was set: the operator's published single, a local flat fare, an estimate at England's national fare cap, or unavailable",
      +                        "enum": [
      +                          "operator-published",
      +                          "local-flat-fare",
      +                          "national-fare-cap-estimate",
      +                          "unavailable"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "fareMin": {
      +                        "description": "Lowest listed bus fare when the operator lists several",
      +                        "type": "number"
      +                      },
      +                      "routeDestination": {
      +                        "type": "string"
      +                      },
      +                      "routeName": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "boardAt",
      +                      "alightAt"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "timeZone": {
      +                  "type": "string"
      +                },
      +                "totalFare": {
      +                  "type": "number"
      +                },
      +                "transferCount": {
      +                  "type": "number"
      +                },
      +                "walkingDistanceFromDestinationKm": {
      +                  "type": "number"
      +                },
      +                "walkingDistanceToPickupKm": {
      +                  "type": "number"
      +                },
      +                "walkingUncertaintyNote": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "originStop",
      +                "destinationStop",
      +                "segments",
      +                "segmentCounts",
      +                "complete"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "skipNote": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "routes",
      +          "routesRequiringRideConnection",
      +          "routeCounts",
      +          "complete"
      +        ],
      +        "type": "object"
      +      },
      +      "status": {
      +        "enum": [
      +          "complete",
      +          "partial"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "data"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "enum": [
      +              "cancelled",
      +              "timeout",
      +              "unavailable"
      +            ],
      +            "type": "string"
      +          },
      +          "message": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message"
      +        ],
      +        "type": "object"
      +      },
      +      "status": {
      +        "const": "failed",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed1 schema field changed
    • changedOutput schema / properties / trotro / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "data": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "complete": {
      -            "type": "boolean"
      -          },
      -          "routeCounts": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "direct": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "returned": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "total": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "truncated": {
      -                    "type": "boolean"
      -                  }
      -                },
      -                "required": [
      -                  "total",
      -                  "returned",
      -                  "truncated"
      -                ],
      -                "type": "object"
      -              },
      -              "rideConnection": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "returned": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "total": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "truncated": {
      -                    "type": "boolean"
      -                  }
      -                },
      -                "required": [
      -                  "total",
      -                  "returned",
      -                  "truncated"
      -                ],
      -                "type": "object"
      -              }
      -            },
      -            "required": [
      -              "direct",
      -              "rideConnection"
      -            ],
      -            "type": "object"
      -          },
      -          "routes": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "complete": {
      -                  "type": "boolean"
      -                },
      -                "currency": {
      -                  "type": "string"
      -                },
      -                "destinationStop": {
      -                  "anyOf": [
      -                    {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "lat": {
      -                          "type": "number"
      -                        },
      -                        "lng": {
      -                          "type": "number"
      -                        },
      -                        "name": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "type": "object"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "id": {
      -                  "type": "string"
      -                },
      -                "originStop": {
      -                  "anyOf": [
      -                    {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "lat": {
      -                          "type": "number"
      -                        },
      -                        "lng": {
      -                          "type": "number"
      -                        },
      -                        "name": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "type": "object"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "segmentCounts": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "returned": {
      -                      "maximum": 9007199254740991,
      -                      "minimum": 0,
      -                      "type": "integer"
      -                    },
      -                    "total": {
      -                      "maximum": 9007199254740991,
      -                      "minimum": 0,
      -                      "type": "integer"
      -                    },
      -                    "truncated": {
      -                      "type": "boolean"
      -                    }
      -                  },
      -                  "required": [
      -                    "total",
      -                    "returned",
      -                    "truncated"
      -                  ],
      -                  "type": "object"
      -                },
      -                "segments": {
      -                  "items": {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "alightAt": {
      -                        "anyOf": [
      -                          {
      -                            "additionalProperties": false,
      -                            "properties": {
      -                              "lat": {
      -                                "type": "number"
      -                              },
      -                              "lng": {
      -                                "type": "number"
      -                              },
      -                              "name": {
      -                                "type": "string"
      -                              }
      -                            },
      -                            "type": "object"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      },
      -                      "boardAt": {
      -                        "anyOf": [
      -                          {
      -                            "additionalProperties": false,
      -                            "properties": {
      -                              "lat": {
      -                                "type": "number"
      -                              },
      -                              "lng": {
      -                                "type": "number"
      -                              },
      -                              "name": {
      -                                "type": "string"
      -                              }
      -                            },
      -                            "type": "object"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      },
      -                      "currency": {
      -                        "type": "string"
      -                      },
      -                      "fare": {
      -                        "type": "number"
      -                      },
      -                      "routeDestination": {
      -                        "type": "string"
      -                      },
      -                      "routeName": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "boardAt",
      -                      "alightAt"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "totalFare": {
      -                  "type": "number"
      -                },
      -                "transferCount": {
      -                  "type": "number"
      -                },
      -                "walkingDistanceFromDestinationKm": {
      -                  "type": "number"
      -                },
      -                "walkingDistanceToPickupKm": {
      -                  "type": "number"
      -                }
      -              },
      -              "required": [
      -                "originStop",
      -                "destinationStop",
      -                "segments",
      -                "segmentCounts",
      -                "complete"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "routesRequiringRideConnection": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "complete": {
      -                  "type": "boolean"
      -                },
      -                "currency": {
      -                  "type": "string"
      -                },
      -                "destinationStop": {
      -                  "anyOf": [
      -                    {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "lat": {
      -                          "type": "number"
      -                        },
      -                        "lng": {
      -                          "type": "number"
      -                        },
      -                        "name": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "type": "object"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "id": {
      -                  "type": "string"
      -                },
      -                "originStop": {
      -                  "anyOf": [
      -                    {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "lat": {
      -                          "type": "number"
      -                        },
      -                        "lng": {
      -                          "type": "number"
      -                        },
      -                        "name": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "type": "object"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "segmentCounts": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "returned": {
      -                      "maximum": 9007199254740991,
      -                      "minimum": 0,
      -                      "type": "integer"
      -                    },
      -                    "total": {
      -                      "maximum": 9007199254740991,
      -                      "minimum": 0,
      -                      "type": "integer"
      -                    },
      -                    "truncated": {
      -                      "type": "boolean"
      -                    }
      -                  },
      -                  "required": [
      -                    "total",
      -                    "returned",
      -                    "truncated"
      -                  ],
      -                  "type": "object"
      -                },
      -                "segments": {
      -                  "items": {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "alightAt": {
      -                        "anyOf": [
      -                          {
      -                            "additionalProperties": false,
      -                            "properties": {
      -                              "lat": {
      -                                "type": "number"
      -                              },
      -                              "lng": {
      -                                "type": "number"
      -                              },
      -                              "name": {
      -                                "type": "string"
      -                              }
      -                            },
      -                            "type": "object"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      },
      -                      "boardAt": {
      -                        "anyOf": [
      -                          {
      -                            "additionalProperties": false,
      -                            "properties": {
      -                              "lat": {
      -                                "type": "number"
      -                              },
      -                              "lng": {
      -                                "type": "number"
      -                              },
      -                              "name": {
      -                                "type": "string"
      -                              }
      -                            },
      -                            "type": "object"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      },
      -                      "currency": {
      -                        "type": "string"
      -                      },
      -                      "fare": {
      -                        "type": "number"
      -                      },
      -                      "routeDestination": {
      -                        "type": "string"
      -                      },
      -                      "routeName": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "boardAt",
      -                      "alightAt"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "totalFare": {
      -                  "type": "number"
      -                },
      -                "transferCount": {
      -                  "type": "number"
      -                },
      -                "walkingDistanceFromDestinationKm": {
      -                  "type": "number"
      -                },
      -                "walkingDistanceToPickupKm": {
      -                  "type": "number"
      -                }
      -              },
      -              "required": [
      -                "originStop",
      -                "destinationStop",
      -                "segments",
      -                "segmentCounts",
      -                "complete"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "routes",
      -          "routesRequiringRideConnection",
      -          "routeCounts",
      -          "complete"
      -        ],
      -        "type": "object"
      -      },
      -      "status": {
      -        "enum": [
      -          "complete",
      -          "partial"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "data"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "enum": [
      -              "cancelled",
      -              "timeout",
      -              "unavailable"
      -            ],
      -            "type": "string"
      -          },
      -          "message": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message"
      -        ],
      -        "type": "object"
      -      },
      -      "status": {
      -        "const": "failed",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "complete": {
      +            "type": "boolean"
      +          },
      +          "routeCounts": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "direct": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "returned": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "total": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "truncated": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "required": [
      +                  "total",
      +                  "returned",
      +                  "truncated"
      +                ],
      +                "type": "object"
      +              },
      +              "rideConnection": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "returned": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "total": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "truncated": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "required": [
      +                  "total",
      +                  "returned",
      +                  "truncated"
      +                ],
      +                "type": "object"
      +              }
      +            },
      +            "required": [
      +              "direct",
      +              "rideConnection"
      +            ],
      +            "type": "object"
      +          },
      +          "routes": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "complete": {
      +                  "type": "boolean"
      +                },
      +                "currency": {
      +                  "type": "string"
      +                },
      +                "destinationStop": {
      +                  "anyOf": [
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "lat": {
      +                          "type": "number"
      +                        },
      +                        "lng": {
      +                          "type": "number"
      +                        },
      +                        "name": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "id": {
      +                  "type": "string"
      +                },
      +                "originStop": {
      +                  "anyOf": [
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "lat": {
      +                          "type": "number"
      +                        },
      +                        "lng": {
      +                          "type": "number"
      +                        },
      +                        "name": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "segmentCounts": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "returned": {
      +                      "maximum": 9007199254740991,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "total": {
      +                      "maximum": 9007199254740991,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "truncated": {
      +                      "type": "boolean"
      +                    }
      +                  },
      +                  "required": [
      +                    "total",
      +                    "returned",
      +                    "truncated"
      +                  ],
      +                  "type": "object"
      +                },
      +                "segments": {
      +                  "items": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "alightAt": {
      +                        "anyOf": [
      +                          {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "lat": {
      +                                "type": "number"
      +                              },
      +                              "lng": {
      +                                "type": "number"
      +                              },
      +                              "name": {
      +                                "type": "string"
      +                              }
      +                            },
      +                            "type": "object"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      },
      +                      "boardAt": {
      +                        "anyOf": [
      +                          {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "lat": {
      +                                "type": "number"
      +                              },
      +                              "lng": {
      +                                "type": "number"
      +                              },
      +                              "name": {
      +                                "type": "string"
      +                              }
      +                            },
      +                            "type": "object"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      },
      +                      "currency": {
      +                        "type": "string"
      +                      },
      +                      "fare": {
      +                        "type": "number"
      +                      },
      +                      "routeDestination": {
      +                        "type": "string"
      +                      },
      +                      "routeName": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "boardAt",
      +                      "alightAt"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "totalFare": {
      +                  "type": "number"
      +                },
      +                "transferCount": {
      +                  "type": "number"
      +                },
      +                "walkingDistanceFromDestinationKm": {
      +                  "type": "number"
      +                },
      +                "walkingDistanceToPickupKm": {
      +                  "type": "number"
      +                },
      +                "walkingUncertaintyNote": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "originStop",
      +                "destinationStop",
      +                "segments",
      +                "segmentCounts",
      +                "complete"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "routesRequiringRideConnection": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "complete": {
      +                  "type": "boolean"
      +                },
      +                "currency": {
      +                  "type": "string"
      +                },
      +                "destinationStop": {
      +                  "anyOf": [
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "lat": {
      +                          "type": "number"
      +                        },
      +                        "lng": {
      +                          "type": "number"
      +                        },
      +                        "name": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "id": {
      +                  "type": "string"
      +                },
      +                "originStop": {
      +                  "anyOf": [
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "lat": {
      +                          "type": "number"
      +                        },
      +                        "lng": {
      +                          "type": "number"
      +                        },
      +                        "name": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "segmentCounts": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "returned": {
      +                      "maximum": 9007199254740991,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "total": {
      +                      "maximum": 9007199254740991,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "truncated": {
      +                      "type": "boolean"
      +                    }
      +                  },
      +                  "required": [
      +                    "total",
      +                    "returned",
      +                    "truncated"
      +                  ],
      +                  "type": "object"
      +                },
      +                "segments": {
      +                  "items": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "alightAt": {
      +                        "anyOf": [
      +                          {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "lat": {
      +                                "type": "number"
      +                              },
      +                              "lng": {
      +                                "type": "number"
      +                              },
      +                              "name": {
      +                                "type": "string"
      +                              }
      +                            },
      +                            "type": "object"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      },
      +                      "boardAt": {
      +                        "anyOf": [
      +                          {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "lat": {
      +                                "type": "number"
      +                              },
      +                              "lng": {
      +                                "type": "number"
      +                              },
      +                              "name": {
      +                                "type": "string"
      +                              }
      +                            },
      +                            "type": "object"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      },
      +                      "currency": {
      +                        "type": "string"
      +                      },
      +                      "fare": {
      +                        "type": "number"
      +                      },
      +                      "routeDestination": {
      +                        "type": "string"
      +                      },
      +                      "routeName": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "boardAt",
      +                      "alightAt"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "totalFare": {
      +                  "type": "number"
      +                },
      +                "transferCount": {
      +                  "type": "number"
      +                },
      +                "walkingDistanceFromDestinationKm": {
      +                  "type": "number"
      +                },
      +                "walkingDistanceToPickupKm": {
      +                  "type": "number"
      +                },
      +                "walkingUncertaintyNote": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "originStop",
      +                "destinationStop",
      +                "segments",
      +                "segmentCounts",
      +                "complete"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "skipNote": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "routes",
      +          "routesRequiringRideConnection",
      +          "routeCounts",
      +          "complete"
      +        ],
      +        "type": "object"
      +      },
      +      "status": {
      +        "enum": [
      +          "complete",
      +          "partial"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "data"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "enum": [
      +              "cancelled",
      +              "timeout",
      +              "unavailable"
      +            ],
      +            "type": "string"
      +          },
      +          "message": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message"
      +        ],
      +        "type": "object"
      +      },
      +      "status": {
      +        "const": "failed",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. First observed

TDQS

A4/5.0
Behavior4/5

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

The annotations already disclose that the tool is read-only, open-world, idempotent, and non-destructive. The description adds useful behavioral context beyond that: it scopes the tool to ride-hailing versus public transport, mentions Ghanaian trotro and UK buses, and implies real-time departures with "buses leaving now."

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

Conciseness5/5

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

The definition is two tightly written sentences with the core comparison and default-tool guidance front-loaded. There is no filler, and the geographic/mode examples are compressed into a useful clause.

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

Completeness4/5

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

The description is complete enough for a read-only planning tool whose output schema and annotations carry much of the burden. It clearly establishes scope and default usage, though it does not explain that pickup and destination must be resolved places or describe the comparison result beyond what the output schema supplies.

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

Parameters3/5

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

Schema description coverage is 100%, and the nested pickup and destination objects are fully documented in the schema. The description adds no parameter-specific meaning beyond that, so the baseline score of 3 is appropriate.

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

Purpose4/5

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

The description clearly states that the tool compares ride-hailing with public transport and identifies itself as the default multimodal trip-planning tool. It differentiates itself reasonably well by emphasizing multimodal comparison, though it does not explicitly name which sibling to use for narrower public-transport or ride-only cases.

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

Usage Guidelines4/5

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

The phrase "This is the default tool for multimodal trip planning" gives clear usage guidance and implies it should be chosen when the user wants broad trip comparison. It does not state when not to use it or explicitly route users to alternatives such as plan_public_transport or compare_rides.

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