Tesla Fleet API exposed as MCP tools for AI agents (Claude Code, Cursor, Claude Desktop, etc.)
Tesla-skill has solid naming conventions (verb_noun pattern: get_*, set_*, lock_*, unlock_*, start_*, stop_*, flash_*, honk_*) and comprehensive descriptions (avg ~150 chars, well above 10-char minimum). All 10 tools have descriptions explaining WHAT they do and WHEN to use them. However, 6 of 10 tools have ZERO input parameters with NO schemas visible (get_car_status, get_car_location, get_charge_info, lock_car, unlock_car, start_charging, stop_charging, flash_lights, honk_horn). Only set_climate has a documented input schema with typed parameters. Output schemas are not documented anywhere in the source. Error handling is absent, no recovery guidance, no categorization of retryable vs fatal errors. Security annotations (readOnlyHint/destructiveHint) are missing despite clear risk levels (READ_ONLY vs WRITE). No pagination, no result limits documented. Tool composition is good (each does one thing), but lack of schema documentation and error handling significantly limits production readiness.
Flash the headlights once. Useful for finding the car in a parking lot. Use when the user says "flash the lights" or "find my car".
Get the Tesla's current geographic location. Returns lat/lng (WGS84), heading (degrees), speed (km/h), and shift state. Use when the user asks where their car is, whether it's moving, or its current speed/direction.
Get a snapshot of the Tesla's current state. Returns battery percent, remaining range (km), climate on/off, inside temperature, lock status, sentry mode, and online status. Use when the user asks about overall vehicle state, battery level, whether the car is locked, range remaining, or if it's online.
Get charging state and progress. Returns whether the car is currently charging, current state-of-charge percent, the configured charge limit percent, current charging power in kW, and minutes remaining to reach the limit. Use when the user asks about charging status, time to full, or current charge level relative to the limit.
Honk the horn briefly. Useful for finding the car or alerting someone. Note: This is loud — avoid in residential areas at night. Use when the user says "honk", "beep the horn", "press the horn".
9 of 10 tools have NO visible input schemas. Only set_climate has a typed input schema.
No output schemas documented. LLMs cannot plan downstream calls or extract fields without knowing what each tool returns. Baseline: 100% of A+ tools document return types.
No error handling or recovery guidance. Tools return dict but no documentation of error cases, retryability, or what to do if a call fails. E.g., what if the car is offline? What if charging cable is unplugged?
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 56 | <=2025-11-25 | v2 |
Lock all doors. Use when the user says "lock the car".
Turn climate control on or off and optionally set target temperature. Args: on: True to start climate (HVAC), False to stop. temp_c: Optional target temperature in Celsius (16-28). Applies to both driver and passenger. Only meaningful when on=True. Use when the user says things like "turn on AC", "set climate to 22", "preheat the car", "stop climate", "cool down the car".
Start charging. Requires the charge cable to be plugged in. Use when the user says "start charging" or "charge now".
Stop the current charging session. Use when the user says "stop charging" or "pause charging".
Unlock all doors. SAFETY: This makes the car physically openable by anyone nearby. Confirm with the user before calling unless they explicitly asked. Use when the user says "unlock", "open the car", "let me in".
Missing tool annotations (readOnlyHint, destructiveHint, idempotentHint). Tools are marked with Risk: READ_ONLY or WRITE in metadata but not in MCP tool definitions. Agents cannot infer safety without annotations.