Skip to main content
Glama

Plan a trotro route

plan_trotro_route
Read-onlyIdempotent

Plan public transport journeys by trotro, including fares, walking legs, transfers, and boarding instructions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pickupYesPickup coordinates
destinationYesDestination coordinates

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
routesYes
completeYes
skipNoteNo
routeCountsYes
routesRequiringRideConnectionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedOutput schema / properties / routes / items / properties / steps / items / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "distanceMeters": {
      -        "type": "number"
      -      },
      -      "durationMinutes": {
      -        "type": "number"
      -      },
      -      "instruction": {
      -        "type": "string"
      -      },
      -      "roadCrossings": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "confidence": {
      -              "const": "high",
      -              "type": "string"
      -            },
      -            "distanceFromStartMeters": {
      -              "minimum": 0,
      -              "type": "number"
      -            },
      -            "evidence": {
      -              "enum": [
      -                "mapped-crossing",
      -                "short-road-traversal"
      -              ],
      -              "type": "string"
      -            },
      -            "location": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "lat": {
      -                  "description": "Latitude in decimal degrees",
      -                  "maximum": 90,
      -                  "minimum": -90,
      -                  "type": "number"
      -                },
      -                "lng": {
      -                  "description": "Longitude in decimal degrees",
      -                  "maximum": 180,
      -                  "minimum": -180,
      -                  "type": "number"
      -                }
      -              },
      -              "required": [
      -                "lat",
      -                "lng"
      -              ],
      -              "type": "object"
      -            }
      -          },
      -          "required": [
      -            "location",
      -            "distanceFromStartMeters",
      -            "evidence",
      -            "confidence"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "roadCrossingsTotal": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "roadCrossingsTruncated": {
      -        "type": "boolean"
      -      },
      -      "toStop": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "lat": {
      -                "type": "number"
      -              },
      -              "lng": {
      -                "type": "number"
      -              },
      -              "name": {
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "type": {
      -        "const": "walk",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "toStop"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "alightAt": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "lat": {
      -                "type": "number"
      -              },
      -              "lng": {
      -                "type": "number"
      -              },
      -              "name": {
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "alightingRoadCrossing": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "confidence": {
      -                "const": "high",
      -                "type": "string"
      -              },
      -              "status": {
      -                "const": "required",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "status",
      -              "confidence"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "status": {
      -                "const": "unknown",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "status"
      -            ],
      -            "type": "object"
      -          }
      -        ]
      -      },
      -      "boardAt": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "lat": {
      -                "type": "number"
      -              },
      -              "lng": {
      -                "type": "number"
      -              },
      -              "name": {
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "boardingRoadCrossing": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "confidence": {
      -                "const": "high",
      -                "type": "string"
      -              },
      -              "status": {
      -                "const": "required",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "status",
      -              "confidence"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "status": {
      -                "const": "unknown",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "status"
      -            ],
      -            "type": "object"
      -          }
      -        ]
      -      },
      -      "currency": {
      -        "type": "string"
      -      },
      -      "fare": {
      -        "type": "number"
      -      },
      -      "instruction": {
      -        "type": "string"
      -      },
      -      "route": {
      -        "type": "string"
      -      },
      -      "stopCount": {
      -        "type": "number"
      -      },
      -      "toward": {
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "ride",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "boardAt",
      -      "alightAt"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "distanceMeters": {
      +        "type": "number"
      +      },
      +      "durationMinutes": {
      +        "type": "number"
      +      },
      +      "instruction": {
      +        "type": "string"
      +      },
      +      "roadCrossings": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "confidence": {
      +              "const": "high",
      +              "type": "string"
      +            },
      +            "distanceFromStartMeters": {
      +              "minimum": 0,
      +              "type": "number"
      +            },
      +            "evidence": {
      +              "enum": [
      +                "mapped-crossing",
      +                "short-road-traversal"
      +              ],
      +              "type": "string"
      +            },
      +            "location": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "lat": {
      +                  "description": "Latitude in decimal degrees",
      +                  "maximum": 90,
      +                  "minimum": -90,
      +                  "type": "number"
      +                },
      +                "lng": {
      +                  "description": "Longitude in decimal degrees",
      +                  "maximum": 180,
      +                  "minimum": -180,
      +                  "type": "number"
      +                }
      +              },
      +              "required": [
      +                "lat",
      +                "lng"
      +              ],
      +              "type": "object"
      +            }
      +          },
      +          "required": [
      +            "location",
      +            "distanceFromStartMeters",
      +            "evidence",
      +            "confidence"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "roadCrossingsTotal": {
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "roadCrossingsTruncated": {
      +        "type": "boolean"
      +      },
      +      "toStop": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "lat": {
      +                "type": "number"
      +              },
      +              "lng": {
      +                "type": "number"
      +              },
      +              "name": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "type": {
      +        "const": "walk",
      +        "type": "string"
      +      },
      +      "unverifiedEndpointMeters": {
      +        "minimum": 0,
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "toStop"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "alightAt": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "lat": {
      +                "type": "number"
      +              },
      +              "lng": {
      +                "type": "number"
      +              },
      +              "name": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "alightingRoadCrossing": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "confidence": {
      +                "const": "high",
      +                "type": "string"
      +              },
      +              "status": {
      +                "const": "required",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "status",
      +              "confidence"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "status": {
      +                "const": "unknown",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "status"
      +            ],
      +            "type": "object"
      +          }
      +        ]
      +      },
      +      "boardAt": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "lat": {
      +                "type": "number"
      +              },
      +              "lng": {
      +                "type": "number"
      +              },
      +              "name": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "boardingRoadCrossing": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "confidence": {
      +                "const": "high",
      +                "type": "string"
      +              },
      +              "status": {
      +                "const": "required",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "status",
      +              "confidence"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "status": {
      +                "const": "unknown",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "status"
      +            ],
      +            "type": "object"
      +          }
      +        ]
      +      },
      +      "currency": {
      +        "type": "string"
      +      },
      +      "fare": {
      +        "type": "number"
      +      },
      +      "instruction": {
      +        "type": "string"
      +      },
      +      "route": {
      +        "type": "string"
      +      },
      +      "stopCount": {
      +        "type": "number"
      +      },
      +      "toward": {
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "ride",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "boardAt",
      +      "alightAt"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedOutput schema / properties / routesRequiringRideConnection / items / properties / steps / items / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "distanceMeters": {
      -        "type": "number"
      -      },
      -      "durationMinutes": {
      -        "type": "number"
      -      },
      -      "instruction": {
      -        "type": "string"
      -      },
      -      "roadCrossings": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "confidence": {
      -              "const": "high",
      -              "type": "string"
      -            },
      -            "distanceFromStartMeters": {
      -              "minimum": 0,
      -              "type": "number"
      -            },
      -            "evidence": {
      -              "enum": [
      -                "mapped-crossing",
      -                "short-road-traversal"
      -              ],
      -              "type": "string"
      -            },
      -            "location": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "lat": {
      -                  "description": "Latitude in decimal degrees",
      -                  "maximum": 90,
      -                  "minimum": -90,
      -                  "type": "number"
      -                },
      -                "lng": {
      -                  "description": "Longitude in decimal degrees",
      -                  "maximum": 180,
      -                  "minimum": -180,
      -                  "type": "number"
      -                }
      -              },
      -              "required": [
      -                "lat",
      -                "lng"
      -              ],
      -              "type": "object"
      -            }
      -          },
      -          "required": [
      -            "location",
      -            "distanceFromStartMeters",
      -            "evidence",
      -            "confidence"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "roadCrossingsTotal": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "roadCrossingsTruncated": {
      -        "type": "boolean"
      -      },
      -      "toStop": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "lat": {
      -                "type": "number"
      -              },
      -              "lng": {
      -                "type": "number"
      -              },
      -              "name": {
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "type": {
      -        "const": "walk",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "toStop"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "alightAt": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "lat": {
      -                "type": "number"
      -              },
      -              "lng": {
      -                "type": "number"
      -              },
      -              "name": {
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "alightingRoadCrossing": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "confidence": {
      -                "const": "high",
      -                "type": "string"
      -              },
      -              "status": {
      -                "const": "required",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "status",
      -              "confidence"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "status": {
      -                "const": "unknown",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "status"
      -            ],
      -            "type": "object"
      -          }
      -        ]
      -      },
      -      "boardAt": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "lat": {
      -                "type": "number"
      -              },
      -              "lng": {
      -                "type": "number"
      -              },
      -              "name": {
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "boardingRoadCrossing": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "confidence": {
      -                "const": "high",
      -                "type": "string"
      -              },
      -              "status": {
      -                "const": "required",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "status",
      -              "confidence"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "status": {
      -                "const": "unknown",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "status"
      -            ],
      -            "type": "object"
      -          }
      -        ]
      -      },
      -      "currency": {
      -        "type": "string"
      -      },
      -      "fare": {
      -        "type": "number"
      -      },
      -      "instruction": {
      -        "type": "string"
      -      },
      -      "route": {
      -        "type": "string"
      -      },
      -      "stopCount": {
      -        "type": "number"
      -      },
      -      "toward": {
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "ride",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "boardAt",
      -      "alightAt"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "distanceMeters": {
      +        "type": "number"
      +      },
      +      "durationMinutes": {
      +        "type": "number"
      +      },
      +      "instruction": {
      +        "type": "string"
      +      },
      +      "roadCrossings": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "confidence": {
      +              "const": "high",
      +              "type": "string"
      +            },
      +            "distanceFromStartMeters": {
      +              "minimum": 0,
      +              "type": "number"
      +            },
      +            "evidence": {
      +              "enum": [
      +                "mapped-crossing",
      +                "short-road-traversal"
      +              ],
      +              "type": "string"
      +            },
      +            "location": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "lat": {
      +                  "description": "Latitude in decimal degrees",
      +                  "maximum": 90,
      +                  "minimum": -90,
      +                  "type": "number"
      +                },
      +                "lng": {
      +                  "description": "Longitude in decimal degrees",
      +                  "maximum": 180,
      +                  "minimum": -180,
      +                  "type": "number"
      +                }
      +              },
      +              "required": [
      +                "lat",
      +                "lng"
      +              ],
      +              "type": "object"
      +            }
      +          },
      +          "required": [
      +            "location",
      +            "distanceFromStartMeters",
      +            "evidence",
      +            "confidence"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "roadCrossingsTotal": {
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "roadCrossingsTruncated": {
      +        "type": "boolean"
      +      },
      +      "toStop": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "lat": {
      +                "type": "number"
      +              },
      +              "lng": {
      +                "type": "number"
      +              },
      +              "name": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "type": {
      +        "const": "walk",
      +        "type": "string"
      +      },
      +      "unverifiedEndpointMeters": {
      +        "minimum": 0,
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "toStop"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "alightAt": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "lat": {
      +                "type": "number"
      +              },
      +              "lng": {
      +                "type": "number"
      +              },
      +              "name": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "alightingRoadCrossing": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "confidence": {
      +                "const": "high",
      +                "type": "string"
      +              },
      +              "status": {
      +                "const": "required",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "status",
      +              "confidence"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "status": {
      +                "const": "unknown",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "status"
      +            ],
      +            "type": "object"
      +          }
      +        ]
      +      },
      +      "boardAt": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "lat": {
      +                "type": "number"
      +              },
      +              "lng": {
      +                "type": "number"
      +              },
      +              "name": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "boardingRoadCrossing": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "confidence": {
      +                "const": "high",
      +                "type": "string"
      +              },
      +              "status": {
      +                "const": "required",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "status",
      +              "confidence"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "status": {
      +                "const": "unknown",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "status"
      +            ],
      +            "type": "object"
      +          }
      +        ]
      +      },
      +      "currency": {
      +        "type": "string"
      +      },
      +      "fare": {
      +        "type": "number"
      +      },
      +      "instruction": {
      +        "type": "string"
      +      },
      +      "route": {
      +        "type": "string"
      +      },
      +      "stopCount": {
      +        "type": "number"
      +      },
      +      "toward": {
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "ride",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "boardAt",
      +      "alightAt"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedOutput schema / properties / skipNote
      Added value: +{
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile with readOnlyHint, idempotentHint, and destructiveHint=false. The description adds useful behavioral context by listing what the produced journey plan includes, though it does not address edge cases or coverage limitations.

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

Conciseness5/5

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

The description is a single compact sentence with no filler. The core action and key content areas are front-loaded and immediately understandable.

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

Completeness4/5

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

Given full schema coverage, an output schema, and annotations covering side effects, the description is nearly complete. It could be stronger by explicitly contrasting with plan_trip, but "by trotro" carries enough differentiation for practical selection.

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 parameters are already documented as pickup/destination coordinates with lat/lng ranges. The description adds no parameter-level detail beyond the schema, so the baseline score of 3 is appropriate.

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

Purpose5/5

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

The description opens with a specific verb and resource: "Plan public transport journeys by trotro," and enumerates concrete output components (fares, walking legs, transfers, boarding instructions). This clearly differentiates it from the general sibling plan_trip by specifying the trotro mode.

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

Usage Guidelines4/5

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

The mode-specific scope is clear, so an agent can infer this tool is for trotro journeys rather than general trip planning. However, it does not explicitly name alternatives or state when not to use it, which keeps it just short of full explicit guidance.

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