Skip to main content
Glama
TfNSW Trip Planner MCP Server

TfNSW Trip Planner MCP Server

by 3bobchen

tfnsw_service_alerts

Retrieve current NSW public transport service alerts and disruptions, including delays, cancellations, and planned works, and filter results by date or stop.

Instructions

Get current service alerts and disruptions for NSW public transport. Shows planned works, delays, cancellations, and other disruptions. Can filter by date or stop.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "tfnsw_service_alerts"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoFilter by date in DD-MM-YYYY format
stopIdNoFilter alerts for a specific stop ID

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, the description carries the full burden; it does disclose what the tool returns (planned works, delays, cancellations, other disruptions), which is useful context beyond structured fields. However, it does not clarify whether results are real-time or cached, whether 'current' conflicts with the ability to filter by an arbitrary date (including past dates), or how large/ordered the alert set is.

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?

Three short sentences, front-loaded with the purpose and followed by the returned content types and filter options. No filler, though the filter sentence is close to redundant with the schema.

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 read-only lookup with two optional parameters and no output schema, the definition covers purpose, content returned, and filtering. Remaining gaps (response shape, alert freshness, whether filters combine) are minor but real given zero annotation coverage.

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 the date format (DD-MM-YYYY) and stopId meaning are already fully documented in the schema. The sentence 'Can filter by date or stop' merely restates the two parameters without adding combination rules or behavior when both are supplied. Baseline 3 is appropriate.

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 states a specific verb and resource ('Get current service alerts and disruptions for NSW public transport') and enumerates the content types it covers (planned works, delays, cancellations). An agent can distinguish this from tfnsw_departures or tfnsw_trip by the resource alone, though the description never names a sibling to confirm the boundary.

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: 'current' alerts plus optional date/stop filters suggests when the tool is relevant, but there is no explicit statement of when to prefer it over tfnsw_departures or tfnsw_trip, and no exclusion or prerequisite guidance. Adequate for a single-purpose alerts tool, but the agent must infer routing.

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