Commit f97c158
fix: align skill tool names with actual MCP names (#52)
* fix: align skill tool names with actual MCP names + add API limitations
Tool names in all skill files now match actual MCP registration:
- `geocode` → `maps_geocode`, `search-along-route` → `maps_search_along_route`, etc.
- This was causing AI agents to fail to discover tools during testing
Also added:
- Known API Limitations section (weather unsupported in Japan/China/Korea,
distance-matrix transit nulls in Japan)
- Removed outdated "Future Composite Tools" section (all three are built)
- Updated Recipe 7 to prefer maps_search_along_route over manual midpoint search
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* feat: add GOOGLE_MAPS_ENABLED_TOOLS env var to filter registered tools
Users can set GOOGLE_MAPS_ENABLED_TOOLS to a comma-separated list of
tool names to limit which tools are registered with the MCP client,
reducing context window usage for agents that only need a subset.
- Not set or "*" = all 17 tools enabled (default)
- "maps_geocode,maps_directions" = only those 2 tools registered
- If no tools match, falls back to all tools with an error log
Usage in MCP client config:
"env": { "GOOGLE_MAPS_ENABLED_TOOLS": "maps_geocode,maps_directions" }
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: env var double prefix bug + update README/tests to match codebase
Fixes:
- GOOGLE_MAPS_GOOGLE_MAPS_ENABLED_TOOLS → GOOGLE_MAPS_ENABLED_TOOLS
(replace_all accidentally doubled the prefix)
- cli.ts startup log listed nonexistent tools (echo, get_place_details)
- smoke.test.ts expectedTools missing 3 composite tools (147 tests now)
- SKILL.md version 0.0.37 → 0.0.38 to match package.json
- README Roadmap: removed skipped items (validate_address, isochrone),
added recently completed tools and planned features
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent ea39f66 commit f97c158
File tree
7 files changed
+217
-163
lines changed- skills/google-maps
- references
- src
- tests
7 files changed
+217
-163
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
96 | 109 | | |
97 | 110 | | |
98 | 111 | | |
| |||
117 | 130 | | |
118 | 131 | | |
119 | 132 | | |
120 | | - | |
| 133 | + | |
121 | 134 | | |
122 | 135 | | |
123 | 136 | | |
| |||
282 | 295 | | |
283 | 296 | | |
284 | 297 | | |
285 | | - | |
| 298 | + | |
286 | 299 | | |
287 | | - | |
| 300 | + | |
288 | 301 | | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
294 | 310 | | |
295 | | - | |
| 311 | + | |
296 | 312 | | |
297 | 313 | | |
298 | 314 | | |
299 | | - | |
300 | | - | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
301 | 318 | | |
302 | 319 | | |
303 | 320 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
76 | 86 | | |
77 | 87 | | |
78 | 88 | | |
| |||
85 | 95 | | |
86 | 96 | | |
87 | 97 | | |
| 98 | + | |
| 99 | + | |
88 | 100 | | |
89 | 101 | | |
90 | 102 | | |
| |||
0 commit comments