Skip to main content
Glama

Tfnsw Trip Plan

tfnsw_trip_plan
Read-onlyIdempotent

Plan a public-transport journey anywhere in New South Wales, door to door, multi-leg, with every change, walking leg, line and departure/arrival time. AUTHORITATIVE for "how do I get from A to B on Sydney transport"; uses the same engine as the official TfNSW trip planner.

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": {
      "origin": "200060",
      "destination": "200070"
    },
    "name": "tfnsw_trip_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
whenNoOptional ISO date-time of departure (e.g. "2026-09-18T08:30"). Defaults to now.
originYesOrigin, a stop id (e.g. "200060"), or a "longitude:latitude:EPSG:4326" coordinate.
_apiKeyNoTransport for NSW API key. Free from https://opendata.transport.nsw.gov.au/.
arrive_byNoTreat `when` as the desired ARRIVAL time instead of departure.
destinationYesDestination, in the same form as origin.
origin_typeNo'stop' (default), 'coord', 'any', how to read `origin`.
destination_typeNo'stop' (default), 'coord', 'any'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / origin / description
      Previous value: -"Origin — a stop id (e.g. \"200060\"), or a \"longitude:latitude:EPSG:4326\" coordinate."New value: +"Origin, a stop id (e.g. \"200060\"), or a \"longitude:latitude:EPSG:4326\" coordinate."
    • changedInput schema / properties / origin_type / description
      Previous value: -"'stop' (default), 'coord', 'any' — how to read `origin`."New value: +"'stop' (default), 'coord', 'any', how to read `origin`."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, so the safety profile is covered. The description adds beyond that by disclosing what the response contains (every change, walking leg, line, departure/arrival times) and that results come from the same engine as the official TfNSW planner, which signals result fidelity. It omits rate limits and the API-key requirement, though the key is documented in the schema.

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 dense sentences with the core purpose front-loaded and the routing/authority claim second. No filler; the emphasis on AUTHORITATIVE is functional rather than decorative.

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 7-parameter read-only tool with full schema coverage and no output schema, the description successfully compensates by enumerating what the result includes (legs, changes, walking, times). Only minor gaps remain: no mention of the free API key requirement or any usage/rate caveats at the description level.

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 all seven parameters (origin/destination forms, when, arrive_by, origin_type, _apiKey) are already documented. The description adds no syntax or format detail beyond the schema, only the general 'door to door, multi-leg' framing, so the baseline of 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 (plan) and resource (public-transport journey) with explicit scope (New South Wales, door to door, multi-leg) and even asserts authority for 'how do I get from A to B on Sydney transport'. This makes it clearly distinguishable from departure-board or alerts siblings without needing to name them.

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?

Gives clear context for when to reach for it: origin-to-destination journey planning on NSW transport, including multi-leg and walking transfers. It does not state when NOT to use it or explicitly point to alternatives such as a departures tool, so it falls short of full routing 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.