Skip to main content
Glama
TfNSW Trip Planner MCP Server

TfNSW Trip Planner MCP Server

by 3bobchen

tfnsw_stop_finder

Search NSW public transport stops, stations, and platforms by name or keyword to retrieve matching location IDs, coordinates, and transport modes for trip planning.

Instructions

Search for public transport stops, stations, platforms, or points of interest in NSW by name or keyword. Returns matching locations with IDs (needed for other tools), coordinates, and available transport modes.

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": {
      "query": "<query>"
    },
    "name": "tfnsw_stop_finder"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesSearch term (e.g. 'Central Station', 'Circular Quay', 'Town Hall')
maxResultsNoMaximum results to return (default 10)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.3

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose the return payload shape: matching locations with IDs, coordinates, and available transport modes. It does not state that the operation is read-only, whether results are ranked or truncated, or what happens when nothing matches, all of which an agent would want for a search tool.

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 sentences, front-loaded with the action and scope, then the return contract. No filler and nothing redundant.

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 simple two-parameter read tool with full schema coverage, this is close to sufficient: it explains what is searched and what comes back, which matters because no output schema exists. It could be rounded out with a note on the safety profile or result-ordering behavior, but nothing an agent needs to call it is missing.

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 both the free-text 'query' and the 'maxResults' (default 10) cap are already documented in the schema. The description echoes 'by name or keyword' but adds no syntax, matching-behavior, or ranking detail beyond what the schema provides.

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 names a specific verb and resource ('Search for public transport stops, stations, platforms, or points of interest in NSW') with an explicit scope (NSW) and matching method (name or keyword). It stops short of explicitly contrasting itself with siblings like tfnsw_departures or tfnsw_trip, though the note that results include 'IDs (needed for other tools)' implicitly signals its role as a prerequisite lookup.

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?

The parenthetical 'IDs (needed for other tools)' implies this is a first-step tool that feeds downstream calls, which is useful implied guidance. However, it never states when to prefer it over an alternative, nor any exclusions or prerequisites, leaving the agent to infer the ordering.

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