Skip to main content
Glama
countaight

BusTime MCP

by countaight

get_patterns

Retrieve pattern points to draw a bus route or vehicle's path on a map. Provide pattern IDs or a route designator.

Instructions

Fetch pattern points for a comma-delimited list of pattern ids (pid, max 10), or all active patterns for a single route (rt). Provide exactly one of pid or rt, not both. Useful for drawing a route or vehicle's path on a map.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rtNoRoute designator to fetch all active patterns for. Mutually exclusive with pid.
pidNoComma-delimited pattern ids (max 10), e.g. the 'pid' field from a get_vehicle or get_predictions_for_stop result. Mutually exclusive with rt.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations provided, so description carries full burden. It discloses the constraints (max 10 pids, mutually exclusive parameters, 'active patterns') but does not detail behavior on invalid inputs or other edge cases. Adequate for a simple read 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, no wasted words. Front-loaded with the core action and constraints, followed by use case. Every sentence adds value.

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

Completeness5/5

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

For a tool with 2 optional mutually exclusive parameters and no required fields, the description fully covers the two modes of operation and the intended use case. Since an output schema exists, return values need not be described.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, baseline 3. The description adds value by explaining pid is comma-delimited, max 10, and where pid values come from (get_vehicle, get_predictions_for_stop), which is helpful context beyond the schema.

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?

The description clearly states the tool fetches pattern points for either a list of pattern IDs (pid) or all active patterns for a single route (rt). It distinguishes from sibling tools by focusing on pattern points for map drawing, not routes or stops.

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?

Explicitly states to provide exactly one of pid or rt, not both. Mentions a use case (drawing a path on a map) but does not explicitly list alternatives or when not to use.

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/countaight/bustime-mcp'

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