Skip to main content
Glama

Plan a trotro route

plan_trotro_route
Read-onlyIdempotent

Plan trotro journeys in Ghana, including fares, walking legs, transfers, and boarding instructions. Prefer plan_public_transport, which also covers buses in Great Britain.

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. Changed16 schema fields changed
    • addedOutput schema / properties / routes / items / properties / arrivalTime
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / routes / items / properties / departureTime
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / routes / items / properties / fareRange
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "max": {
      +      "type": "number"
      +    },
      +    "min": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "min",
      +    "max"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / routes / items / properties / segments / items / properties / arrivalTime
      Added value: +{
      +  "description": "Timetabled bus arrival, ISO 8601",
      +  "type": "string"
      +}
    • addedOutput schema / properties / routes / items / properties / segments / items / properties / departureTime
      Added value: +{
      +  "description": "Timetabled bus departure, ISO 8601",
      +  "type": "string"
      +}
    • addedOutput schema / properties / routes / items / properties / segments / items / properties / fareBasis
      Added value: +{
      +  "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"
      +}
    • addedOutput schema / properties / routes / items / properties / segments / items / properties / fareMin
      Added value: +{
      +  "description": "Lowest listed bus fare when the operator lists several",
      +  "type": "number"
      +}
    • addedOutput schema / properties / routes / items / properties / timeZone
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / routesRequiringRideConnection / items / properties / arrivalTime
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / routesRequiringRideConnection / items / properties / departureTime
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / routesRequiringRideConnection / items / properties / fareRange
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "max": {
      +      "type": "number"
      +    },
      +    "min": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "min",
      +    "max"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / routesRequiringRideConnection / items / properties / segments / items / properties / arrivalTime
      Added value: +{
      +  "description": "Timetabled bus arrival, ISO 8601",
      +  "type": "string"
      +}
    • addedOutput schema / properties / routesRequiringRideConnection / items / properties / segments / items / properties / departureTime
      Added value: +{
      +  "description": "Timetabled bus departure, ISO 8601",
      +  "type": "string"
      +}
    • addedOutput schema / properties / routesRequiringRideConnection / items / properties / segments / items / properties / fareBasis
      Added value: +{
      +  "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"
      +}
    • addedOutput schema / properties / routesRequiringRideConnection / items / properties / segments / items / properties / fareMin
      Added value: +{
      +  "description": "Lowest listed bus fare when the operator lists several",
      +  "type": "number"
      +}
    • addedOutput schema / properties / routesRequiringRideConnection / items / properties / timeZone
      Added value: +{
      +  "type": "string"
      +}
  2. 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"
      +}
  3. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and openWorld, so the safety profile is covered. The description adds that results include fares, transfers, and boarding instructions, which is useful context, but since an output schema exists this overlaps structured data and no limits (coverage boundaries, data freshness) are disclosed.

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?

Two sentences, no filler. The core capability and coverage region are front-loaded, and the sibling routing pointer follows immediately. Every clause earns its place.

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?

With an output schema covering return values and annotations covering the safety profile, the description's job is mainly scope and routing, both of which are handled. Region coverage and result contents are stated, though no note on data currency or service area boundaries is given.

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%, with both nested pickup/destination objects fully documented including lat/lng ranges, so the schema carries the semantics. The description adds nothing about parameter format or constraints, which is the expected baseline when the schema does the work.

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

Purpose5/5

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

States a specific verb (Plan) and resource (trotro journeys) with concrete scope: Ghana, and outputs covering fares, walking legs, transfers, and boarding instructions. It explicitly names and contrasts the closest sibling, plan_public_transport, so an agent can route between them without opening either schema.

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?

Names the alternative (plan_public_transport) and the condition that differentiates it (covers buses in Great Britain), implying this tool is the choice for Ghana trotro journeys. It stops short of explicitly stating when-not to use this tool or listing other siblings like plan_trip, so it is clear but not exhaustive.

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