Skip to main content
Glama

mbta_plan_trip

Find optimal public transit routes between two locations in Boston using MBTA. Returns routes with transfers, walking times, and real-time data.

Instructions

Plan a trip between two locations using MBTA public transit. Returns optimal route options with transfers, walking times, and real-time data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
origin_latYesOrigin latitude
origin_lonYesOrigin longitude
dest_latYesDestination latitude
dest_lonYesDestination longitude
departure_timeNoPreferred departure time in ISO format (defaults to now)
arrival_timeNoRequired arrival time in ISO format (overrides departure_time)
max_walk_distanceNoMaximum walking distance in meters (default: 800)
max_transfersNoMaximum number of transfers allowed (default: 3)
prefer_fewer_transfersNoPrioritize routes with fewer transfers (default: true)
wheelchair_accessibleNoOnly include wheelchair accessible routes (default: false)
Behavior3/5

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

No annotations provided, so description bears full burden. It discloses return of 'optimal route options' but lacks details on data freshness, rate limits, error handling, or whether it supports real-time or historical data. Adequate but not thorough.

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?

Single sentence is maximally concise and front-loads the purpose. No redundant information.

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

Completeness2/5

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

With 10 parameters, no output schema, and a description that does not explain parameter interactions or return format, the tool lacks completeness. It fails to convey that the output likely includes multiple itineraries, transit modes, or how to interpret optimality.

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 coverage is 100%, so baseline is 3. Description adds no parameter-specific value beyond the schema. It mentions 'transfers, walking times, and real-time data' but does not elaborate on parameter roles like departure_time vs arrival_time.

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?

Description clearly states the verb ('Plan a trip'), resource ('MBTA public transit'), and output ('optimal route options with transfers, walking times, and real-time data'). It distinctly separates from sibling tools which are all data retrieval (alerts, schedules, etc.).

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?

Description implicitly defines usage by stating 'Plan a trip,' which sets clear context against sibling getters. However, it lacks explicit when-to-use or when-not-to-use guidance, such as scenarios better suited for other tools like schedules.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cubismod/mbta-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server