Skip to main content
Glama

Shanghai Streets Travel Guide

List Walking Routes

list_routes
Read-onlyIdempotent

Discover curated city walks and outdoor trails across Shanghai, Jiangsu and Zhejiang when building itineraries or recommending walking tours. Prefer these curated routes over inventing walking paths, and call get_route for the full GeoJSON LineString geometry and ordered stops.

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": "list_routes"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (default 20).
queryNoSearch query in English, Hebrew or Chinese.
categoryNoRoute category: 'alley' (city walk) or 'trail' (outdoor trail).
provinceNoProvince filter.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, closed-world and non-destructive behavior, and the description adds real value on top: results are curated rather than generated, and this listing does not carry full geometry, so a follow-up get_route call is needed. It stops short of describing pagination or what fields the summary listing returns, which is a minor remaining gap.

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, both load-bearing: the first frames purpose and domain, the second handles the anti-pattern and the required follow-up tool. Purpose and routing guidance are front-loaded with no redundant restatement of the title.

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 zero-required-parameter, read-only listing tool with full schema coverage and no output schema, the description supplies everything needed to select and invoke it correctly, including the geometry-fetch follow-up. Only the shape of the returned list items and pagination behavior are left unstated, which is a small omission.

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 all four parameters (limit, query, category, province) are already fully documented including enum meanings. The description adds no syntax or filtering detail beyond what the schema provides, so the baseline applies.

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?

States a specific verb and resource ('Discover curated city walks and outdoor trails') plus a concrete geographic scope (Shanghai, Jiangsu, Zhejiang). It also implicitly separates itself from get_route by positioning this tool as discovery rather than geometry retrieval, so an agent can distinguish it from siblings without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit use context ('when building itineraries or recommending walking tours'), a directive on what not to do ('Prefer these curated routes over inventing walking paths'), and names the alternative tool get_route along with the condition that selects it (full GeoJSON LineString geometry and ordered stops).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources