You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add maps_timezone and maps_weather tools (#42)
* feat: add maps_timezone and maps_weather tools
- maps_timezone: timezone ID, name, UTC/DST offsets, local time
via google-maps-services-js timezone()
- maps_weather: current conditions (temperature, humidity, wind, UV,
precipitation) via Google Weather API (weather.googleapis.com)
- Register both tools in config, exec CLI, and smoke tests
- Update README: 8 → 10 tools, add to comparison table and tool list
- 94 tests passed (weather test is non-blocking if API not enabled)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat: enhance weather tool with forecast, friendly errors, coverage info
- Add forecast_daily (up to 10 days) and forecast_hourly (up to 240 hours)
- Add friendly error message for unsupported regions (Japan, China, etc.)
- Document coverage limitations in tool description
- Use US coordinates in tests (Japan unsupported by Weather API)
- Fix pressure field mapping (airPressure, not pressure)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* refactor: improve tool descriptions with scenario-based triggers
Apply agentskill-expertise P4 pattern — descriptions now lead with
user trigger scenarios instead of feature lists:
- elevation: "how high is this place", "is this area flood-prone"
- timezone: "what time is it in Tokyo", "coordinate meeting across timezones"
- weather: "what's the weather in Paris", "pack for a trip" + shorten
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* style: run prettier on changed files
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* chore: add mcpregistry tokens and .mcp.json to gitignore
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
npx @cablate/mcp-google-map exec search-places '{"query":"ramen in Tokyo"}'
114
118
```
115
119
116
-
All 8 tools available: `geocode`, `reverse-geocode`, `search-nearby`, `search-places`, `place-details`, `directions`, `distance-matrix`, `elevation`. See [`skills/google-maps/`](./skills/google-maps/) for the agent skill definition and full parameter docs.
120
+
All 10 tools available: `geocode`, `reverse-geocode`, `search-nearby`, `search-places`, `place-details`, `directions`, `distance-matrix`, `elevation`, `timezone`, `weather`. See [`skills/google-maps/`](./skills/google-maps/) for the agent skill definition and full parameter docs.
Copy file name to clipboardExpand all lines: src/tools/maps/elevation.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ import { getCurrentApiKey } from "../../utils/requestContext.js";
4
4
5
5
constNAME="maps_elevation";
6
6
constDESCRIPTION=
7
-
"Get elevation (height above sea level in meters) for one or more geographic coordinates. Use for terrain analysis, hiking/cycling route planning, or when the user asks about altitude at specific locations.";
7
+
"Get elevation (meters above sea level) for geographic coordinates. Use when the user asks 'how high is this place', 'is this area flood-prone', or needs altitude for hiking/cycling route profiles. Also useful for real estate risk assessment — low elevation near water suggests flood risk.";
"Get the timezone and current local time for a location. Use when the user asks 'what time is it in Tokyo', needs to coordinate a meeting across timezones, or is planning travel across timezone boundaries. Returns timezone ID, UTC/DST offsets, and computed local time.";
0 commit comments