Skip to main content
Glama

Mobilitydb Gtfs Rt Feeds

mobilitydb_gtfs_rt_feeds
Read-onlyIdempotent

List the GTFS-Realtime feeds, live vehicle positions, trip updates and service alerts, registered in the Mobility Database for a country, city or operator, with the realtime endpoint URL and the GTFS Schedule feed each one is keyed against. AUTHORITATIVE for which transit agencies publish live data and where: realtime trip ids only resolve against the specific schedule feed named here, so this is what you need before consuming one.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "limit": 2,
      "query": "MBTA",
      "country": "US",
      "group_by_agency": true
    },
    "name": "mobilitydb_gtfs_rt_feeds"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum entries to return (default 25, max 200).
queryNoFree text matched against feed name, provider, municipality and feed id.
countryNoISO 3166-1 alpha-2 country code, e.g. US, DE, JP.
entity_typeNoWhich realtime stream: vp (vehicle positions), tu (trip updates), sa (service alerts).
group_by_agencyNoCollapse the vp/tu/sa rows an agency publishes into one entry per schedule feed, listing the streams available (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, open-world and non-destructive semantics, so the bar is lower, and the description still adds substance: it is a registry over an external database, it returns endpoint URLs, and results are keyed to a specific schedule feed. It does not discuss result volume, pagination or freshness beyond what the schema states.

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

Conciseness4/5

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

Two sentences, front-loaded with the verb and resource, and the second sentence earns its place by establishing which feed the ids resolve against. The first sentence is long with many coordinated clauses, but no sentence is filler.

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?

There is no output schema, so the description carries the burden of describing returns, and it does name the key return fields: the realtime endpoint URL and the GTFS Schedule feed each entry is keyed against. For a filter-only read tool with fully documented parameters and annotations, that is close to complete; only result shape details (per-stream listing under group_by_agency) are left to inference.

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%, so every parameter including the vp/tu/sa enum and group_by_agency is already documented; baseline 3 applies. The prose only loosely echoes the filters (country, city, operator, the three stream types) without adding format or interaction details such as how query interacts with country.

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?

"List the GTFS-Realtime feeds ... registered in the Mobility Database for a country, city or operator" gives a specific verb, resource and scope, and enumerates the three stream types (positions, trip updates, alerts). The second sentence states authority and what it returns (realtime endpoint URL plus the keyed GTFS Schedule feed), which tells an agent this is the registry lookup rather than a generic search.

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 states a clear prerequisite ordering — realtime trip ids only resolve against the specific schedule feed named here, "so this is what you need before consuming one" — which is real when-to-use guidance. It stops short of naming an alternative lookup (e.g. the search/feed siblings) or saying when a different endpoint is preferable, so the exclusion side is only implied.

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.