Skip to main content
Glama
yasg1988

transport12 MCP Server

by yasg1988

Search routes

search_routes

Find routes by number or name, or list all when no query is given. Optionally filter by kind to narrow results.

Instructions

Search routes by number or name. If query is omitted, returns all routes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNoOptional normalized route kind.
queryNoRoute number or name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.3

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are present, so the description carries the full burden. It does disclose one non-obvious behavior: omitting the query returns all routes. It does not, however, describe whether matching is exact or partial, whether results are paginated, or how the 'kind' parameter affects results.

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 short sentences with no filler. The first sentence states the operation and accepted inputs; the second adds the key edge-case behavior. Every sentence earns its place.

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-optional-parameter search tool, the description provides the essential search semantics and the all-routes fallback. The main omissions are the effect of 'kind' and any output format details, but the schema covers the parameter well enough for an agent to proceed.

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 baseline is 3. The description reinforces that 'query' is a route number or name and adds the 'all routes' fallback, but it does not explain how 'kind' interacts with the search.

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 ('Search') and resource ('routes') and clarifies that matches can be by 'number or name'. This is clear enough to distinguish the tool from route-detail tools like get_route, though it does not explicitly contrast with sibling search tools.

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 description implies the core usage: provide a route number or name as the query. It also covers the omitted-query behavior by saying 'returns all routes'. However, it gives no explicit guidance on when to prefer this tool over search_stops, search_everything, or get_route.

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