Skip to main content
Glama

Cycle paths

cycling_routes
Read-only

Find cycle paths in a Taiwan city by name, road, district keyword, or nearby coordinates, returning start/end roads, length, and endpoints for route planning.

Instructions

Cycle paths (自行車道) of a city: name, district, the roads where each starts and ends, length and its end points; near a coordinate (nearest first) or by a keyword in the name, road or district. Example: city "Taipei", keyword "河濱"; or lat 25.0478, lon 121.517, city "Taipei".

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": {
      "city": "<city>"
    },
    "name": "cycling_routes"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoLatitude (WGS84), e.g. 25.0478.
lonNoLongitude (WGS84), e.g. 121.517.
cityYesCity: a TDX code (Taipei, NewTaipei, Taoyuan, Taichung, Tainan, Kaohsiung, Keelung, HsinchuCounty, MiaoliCounty, ChanghuaCounty, NantouCounty, YunlinCounty, Chiayi, ChiayiCounty, PingtungCounty, YilanCounty, HualienCounty, TaitungCounty, KinmenCounty, PenghuCounty) or its Chinese name (臺北市, 新北市, 高雄市, ...).
limitNoMaximum number of cycle paths to return (default 10).
keywordNoPart of the path name, a road or a district, e.g. "河濱", "信義區".
radiusMetersNoSearch radius in metres (default 1000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds that proximity results are returned nearest-first, which is genuine behavioral value, but says nothing about what happens when lat/lon and keyword are supplied together, or how radius and limit interact.

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?

The returned-field list is front-loaded ahead of the query modes, and the example pair is compact and useful. The single long clause chaining fields, modes and examples is dense but contains no filler.

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?

With six parameters and no output schema, the description does the right work by enumerating what a result contains and how ordering behaves. The remaining gap — combination rules between proximity and keyword filters — is modest for what is essentially a read-only search tool.

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 every parameter is already documented, making 3 the baseline. The description reinforces that keyword spans name, road and district and shows a coordinate-plus-city call, but adds no semantics the schema lacks and does not resolve the ambiguity of coordinate and keyword being used simultaneously.

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 resource (cycle paths / 自行車道) and enumerates the fields returned (name, district, start/end roads, length, end points), which is unambiguous. It does not explicitly differentiate itself from siblings such as youbike_nearby, though the resource itself is distinct enough that confusion is unlikely.

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?

It clearly states the two supported query modes — proximity to a coordinate (nearest first) or keyword matching — and backs this with two concrete example invocations. It stops short of stating exclusions or how the two modes interact when combined.

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