Skip to main content
Glama

Transit service status

get_service_status
Read-onlyIdempotent

Check disruptions, delays, closures, elevator and escalator outages, or revalidate a chosen itinerary without replacing it. Scope by coverage, a station name with its coverage (stop), or an agency, route, stop or dated trip reference; a station covers its complex. Aggregate scopes include canonical service in the next 24 hours. equipment lists elevator/escalator outages: accessiblePath marks the step-free route, blocksStepFree marks stations step-free plan_trip avoids, and alternativeRoute is the agency's way around. Use get_vehicle_status for an observed vehicle location.

Input Schema

NameRequiredDescriptionDefault
refNoAgency, route, stop or dated trip reference; or a line's name ("L", "Red Line") with coverage.
stopNoStation name, e.g. "Fulton St", with coverage; a station covers its complex.
coverageNoRegion: sfbay (San Francisco Bay Area), dc (Washington DC Metro and Metrobus), nyc (New York City Subway, LIRR and Metro-North). Region names such as SF or Washington DC also work. Pick the region the place is in; where optional, leave it out only if the place could be in several.
itineraryNoAn itinerary exactly as plan_trip returned it; validated strictly against that contract.

Output Schema

NameRequiredDescriptionDefault
asOfYes
alertsYes
statusYes
reasonsYes
sourcesYes
equipmentNoElevator and escalator outages in scope, where the coverage publishes them.
legChecksYes
attributionYes
journeyValidYes
journeyReasonsYes
transferChecksYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / ref / description
      Previous value: -"Agency, route, stop or dated trip reference."New value: +"Agency, route, stop or dated trip reference; or a line's name (\"L\", \"Red Line\") with coverage."
  2. Changed3 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / anyOf
      Removed value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "coverage": {
      -        "description": "Region: sfbay (San Francisco Bay Area), dc (Washington DC Metro and Metrobus), nyc (New York City Subway, LIRR and Metro-North). Region names such as SF or Washington DC also work. Pick the region the place is in; where optional, leave it out only if the place could be in several.",
      -        "enum": [
      -          "sfbay",
      -          "SF",
      -          "San Francisco",
      -          "Bay Area",
      -          "dc",
      -          "DC",
      -          "Washington DC",
      -          "Washington, DC",
      -          "WMATA",
      -          "DC Metro",
      -          "Metrobus",
      -          "nyc",
      -          "NYC",
      -          "New York",
      -          "New York City",
      -          "NYC Subway",
      -          "MTA Subway",
      -          "MTA",
      -          "LIRR",
      -          "Long Island Rail Road",
      -          "Metro-North",
      -          "Metro-North Railroad"
      -        ],
      -        "type": "string"
      -      },
      -      "itinerary": {
      -        "not": {}
      -      },
      -      "ref": {
      -        "not": {}
      -      },
      -      "stop": {
      -        "not": {}
      -      }
      -    },
      -    "required": [
      -      "coverage"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "coverage": {
      -        "not": {}
      -      },
      -      "itinerary": {
      -        "not": {}
      -      },
      -      "ref": {
      -        "maxLength": 256,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "stop": {
      -        "not": {}
      -      }
      -    },
      -    "required": [
      -      "ref"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "coverage": {
      -        "description": "Region: sfbay (San Francisco Bay Area), dc (Washington DC Metro and Metrobus), nyc (New York City Subway, LIRR and Metro-North). Region names such as SF or Washington DC also work. Pick the region the place is in; where optional, leave it out only if the place could be in several.",
      -        "enum": [
      -          "sfbay",
      -          "SF",
      -          "San Francisco",
      -          "Bay Area",
      -          "dc",
      -          "DC",
      -          "Washington DC",
      -          "Washington, DC",
      -          "WMATA",
      -          "DC Metro",
      -          "Metrobus",
      -          "nyc",
      -          "NYC",
      -          "New York",
      -          "New York City",
      -          "NYC Subway",
      -          "MTA Subway",
      -          "MTA",
      -          "LIRR",
      -          "Long Island Rail Road",
      -          "Metro-North",
      -          "Metro-North Railroad"
      -        ],
      -        "type": "string"
      -      },
      -      "itinerary": {
      -        "not": {}
      -      },
      -      "ref": {
      -        "not": {}
      -      },
      -      "stop": {
      -        "description": "Station name, e.g. \"Fulton St\"; a station covers its complex.",
      -        "maxLength": 256,
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "coverage",
      -      "stop"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "coverage": {
      -        "not": {}
      -      },
      -      "itinerary": {
      -        "additionalProperties": {},
      -        "description": "An itinerary exactly as plan_trip returned it; validated strictly against that contract.",
      -        "propertyNames": {
      -          "type": "string"
      -        },
      -        "type": "object"
      -      },
      -      "ref": {
      -        "not": {}
      -      },
      -      "stop": {
      -        "not": {}
      -      }
      -    },
      -    "required": [
      -      "itinerary"
      -    ],
      -    "type": "object"
      -  }
      -]
    • addedInput schema / properties
      Added value: +{
      +  "coverage": {
      +    "description": "Region: sfbay (San Francisco Bay Area), dc (Washington DC Metro and Metrobus), nyc (New York City Subway, LIRR and Metro-North). Region names such as SF or Washington DC also work. Pick the region the place is in; where optional, leave it out only if the place could be in several.",
      +    "enum": [
      +      "sfbay",
      +      "SF",
      +      "San Francisco",
      +      "Bay Area",
      +      "dc",
      +      "DC",
      +      "Washington DC",
      +      "Washington, DC",
      +      "WMATA",
      +      "DC Metro",
      +      "Metrobus",
      +      "nyc",
      +      "NYC",
      +      "New York",
      +      "New York City",
      +      "NYC Subway",
      +      "MTA Subway",
      +      "MTA",
      +      "LIRR",
      +      "Long Island Rail Road",
      +      "Metro-North",
      +      "Metro-North Railroad"
      +    ],
      +    "type": "string"
      +  },
      +  "itinerary": {
      +    "additionalProperties": {},
      +    "description": "An itinerary exactly as plan_trip returned it; validated strictly against that contract.",
      +    "propertyNames": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  },
      +  "ref": {
      +    "description": "Agency, route, stop or dated trip reference.",
      +    "maxLength": 256,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "stop": {
      +    "description": "Station name, e.g. \"Fulton St\", with coverage; a station covers its complex.",
      +    "maxLength": 256,
      +    "minLength": 1,
      +    "type": "string"
      +  }
      +}
  3. Changed1 schema field changed
    • changedInput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "coverage": {
      -        "description": "Runtime coverage name or identifier; use find_transit to inspect availability.",
      -        "maxLength": 256,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "itinerary": {
      -        "not": {}
      -      },
      -      "ref": {
      -        "not": {}
      -      },
      -      "stop": {
      -        "not": {}
      -      }
      -    },
      -    "required": [
      -      "coverage"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "coverage": {
      -        "not": {}
      -      },
      -      "itinerary": {
      -        "not": {}
      -      },
      -      "ref": {
      -        "maxLength": 256,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "stop": {
      -        "not": {}
      -      }
      -    },
      -    "required": [
      -      "ref"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "coverage": {
      -        "description": "Runtime coverage name or identifier; use find_transit to inspect availability.",
      -        "maxLength": 256,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "itinerary": {
      -        "not": {}
      -      },
      -      "ref": {
      -        "not": {}
      -      },
      -      "stop": {
      -        "description": "Station name, e.g. \"Fulton St\"; a station covers its complex.",
      -        "maxLength": 256,
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "coverage",
      -      "stop"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "coverage": {
      -        "not": {}
      -      },
      -      "itinerary": {
      -        "additionalProperties": {},
      -        "description": "An itinerary exactly as plan_trip returned it; validated strictly against that contract.",
      -        "propertyNames": {
      -          "type": "string"
      -        },
      -        "type": "object"
      -      },
      -      "ref": {
      -        "not": {}
      -      },
      -      "stop": {
      -        "not": {}
      -      }
      -    },
      -    "required": [
      -      "itinerary"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "coverage": {
      +        "description": "Region: sfbay (San Francisco Bay Area), dc (Washington DC Metro and Metrobus), nyc (New York City Subway, LIRR and Metro-North). Region names such as SF or Washington DC also work. Pick the region the place is in; where optional, leave it out only if the place could be in several.",
      +        "enum": [
      +          "sfbay",
      +          "SF",
      +          "San Francisco",
      +          "Bay Area",
      +          "dc",
      +          "DC",
      +          "Washington DC",
      +          "Washington, DC",
      +          "WMATA",
      +          "DC Metro",
      +          "Metrobus",
      +          "nyc",
      +          "NYC",
      +          "New York",
      +          "New York City",
      +          "NYC Subway",
      +          "MTA Subway",
      +          "MTA",
      +          "LIRR",
      +          "Long Island Rail Road",
      +          "Metro-North",
      +          "Metro-North Railroad"
      +        ],
      +        "type": "string"
      +      },
      +      "itinerary": {
      +        "not": {}
      +      },
      +      "ref": {
      +        "not": {}
      +      },
      +      "stop": {
      +        "not": {}
      +      }
      +    },
      +    "required": [
      +      "coverage"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "coverage": {
      +        "not": {}
      +      },
      +      "itinerary": {
      +        "not": {}
      +      },
      +      "ref": {
      +        "maxLength": 256,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "stop": {
      +        "not": {}
      +      }
      +    },
      +    "required": [
      +      "ref"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "coverage": {
      +        "description": "Region: sfbay (San Francisco Bay Area), dc (Washington DC Metro and Metrobus), nyc (New York City Subway, LIRR and Metro-North). Region names such as SF or Washington DC also work. Pick the region the place is in; where optional, leave it out only if the place could be in several.",
      +        "enum": [
      +          "sfbay",
      +          "SF",
      +          "San Francisco",
      +          "Bay Area",
      +          "dc",
      +          "DC",
      +          "Washington DC",
      +          "Washington, DC",
      +          "WMATA",
      +          "DC Metro",
      +          "Metrobus",
      +          "nyc",
      +          "NYC",
      +          "New York",
      +          "New York City",
      +          "NYC Subway",
      +          "MTA Subway",
      +          "MTA",
      +          "LIRR",
      +          "Long Island Rail Road",
      +          "Metro-North",
      +          "Metro-North Railroad"
      +        ],
      +        "type": "string"
      +      },
      +      "itinerary": {
      +        "not": {}
      +      },
      +      "ref": {
      +        "not": {}
      +      },
      +      "stop": {
      +        "description": "Station name, e.g. \"Fulton St\"; a station covers its complex.",
      +        "maxLength": 256,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "coverage",
      +      "stop"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "coverage": {
      +        "not": {}
      +      },
      +      "itinerary": {
      +        "additionalProperties": {},
      +        "description": "An itinerary exactly as plan_trip returned it; validated strictly against that contract.",
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "ref": {
      +        "not": {}
      +      },
      +      "stop": {
      +        "not": {}
      +      }
      +    },
      +    "required": [
      +      "itinerary"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. Changed1 schema field changed
    • changedInput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "coverage": {
      -        "description": "Runtime coverage name or identifier; use find_transit to inspect availability.",
      -        "maxLength": 256,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "itinerary": {
      -        "not": {}
      -      },
      -      "ref": {
      -        "not": {}
      -      }
      -    },
      -    "required": [
      -      "coverage"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "coverage": {
      -        "not": {}
      -      },
      -      "itinerary": {
      -        "not": {}
      -      },
      -      "ref": {
      -        "maxLength": 256,
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "ref"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "coverage": {
      -        "not": {}
      -      },
      -      "itinerary": {
      -        "additionalProperties": {},
      -        "description": "An itinerary exactly as plan_trip returned it; validated strictly against that contract.",
      -        "propertyNames": {
      -          "type": "string"
      -        },
      -        "type": "object"
      -      },
      -      "ref": {
      -        "not": {}
      -      }
      -    },
      -    "required": [
      -      "itinerary"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "coverage": {
      +        "description": "Runtime coverage name or identifier; use find_transit to inspect availability.",
      +        "maxLength": 256,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "itinerary": {
      +        "not": {}
      +      },
      +      "ref": {
      +        "not": {}
      +      },
      +      "stop": {
      +        "not": {}
      +      }
      +    },
      +    "required": [
      +      "coverage"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "coverage": {
      +        "not": {}
      +      },
      +      "itinerary": {
      +        "not": {}
      +      },
      +      "ref": {
      +        "maxLength": 256,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "stop": {
      +        "not": {}
      +      }
      +    },
      +    "required": [
      +      "ref"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "coverage": {
      +        "description": "Runtime coverage name or identifier; use find_transit to inspect availability.",
      +        "maxLength": 256,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "itinerary": {
      +        "not": {}
      +      },
      +      "ref": {
      +        "not": {}
      +      },
      +      "stop": {
      +        "description": "Station name, e.g. \"Fulton St\"; a station covers its complex.",
      +        "maxLength": 256,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "coverage",
      +      "stop"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "coverage": {
      +        "not": {}
      +      },
      +      "itinerary": {
      +        "additionalProperties": {},
      +        "description": "An itinerary exactly as plan_trip returned it; validated strictly against that contract.",
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "ref": {
      +        "not": {}
      +      },
      +      "stop": {
      +        "not": {}
      +      }
      +    },
      +    "required": [
      +      "itinerary"
      +    ],
      +    "type": "object"
      +  }
      +]
  5. Changed1 schema field changed
    • changedOutput schema / properties / reasons / items / enum
      Previous value: -[
      -  "REALTIME_STALE",
      -  "REALTIME_UNAVAILABLE",
      -  "SCHEDULE_EXPIRED",
      -  "SCHEDULE_APPROXIMATE",
      -  "SCHEDULE_REALTIME_MISMATCH",
      -  "TRIP_CANCELED",
      -  "STOP_SKIPPED",
      -  "VALIDATOR_REJECTED",
      -  "COVERAGE_UNAVAILABLE",
      -  "SCOPE_LIMIT_EXCEEDED",
      -  "ACCESSIBILITY_UNAVAILABLE",
      -  "ENDPOINT_NOT_STEP_FREE"
      -]New value: +[
      +  "REALTIME_STALE",
      +  "REALTIME_UNAVAILABLE",
      +  "SCHEDULE_EXPIRED",
      +  "SCHEDULE_APPROXIMATE",
      +  "SCHEDULE_REALTIME_MISMATCH",
      +  "TRIP_CANCELED",
      +  "STOP_SKIPPED",
      +  "VALIDATOR_REJECTED",
      +  "COVERAGE_UNAVAILABLE",
      +  "SCOPE_LIMIT_EXCEEDED",
      +  "ACCESSIBILITY_UNAVAILABLE",
      +  "ENDPOINT_NOT_STEP_FREE",
      +  "PLANNING_UNAVAILABLE"
      +]
  6. Changed3 schema fields changed
    • addedOutput schema / properties / equipment
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Elevator and escalator outages in scope, where the coverage publishes them.",
      +  "properties": {
      +    "blockingStepFreeCount": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "count": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "outages": {
      +      "description": "At most 20, blocking and accessible-path outages first.",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "accessiblePath": {
      +            "description": "On the step-free (ADA) path.",
      +            "type": "boolean"
      +          },
      +          "alternativeRoute": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Agency-supplied way around the outage."
      +          },
      +          "blocksStepFree": {
      +            "description": "Step-free plan_trip avoids these stations while this lasts.",
      +            "type": "boolean"
      +          },
      +          "equipmentId": {
      +            "type": "string"
      +          },
      +          "estimatedReturn": {
      +            "anyOf": [
      +              {
      +                "format": "date-time",
      +                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "hasBackup": {
      +            "anyOf": [
      +              {
      +                "type": "boolean"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Agency says another elevator covers the same path; null when it does not say."
      +          },
      +          "kind": {
      +            "enum": [
      +              "elevator",
      +              "escalator"
      +            ],
      +            "type": "string"
      +          },
      +          "location": {
      +            "type": "string"
      +          },
      +          "reason": {
      +            "type": "string"
      +          },
      +          "since": {
      +            "anyOf": [
      +              {
      +                "format": "date-time",
      +                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "stationName": {
      +            "type": "string"
      +          },
      +          "stationRefs": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "maxItems": 8,
      +            "type": "array"
      +          },
      +          "upcoming": {
      +            "description": "Announced, starting within 24 hours.",
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "equipmentId",
      +          "kind",
      +          "stationRefs",
      +          "stationName",
      +          "location",
      +          "accessiblePath",
      +          "hasBackup",
      +          "blocksStepFree",
      +          "reason",
      +          "since",
      +          "estimatedReturn",
      +          "upcoming",
      +          "alternativeRoute"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "status": {
      +      "description": "Freshness of the agency equipment report; not_offered when this coverage publishes none.",
      +      "enum": [
      +        "current",
      +        "stale",
      +        "unavailable",
      +        "not_offered"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "count",
      +    "blockingStepFreeCount",
      +    "outages"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / reasons / items / enum
      Previous value: -[
      -  "REALTIME_STALE",
      -  "REALTIME_UNAVAILABLE",
      -  "SCHEDULE_EXPIRED",
      -  "SCHEDULE_APPROXIMATE",
      -  "SCHEDULE_REALTIME_MISMATCH",
      -  "TRIP_CANCELED",
      -  "STOP_SKIPPED",
      -  "VALIDATOR_REJECTED",
      -  "COVERAGE_UNAVAILABLE",
      -  "SCOPE_LIMIT_EXCEEDED"
      -]New value: +[
      +  "REALTIME_STALE",
      +  "REALTIME_UNAVAILABLE",
      +  "SCHEDULE_EXPIRED",
      +  "SCHEDULE_APPROXIMATE",
      +  "SCHEDULE_REALTIME_MISMATCH",
      +  "TRIP_CANCELED",
      +  "STOP_SKIPPED",
      +  "VALIDATOR_REJECTED",
      +  "COVERAGE_UNAVAILABLE",
      +  "SCOPE_LIMIT_EXCEEDED",
      +  "ACCESSIBILITY_UNAVAILABLE",
      +  "ENDPOINT_NOT_STEP_FREE"
      +]
    • changedOutput schema / properties / sources / items / properties / kind / enum
      Previous value: -[
      -  "gtfs_schedule",
      -  "trip_updates",
      -  "vehicle_positions",
      -  "alerts",
      -  "native_api"
      -]New value: +[
      +  "gtfs_schedule",
      +  "trip_updates",
      +  "vehicle_positions",
      +  "alerts",
      +  "equipment_outages",
      +  "native_api"
      +]
  7. Changed6 schema fields changed
    • changedInput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "coverage": {
      -        "description": "Runtime coverage name or identifier; use find_transit to inspect availability.",
      -        "maxLength": 256,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "itinerary": {
      -        "not": {}
      -      },
      -      "ref": {
      -        "not": {}
      -      }
      -    },
      -    "required": [
      -      "coverage"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "coverage": {
      -        "not": {}
      -      },
      -      "itinerary": {
      -        "not": {}
      -      },
      -      "ref": {
      -        "maxLength": 256,
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "ref"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "coverage": {
      -        "not": {}
      -      },
      -      "itinerary": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "arrivalTime": {
      -            "format": "date-time",
      -            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -            "type": "string"
      -          },
      -          "artifactVersion": {
      -            "type": "string"
      -          },
      -          "coverageId": {
      -            "type": "string"
      -          },
      -          "departAt": {
      -            "format": "date-time",
      -            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -            "type": "string"
      -          },
      -          "departureTime": {
      -            "format": "date-time",
      -            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -            "type": "string"
      -          },
      -          "destination": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "latitude": {
      -                    "maximum": 90,
      -                    "minimum": -90,
      -                    "type": "number"
      -                  },
      -                  "longitude": {
      -                    "maximum": 180,
      -                    "minimum": -180,
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "latitude",
      -                  "longitude"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "legs": {
      -            "items": {
      -              "anyOf": [
      -                {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "agencyRef": {
      -                      "type": "string"
      -                    },
      -                    "alightSequence": {
      -                      "maximum": 9007199254740991,
      -                      "minimum": -9007199254740991,
      -                      "type": "integer"
      -                    },
      -                    "arrivalTime": {
      -                      "format": "date-time",
      -                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -                      "type": "string"
      -                    },
      -                    "boardSequence": {
      -                      "maximum": 9007199254740991,
      -                      "minimum": -9007199254740991,
      -                      "type": "integer"
      -                    },
      -                    "continuation": {
      -                      "type": "boolean"
      -                    },
      -                    "departureTime": {
      -                      "format": "date-time",
      -                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -                      "type": "string"
      -                    },
      -                    "directionId": {
      -                      "anyOf": [
      -                        {
      -                          "maximum": 9007199254740991,
      -                          "minimum": -9007199254740991,
      -                          "type": "integer"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    },
      -                    "from": {
      -                      "type": "string"
      -                    },
      -                    "headsign": {
      -                      "type": "string"
      -                    },
      -                    "instanceStartSeconds": {
      -                      "type": "number"
      -                    },
      -                    "intermediateStopCount": {
      -                      "maximum": 9007199254740991,
      -                      "minimum": 0,
      -                      "type": "integer"
      -                    },
      -                    "kind": {
      -                      "const": "transit",
      -                      "type": "string"
      -                    },
      -                    "mode": {
      -                      "type": "string"
      -                    },
      -                    "realtimeTimestampSeconds": {
      -                      "type": "number"
      -                    },
      -                    "routeRef": {
      -                      "type": "string"
      -                    },
      -                    "scheduleVersion": {
      -                      "type": "string"
      -                    },
      -                    "scheduledArrivalTime": {
      -                      "format": "date-time",
      -                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -                      "type": "string"
      -                    },
      -                    "scheduledDepartureTime": {
      -                      "format": "date-time",
      -                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -                      "type": "string"
      -                    },
      -                    "serviceDate": {
      -                      "type": "string"
      -                    },
      -                    "sources": {
      -                      "items": {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "ageSeconds": {
      -                            "anyOf": [
      -                              {
      -                                "minimum": 0,
      -                                "type": "number"
      -                              },
      -                              {
      -                                "type": "null"
      -                              }
      -                            ]
      -                          },
      -                          "feedId": {
      -                            "type": "string"
      -                          },
      -                          "ingestedAt": {
      -                            "format": "date-time",
      -                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -                            "type": "string"
      -                          },
      -                          "kind": {
      -                            "enum": [
      -                              "gtfs_schedule",
      -                              "trip_updates",
      -                              "vehicle_positions",
      -                              "alerts",
      -                              "native_api"
      -                            ],
      -                            "type": "string"
      -                          },
      -                          "producerTimestamp": {
      -                            "anyOf": [
      -                              {
      -                                "format": "date-time",
      -                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -                                "type": "string"
      -                              },
      -                              {
      -                                "type": "null"
      -                              }
      -                            ]
      -                          },
      -                          "scheduleVersion": {
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "feedId",
      -                          "kind",
      -                          "producerTimestamp",
      -                          "ingestedAt",
      -                          "ageSeconds",
      -                          "scheduleVersion"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "status": {
      -                      "enum": [
      -                        "realtime",
      -                        "scheduled_only"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    "to": {
      -                      "type": "string"
      -                    },
      -                    "transferRequired": {
      -                      "type": "boolean"
      -                    },
      -                    "tripInstanceRef": {
      -                      "type": "string"
      -                    },
      -                    "tripRef": {
      -                      "type": "string"
      -                    },
      -                    "validatorOutcome": {
      -                      "const": "valid",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "kind",
      -                    "from",
      -                    "to",
      -                    "tripRef",
      -                    "tripInstanceRef",
      -                    "serviceDate",
      -                    "instanceStartSeconds",
      -                    "routeRef",
      -                    "directionId",
      -                    "headsign",
      -                    "boardSequence",
      -                    "alightSequence",
      -                    "scheduleVersion",
      -                    "scheduledDepartureTime",
      -                    "scheduledArrivalTime",
      -                    "departureTime",
      -                    "arrivalTime",
      -                    "status",
      -                    "continuation",
      -                    "mode",
      -                    "agencyRef",
      -                    "intermediateStopCount",
      -                    "transferRequired",
      -                    "sources",
      -                    "validatorOutcome"
      -                  ],
      -                  "type": "object"
      -                },
      -                {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "arrivalTime": {
      -                      "format": "date-time",
      -                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -                      "type": "string"
      -                    },
      -                    "departureTime": {
      -                      "format": "date-time",
      -                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -                      "type": "string"
      -                    },
      -                    "distanceMetres": {
      -                      "type": "number"
      -                    },
      -                    "estimated": {
      -                      "type": "boolean"
      -                    },
      -                    "from": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "additionalProperties": false,
      -                          "properties": {
      -                            "latitude": {
      -                              "maximum": 90,
      -                              "minimum": -90,
      -                              "type": "number"
      -                            },
      -                            "longitude": {
      -                              "maximum": 180,
      -                              "minimum": -180,
      -                              "type": "number"
      -                            }
      -                          },
      -                          "required": [
      -                            "latitude",
      -                            "longitude"
      -                          ],
      -                          "type": "object"
      -                        }
      -                      ]
      -                    },
      -                    "kind": {
      -                      "const": "walk",
      -                      "type": "string"
      -                    },
      -                    "pathwayId": {
      -                      "type": "string"
      -                    },
      -                    "to": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "additionalProperties": false,
      -                          "properties": {
      -                            "latitude": {
      -                              "maximum": 90,
      -                              "minimum": -90,
      -                              "type": "number"
      -                            },
      -                            "longitude": {
      -                              "maximum": 180,
      -                              "minimum": -180,
      -                              "type": "number"
      -                            }
      -                          },
      -                          "required": [
      -                            "latitude",
      -                            "longitude"
      -                          ],
      -                          "type": "object"
      -                        }
      -                      ]
      -                    },
      -                    "validatorOutcome": {
      -                      "const": "valid",
      -                      "type": "string"
      -                    },
      -                    "verification": {
      -                      "enum": [
      -                        "pathway",
      -                        "unverified"
      -                      ],
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "kind",
      -                    "from",
      -                    "to",
      -                    "departureTime",
      -                    "arrivalTime",
      -                    "distanceMetres",
      -                    "verification",
      -                    "estimated",
      -                    "validatorOutcome"
      -                  ],
      -                  "type": "object"
      -                }
      -              ]
      -            },
      -            "type": "array"
      -          },
      -          "maxTransfers": {
      -            "maximum": 9007199254740991,
      -            "minimum": -9007199254740991,
      -            "type": "integer"
      -          },
      -          "maxWalkMetres": {
      -            "type": "number"
      -          },
      -          "origin": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "latitude": {
      -                    "maximum": 90,
      -                    "minimum": -90,
      -                    "type": "number"
      -                  },
      -                  "longitude": {
      -                    "maximum": 180,
      -                    "minimum": -180,
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "latitude",
      -                  "longitude"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "status": {
      -            "enum": [
      -              "realtime",
      -              "scheduled_only"
      -            ],
      -            "type": "string"
      -          },
      -          "transfers": {
      -            "maximum": 9007199254740991,
      -            "minimum": -9007199254740991,
      -            "type": "integer"
      -          },
      -          "walkingMetres": {
      -            "type": "number"
      -          },
      -          "windowSeconds": {
      -            "maximum": 9007199254740991,
      -            "minimum": -9007199254740991,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "coverageId",
      -          "artifactVersion",
      -          "origin",
      -          "destination",
      -          "departAt",
      -          "windowSeconds",
      -          "maxWalkMetres",
      -          "maxTransfers",
      -          "departureTime",
      -          "arrivalTime",
      -          "walkingMetres",
      -          "transfers",
      -          "status",
      -          "legs"
      -        ],
      -        "type": "object"
      -      },
      -      "ref": {
      -        "not": {}
      -      }
      -    },
      -    "required": [
      -      "itinerary"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "coverage": {
      +        "description": "Runtime coverage name or identifier; use find_transit to inspect availability.",
      +        "maxLength": 256,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "itinerary": {
      +        "not": {}
      +      },
      +      "ref": {
      +        "not": {}
      +      }
      +    },
      +    "required": [
      +      "coverage"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "coverage": {
      +        "not": {}
      +      },
      +      "itinerary": {
      +        "not": {}
      +      },
      +      "ref": {
      +        "maxLength": 256,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "ref"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "coverage": {
      +        "not": {}
      +      },
      +      "itinerary": {
      +        "additionalProperties": {},
      +        "description": "An itinerary exactly as plan_trip returned it; validated strictly against that contract.",
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "ref": {
      +        "not": {}
      +      }
      +    },
      +    "required": [
      +      "itinerary"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedOutput schema / properties / alerts / items / properties / selectorCount
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / alerts / items / properties / selectors / description
      Added value: +"At most 20; selectorCount is the full number."
    • addedOutput schema / properties / alerts / items / properties / stopCount
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / alerts / items / properties / stopIds / description
      Added value: +"At most 20; stopCount is the full number."
    • changedOutput schema / properties / alerts / items / required
      Previous value: -[
      -  "id",
      -  "agencyText",
      -  "routeIds",
      -  "stopIds",
      -  "selectors",
      -  "stale",
      -  "activePeriods"
      -]New value: +[
      +  "id",
      +  "agencyText",
      +  "routeIds",
      +  "stopIds",
      +  "selectors",
      +  "selectorCount",
      +  "stopCount",
      +  "stale",
      +  "activePeriods"
      +]
  8. Added

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations, the description adds meaningful behavioral detail: aggregate scopes include canonical service for the next 24 hours, station scope covers its complex, itinerary revalidation does not replace the itinerary, and equipment output fields such as accessiblePath and blocksStepFree are explained. These details materially help an agent understand what the tool returns and how to interpret it.

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?

The description is dense but front-loaded: it starts with the primary use cases, then scoping rules, aggregate behavior, equipment field meanings, and finally the sibling alternative. It is longer than necessary in places, especially the field-level equipment explanation, but most sentences carry useful information.

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

Completeness5/5

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

Given the rich annotations, 100% schema coverage, and existing output schema, the description supplies enough context to call the tool correctly. It covers scoping, aggregate behavior, itinerary revalidation, equipment semantics, and the main alternative tool, leaving no major gap for an agent.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3, but the description adds useful meaning by explaining how coverage, stop, and ref relate to scoping a query. It also clarifies that itinerary is revalidated rather than replaced, supplementing the schema's contract reference.

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 uses a specific verb phrase, 'Check disruptions, delays, closures, elevator and escalator outages, or revalidate a chosen itinerary,' which clearly identifies the resource and operation. It distinguishes this tool from get_vehicle_status, but does not fully differentiate it from nearby siblings like get_incidents or get_elevator_incidents.

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?

It gives a clear usage context for checking service status and explicitly routes observed vehicle location queries to get_vehicle_status. However, it does not state when to prefer this tool over get_incidents, get_elevator_incidents, or get_departures, which are plausible alternatives.

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.