Skip to main content
Glama

Find foliage spots at peak

find_peak_spots
Read-onlyIdempotent

Find Japan autumn-foliage viewing spots whose forecast best-viewing window covers a date or date range, optionally near a place. Use it for 'where should I go on ?', 'when does peak?', and 'is still at peak on ?' questions. Give a date (or date_from/date_to) plus optionally a location: near (city or prefecture name, e.g. 'Kyoto') or lat/lon, with radius_km; or restrict by region or prefecture. Returns each spot's forecast peak window (start–end), confidence in days, nearest rail station, leaf type, and a page URL, sorted by prominence then proximity. Example prompts: 'Which foliage spots near Kyoto peak on 20 November?', 'Best koyo in Tohoku the first week of November', 'Is Nikko past peak by 1 December?'. Example call: {date: '2026-11-20', near: 'Kyoto', radius_km: 60}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latNoLatitude, alternative to near.
lonNoLongitude, alternative to near.
dateNoTarget date, YYYY-MM-DD. Use this OR date_from/date_to.
nearNoCity or prefecture name to search around, e.g. 'Kyoto', 'Nikko', 'Aomori'.
limitNoMax results, default 10, max 25.
regionNoRestrict to one region of Japan.
statusNo'peak' (default): spots whose best-viewing window covers the date(s). 'any': no status filtering, statuses labeled.
date_toNoEnd of a date range, YYYY-MM-DD (pair with date_from).
date_fromNoStart of a date range, YYYY-MM-DD (pair with date_to).
radius_kmNoSearch radius around the location in km. Default 60 (day-trip range).
prefectureNoRestrict to one prefecture, e.g. 'Aomori'.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false. The description adds meaningful behavioral context: returned fields (peak window start–end, confidence in days, nearest rail station, leaf type, page URL) and sort order (prominence then proximity). This goes beyond the annotations without contradicting them.

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?

The description is dense but every sentence earns its place: core behavior, question types, parameter guidance, return format, examples. Key scoping information is front-loaded, and examples at the end reinforce the rules without adding fluff.

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

Completeness5/5

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

With 11 parameters, no required fields, no output schema, and three sibling tools, the description still covers the essential call patterns, parameter combinations, return payload, and sorting behavior. The example prompts and example call give an agent enough to select and invoke this tool correctly in varied user scenarios.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds relational meaning: date OR date_from/date_to, near OR lat/lon, radius_km as an optional modifier, and region/prefecture as restrictors. The example call {date: '2026-11-20', near: 'Kyoto', radius_km: 60} demonstrates valid parameter combination, which the flat schema alone does not convey.

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?

The description opens with a specific verb and resource: 'Find Japan autumn-foliage viewing spots' whose forecast window covers a date/range. The three listed question types ('where should I go on <date>?', 'when does <place> peak?', 'is <spot> still at peak on <date>?') make the tool's specialized purpose unmistakable and distinguish it from generic siblings like search or fetch.

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?

The description explicitly says 'Use it for...' and provides concrete example prompts and an example call, giving clear context on when to invoke the tool. It does not explicitly state when not to use it or name alternatives, so it stops short of a 5.

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.

TDQS

A4.4/5.0
Disambiguation4/5

Each tool has a distinct role: get_coverage for scope, search for free-text lookup, find_peak_spots for date/location queries, and fetch for detail by id. There is some overlap between search and find_peak_spots and between find_peak_spots and fetch, but the descriptions are specific enough to route correctly.

Naming Consistency4/5

All names are lowercase imperative verbs, which provides a consistent style, but fetch and search are bare verbs while find_peak_spots and get_coverage use verb_noun construction. This is a minor structural inconsistency rather than a chaotic mix.

Tool Count5/5

With four tools covering one narrow forecast domain, the set is appropriately scoped. No tool feels extraneous, and there are enough tools to answer the main forecast questions without overwhelming the agent.

Completeness5/5

The surface covers orientation via get_coverage, discovery by text or date/location via search and find_peak_spots, and full detail retrieval via fetch. For a read-only forecast server this is complete; no obvious missing operation blocks a typical query workflow.

Resources