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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pickupYesResolved pickup place
destinationYesResolved destination place

Output Schema

TableJSON 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. 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"
      +  }
      +]
  2. 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"
      +  }
      +]
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered without the description. The description usefully discloses the geographic coverage (Ghana, England, Scotland, Wales) and that it performs a comparison rather than a single-mode lookup, but says nothing about what happens outside those regions or about latency/rate limits on a live open-world query.

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

Conciseness4/5

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

Two tight sentences with no filler; the capability statement comes first and the routing hint second. The first sentence is a somewhat fragmentary list, but it earns its place by conveying coverage and mode scope.

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

Completeness3/5

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

An output schema exists, so return values need not be explained, and annotations cover safety. The remaining gap is workflow: the schema hints that placeId comes from search_places (implying a resolve-first prerequisite), and the description never mentions that places must be resolved beforehand or what the coverage boundaries mean for a query outside Ghana/UK.

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 both required params (pickup, destination) are fully documented with lat/lng bounds, name/address, and a placeId cross-reference to search_places. The description adds no parameter-level meaning of its own, so the baseline 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 states a concrete function (compare ride-hailing against public transport for a trip) and names the transport modes and geographies (trotro in Ghana, buses in England/Scotland/Wales), which distinguishes it from resolve_place and search_places. It also self-labels as 'the default tool for multimodal trip planning', which separates it from plan_public_transport and plan_trotro_route, though the overlap with compare_rides is never resolved.

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

Usage Guidelines3/5

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

'This is the default tool for multimodal trip planning' is real routing guidance, telling the agent to prefer this tool in the multimodal case. However, it never names the alternatives (compare_rides, plan_public_transport, plan_trotro_route) or states when NOT to use it, so the agent must infer the boundary from the sibling names alone.

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