Conversation
Both tools now accept an optional departure_time parameter (ISO 8601) for traffic-aware routing. Passes through to Routes API departureTime. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Verify place_details returns types, primary_type, editorial_summary, language in reviews - Verify search results include primary_type and price_level - Verify plan_route and distance_matrix have departure_time in inputSchema Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Removes underscore-prefixed duplicate keys (e.g. _acceptsCreditCards) that Google's gRPC client includes as proto field name aliases. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
cablate
added a commit
that referenced
this pull request
Mar 21, 2026
… place Google Places API (New) returns max 5 reviews sorted by relevance. This change fetches an additional 5 newest reviews via Legacy Place Details API (which supports reviews_sort=newest), then merges and deduplicates by author+timestamp. Result: place_details now returns ~10 reviews instead of 5, with both high-quality relevant reviews and the most recent ones — enabling better AI context classification and trend detection. Also fixes Prettier formatting inconsistencies from PR #63 squash merge. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
cablate
added a commit
that referenced
this pull request
Mar 21, 2026
… place (#64) Google Places API (New) returns max 5 reviews sorted by relevance. This change fetches an additional 5 newest reviews via Legacy Place Details API (which supports reviews_sort=newest), then merges and deduplicates by author+timestamp. Result: place_details now returns ~10 reviews instead of 5, with both high-quality relevant reviews and the most recent ones — enabling better AI context classification and trend detection. Also fixes Prettier formatting inconsistencies from PR #63 squash merge. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up to #62 — these commits were pushed after the merge window.
departure_timeparameter:maps_plan_routeandmaps_distance_matrixnow accept optionaldeparture_time(ISO 8601) for traffic-aware routing. Passes through to Routes APIdepartureTime.primary_type,types,editorial_summary, reviewlanguage), search result fields (primary_type,price_level), anddeparture_timein inputSchema._acceptsCreditCardsetc.) from Google gRPC client output.Changed Files
src/tools/maps/planRoute.tsdeparture_timeto SCHEMAsrc/tools/maps/distanceMatrix.tsdeparture_timeto SCHEMA + pass to servicesrc/services/PlacesSearcher.tsdeparture_timeincalculateDistanceMatrix+planRoutesrc/services/RoutesService.tsdepartureTimeincomputeRouteMatrixsrc/services/NewPlacesService.ts_prefixed keys frompaymentOptionssrc/cli.tsdeparture_timein exec mode for distance_matrixtests/smoke.test.tsTest plan
npm run format:check— passesnpm run build— passesnpm test— 168 passed, 0 failedpayment_optionsno longer has_prefixed keysCloses #61 (Phase 2 + Phase 3 verified)
🤖 Generated with Claude Code