Skip to main content
Glama

Search collection points by name

search_points
Read-onlyIdempotent

Search one city's stops by district, village, location or route text (Traditional Chinese). All space-separated terms must match, e.g. "大安區 安和路".

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>",
      "query": "<query>"
    },
    "name": "search_points"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYesCity id: taipei, new-taipei, taichung, kaohsiung, changhua, yunlin
limitNo
queryYes

Output Schema

NameRequiredDescriptionDefault
pointsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / city / description
      Previous value: -"City id: taipei, new-taipei, taichung, kaohsiung"New value: +"City id: taipei, new-taipei, taichung, kaohsiung, changhua, yunlin"
    • changedInput schema / properties / city / enum
      Previous value: -[
      -  "taipei",
      -  "new-taipei",
      -  "taichung",
      -  "kaohsiung"
      -]New value: +[
      +  "taipei",
      +  "new-taipei",
      +  "taichung",
      +  "kaohsiung",
      +  "changhua",
      +  "yunlin"
      +]
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the query must be Traditional Chinese and space-separated terms are ANDed. It stops short of describing ordering, empty-result behavior, or the default/maximum result count.

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 tight sentences, front-loaded with the scope constraint followed by the matching rule and a concrete example. Nothing is redundant and the example earns its space by disambiguating the AND semantics.

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?

An output schema exists, so return values need no explanation, and the description covers scope, language, and matching logic adequately for a 3-parameter search. The remaining gap is the undocumented limit parameter and any hint about result ordering or truncation.

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 coverage is only 33% — city is documented in the schema, while query and limit are not. The description compensates well for query (language, AND semantics, example) but says nothing about limit, leaving one of three parameters undocumented in both places.

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?

States a specific verb and resource ('Search one city's stops') plus the exact fields searched (district, village, location, route text) and the language constraint (Traditional Chinese). It implicitly separates itself from find_nearby_points by framing this as text search within a single city, though it never names the sibling alternative.

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 'one city' scope and the rule that 'all space-separated terms must match' imply when this tool is the right choice, and the worked example clarifies multi-term behavior. However, there is no explicit when-to-use vs. find_nearby_points/get_schedule guidance and no mention of when text search will fail.

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.