Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BLUELINK_PINNoYour app PIN. Europe needs it for remote commands (lock, climate, charging).
BLUELINK_BRANDNohyundai, kia or genesis.hyundai
BLUELINK_REGIONNoeurope, europe-cci, usa, canada, australia, nz, india, china or brazil.europe
BLUELINK_PASSWORDYesThe app password.
BLUELINK_USERNAMEYesThe email you sign in to the Bluelink, Kia Connect or Genesis Connect app with.
BLUELINK_AUDIT_LOGNoA file path, or stderr, to record every command and live refresh as JSON lines. Off when empty.
BLUELINK_ALLOW_UNLOCKNoAlso register bluelink_unlock_vehicle. Needs writes too.false
BLUELINK_ALLOW_WRITESNoRegister tools that send commands to the car: lock, climate, charging, hazard lights.false
BLUELINK_ALLOW_LOCATIONNoRegister bluelink_get_vehicle_location, which tells the assistant where the car is.false

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Tools for a car connected to Hyundai Bluelink, Kia Connect (formerly UVO) or Genesis Connect.

bluelink_get_vehicle_status returns what the car last reported to the service, which is cheap and does not disturb the car; check last_updated_at. Use bluelink_refresh_vehicle_status only when the user needs live data: it wakes the car, drains a little of the 12V battery and counts against a daily API limit.

Remote commands go to the car over the mobile network and usually take 20-60 seconds. A status of "timeout" means the car did not answer, not that the command failed. The vehicle argument is optional when the account has a single car.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
bluelink_list_vehiclesA

List the vehicles on the account, as {total, returned, items}.

bluelink_get_vehicle_statusA

Get the car's last reported state: battery and fuel, range, charging, climate, locks, doors, windows, tyres, warnings and charging schedule. Does not wake the car.

bluelink_refresh_vehicle_statusA

Wake the car and fetch live state, then return it like bluelink_get_vehicle_status. Uses a little 12V battery and API quota, so it is rate limited.

bluelink_get_vehicle_locationB

Get where the car is parked (latitude/longitude, and an address if geocoding is on).

bluelink_get_tripsA

Get driving history: trips for a day, or a month's summary with trip counts per day. Not every region supports this (Europe does).

bluelink_get_energy_usageA

Get daily electric energy use (Wh) split into driving, climate, electronics and battery care, plus regenerated energy and distance, newest day first, as {total, returned, items}. EVs and PHEVs in some regions.

bluelink_get_command_statusB

Check whether an earlier remote command succeeded (pending, success, failed, timeout).

bluelink_lock_vehicleB

Lock the car's doors.

bluelink_start_climateB

Start pre-conditioning the cabin (heating or cooling). Seat settings only apply to cars that support them. On a plug-in hybrid this runs from the high-voltage battery.

bluelink_stop_climateC

Stop cabin pre-conditioning.

bluelink_start_chargingA

Start charging now (the car must be plugged in). Overrides a charging schedule.

bluelink_stop_chargingC

Stop charging.

bluelink_set_charge_limitsA

Set the maximum charge level. Mainly for EVs; many plug-in hybrids don't support it.

bluelink_start_battery_conditioningA

Start warming (or cooling) the high-voltage battery, so it charges faster and the car has more range when it's cold. Uses energy from the battery, or from the charger when plugged in. EVs in europe-cci only.

bluelink_stop_battery_conditioningB

Stop conditioning the high-voltage battery. EVs in europe-cci only.

bluelink_open_charge_portA

Open the charging port door, ready to plug in. EVs and plug-in hybrids with a motorised port door, in Europe, Australia, New Zealand, China and India.

bluelink_close_charge_portA

Close the charging port door. EVs and plug-in hybrids with a motorised port door, in Europe, Australia, New Zealand, China and India.

bluelink_set_charging_currentA

Limit the current the car draws when AC charging, e.g. to go easy on a weak household socket or circuit. Recent EVs in Europe, Australia, New Zealand, China and India.

bluelink_set_charging_scheduleA

Change the car's scheduled (off-peak) charging: on or off, and the off-peak window. Settings left out keep their current values, read from the car's last reported state; the result shows the whole schedule that was sent. EVs and plug-in hybrids in Europe, Australia, New Zealand, China and India.

bluelink_set_departure_scheduleA

Change one of the car's two departure times: when it repeats, and whether to pre-condition the cabin (and charge) to be ready by then. Settings left out keep their current values, read from the car's last reported state; the result shows the departure that was sent. On some cars the climate settings are shared by both departures. EVs and plug-in hybrids in Europe, Australia, New Zealand, China and India.

bluelink_close_windowsA

Close all four side windows, e.g. when the user left one open and rain is coming. There is deliberately no tool to open them. Not every car has remote window control; not available in the USA or Canada.

bluelink_flash_hazard_lightsA

Flash the hazard lights briefly, e.g. to find the car in a car park. Not available in Canada or for Kia in the USA.

bluelink_sound_horn_and_flash_lightsA

Sound the horn and flash the hazard lights for a short while, e.g. to find the car. It is loud and can disturb people nearby, so only do this when the user asks for the horn; to just find the car, prefer bluelink_flash_hazard_lights. Not available in Canada or for Kia in the USA.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 23 tools

Disambiguation5/5

Every tool targets a distinct resource+action, and the two potentially confusable pairs are explicitly separated: bluelink_get_vehicle_status reads cached state while bluelink_refresh_vehicle_status wakes the car and is documented as rate limited, and bluelink_sound_horn_and_flash_lights tells the agent to prefer bluelink_flash_hazard_lights when the horn isn't requested. Start/stop, open/close and set_* pairs map cleanly to opposite operations.

Naming Consistency5/5

All 23 tools use the same bluelink_<verb>_<noun> snake_case pattern with a uniform server prefix. Verbs are used predictably (list/get/refresh for reads, start/stop and open/close for opposing pairs, set_ for configuration, flash/sound for one-shot actions).

Tool Count4/5

23 tools is on the heavy side of the ideal range, but the domain (remote vehicle control across many regions and models) genuinely requires this many distinct commands. Each tool maps to a real, non-duplicated capability, so very little pruning would be possible without losing function.

Completeness3/5

Coverage is broad (status, location, trips, energy, charging, climate, schedules, windows, lights), but bluelink_lock_vehicle has no unlock counterpart, which is a notable lifecycle gap for a car-control server. The missing window-open tool is deliberately documented, so that one is a design choice rather than a hole.

Maintenance

ActivityMaintained
ResponsivenessOutdated data