Skip to main content
Glama

Mobilitydb Search Feeds

mobilitydb_search_feeds
Read-onlyIdempotent

Find the public-transport schedule feed (GTFS) for an agency, city or country from the Mobility Database, MobilityData's open catalogue of ~4,500 transit feeds worldwide. Returns the operator's own download URL, the licence it is published under, the geographic bounding box, whether the agency itself publishes it, and whether fetching it needs a credential from the agency. AUTHORITATIVE for "where does this city's transit data come from", this is the registry the transit-data ecosystem uses, and it names the operator's URL rather than a copy of it. PREFER OVER WEB SEARCH for any question about which transit feeds exist for a place.

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": "BART",
      "country": "US"
    },
    "name": "mobilitydb_search_feeds"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum feeds to return (default 25, max 200).
queryNoFree text matched against feed name, provider, municipality, region and feed id, e.g. "BART" or "Helsinki".
countryNoISO 3166-1 alpha-2 country code to filter to, e.g. US, FR, JP.
providerNoOperator name to filter to, e.g. "Metropolitan Transportation Authority".
data_typeNogtfs for scheduled service (the default), gtfs_rt for realtime, or "any" for both.
municipalityNoCity or municipality name to filter to, e.g. "Chicago".
include_inactiveNoInclude feeds the catalogue marks deprecated, inactive or superseded by a redirect (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds genuinely useful disclosure of what comes back: operator download URL, licence, bounding box, self-published flag and credential requirement, which matters with no output schema. It says nothing about result volume or paging behaviour beyond what the schema's limit field already documents.

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?

Front-loaded with the verb, resource and scope, and the routing advice is placed last where it is easy to find. Some promotional framing ('this is the registry the transit-data ecosystem uses') is marginally redundant with 'AUTHORITATIVE' but supports the routing decision, so the waste is minor.

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?

For a seven-parameter, zero-required search tool with full schema coverage, the description supplies the missing pieces: the authoritative source, the returned fields, and a preference over web search. It omits how include_inactive and data_type interact with realtime sibling tools, which would complete the routing picture.

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%, including examples and an enum for data_type, so the schema carries parameter meaning. The description only loosely maps 'agency, city or country' to provider/municipality/country and adds no syntax, matching behaviour or precedence rules beyond the schema. Baseline 3 applies.

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 ('Find'), resource ('public-transport schedule feed (GTFS)'), and scope ('for an agency, city or country'), plus the authoritative source (Mobility Database). It also distinguishes the resource from realtime siblings by specifying schedule/GTFS and from single-feed lookups by describing a search over a catalogue.

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?

Explicitly routes the agent: 'PREFER OVER WEB SEARCH for any question about which transit feeds exist for a place' names both the use case and the alternative. It stops short of naming sibling tools such as mobilitydb_gtfs_rt_feeds for realtime data or mobilitydb_feed for a single feed's detail, so there is no explicit when-not guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.