Skip to main content
Glama
TfNSW Trip Planner MCP Server

TfNSW Trip Planner MCP Server

by 3bobchen

tfnsw_trip

Plan a public transport journey between two NSW locations and get trip options with real-time departure and arrival times, transfers, line numbers, and walking directions.

Instructions

Plan a public transport journey between two locations in NSW. Returns trip options with detailed legs including real-time departure/arrival times, line numbers, transfers, and walking directions.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "origin": "<origin>",
      "destination": "<destination>"
    },
    "name": "tfnsw_trip"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoTravel date in YYYYMMDD format (default: today)
timeNoTravel time in HHMM format (default: now)
originYesStarting location (stop name, address, or stop ID)
wheelchairNoRequire wheelchair accessible routes
destinationYesDestination (stop name, address, or stop ID)
departOrArriveNo'dep' = depart at time, 'arr' = arrive by timedep

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.3

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose something valuable: results include real-time departure/arrival times, line numbers, transfers, and walking directions, which tells the agent to expect live data. It says nothing about limits on the number of trip options returned, failure modes for unknown stops, authentication needs, or whether requests are rate limited.

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 tight sentences: the first states the action and scope, the second states what comes back. Nothing is redundant and the purpose is front-loaded.

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

Completeness3/5

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

For a six-parameter query tool with no output schema and no annotations, the description covers purpose and rough return contents but leaves the agent without routing guidance among the four sibling tools or any behavioral caveats. It is adequate, not complete.

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 formats for date (YYYYMMDD) and time (HHMM) and the dep/arr enum, so the schema already does the semantic work. The description adds no parameter-level detail beyond that, which matches the baseline 3 for fully documented schemas.

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 gives a specific verb and resource: 'Plan a public transport journey between two locations in NSW', plus a preview of the output shape (legs, transfers, walking directions). It is clear about what the tool does, but it never distinguishes it from siblings such as tfnsw_departures or tfnsw_coord_request, so an agent must infer the boundary itself.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the phrase 'plan a public transport journey between two locations' — a reader can guess this is the tool for point-to-point trip planning. There is no explicit guidance on when to use it versus a departures or stop-lookup tool, and no stated prerequisites or exclusions.

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