Skip to main content
Glama

Search tourist spots nearby

search_nearby_spots
Read-onlyIdempotent

Search tourist spots near a coordinate in Japan. 指定座標の周辺スポットを検索する(PostGIS使用)。

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": {
      "latitude": "<latitude>",
      "longitude": "<longitude>"
    },
    "name": "search_nearby_spots"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (1-100, default 20)
categoryNoSpot category key(s), comma separated. See list_spot_categories (e.g. culture_onsen)
latitudeYesLatitude in decimal degrees (e.g. 35.6812)
longitudeYesLongitude in decimal degrees (e.g. 139.7671)
radius_kmNoSearch radius in km (default 10)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / category / description
      Added value: +"Spot category key(s), comma separated. See list_spot_categories (e.g. culture_onsen)"
    • addedInput schema / properties / latitude / description
      Added value: +"Latitude in decimal degrees (e.g. 35.6812)"
    • addedInput schema / properties / limit / description
      Added value: +"Max results (1-100, default 20)"
    • addedInput schema / properties / longitude / description
      Added value: +"Longitude in decimal degrees (e.g. 139.7671)"
    • addedInput schema / properties / radius_km / description
      Added value: +"Search radius in km (default 10)"
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description's genuine addition is the Japan-only geographic constraint; the "PostGIS使用" note is an implementation detail with no bearing on invocation. It says nothing about how radius and limit interact or how results are ordered, which annotations do not cover.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The lead English sentence is well front-loaded and scannable. The Japanese sentence restates the same purpose rather than adding information, and the PostGIS parenthetical is noise for a caller, so roughly half the text is redundant.

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

Completeness3/5

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

With a rich output schema, full parameter documentation, and complete read-only annotations, most of the burden is already carried elsewhere. The remaining gap is the missing disambiguation from sibling search tools and any note on result ordering when radius yields more matches than limit.

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 description coverage is 100%, including units, defaults, ranges, and a pointer to list_spot_categories for the category key, so the schema carries the burden. The description adds only the geographic bounding context (Japan) that qualifies what the latitude/longitude must represent.

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 and resource ("Search tourist spots near a coordinate") and adds a geographic scope ("in Japan") that the name alone does not convey. It stops short of distinguishing this from the sibling search_spots, which an agent must infer is the non-geo variant.

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

Usage Guidelines2/5

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

There is no explicit guidance on when to use this versus search_spots or search_nearby_events, nor any stated prerequisites such as needing coordinates already resolved. Usage is only implied by the word "near", leaving the agent to guess the selection rule.

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