Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BOND_HOSTYesThe IP address of your Bond Bridge
LOG_LEVELNoLogging level (DEBUG, INFO, WARNING, ERROR)INFO
BOND_TOKENYesYour Bond API token (obtained from Bond Home app)
BOND_TIMEOUTNoConnection timeout in seconds10.0
BOND_MAX_RETRIESNoMaximum number of connection retries3
BOND_RETRY_DELAYNoDelay between retries in seconds1.0

Tools

Functions exposed to the LLM to take actions

NameDescription
list_devices

List all Bond devices connected to the bridge.

Returns: Dictionary containing all devices with their basic information.

get_device_info

Get detailed information about a specific device.

Args: device_id: The Bond device identifier

Returns: Detailed device information including capabilities and properties.

get_device_state

Get current state of a Bond device.

Args: device_id: The Bond device identifier

Returns: Current device state including power, speed, direction, etc.

toggle_device_power

Toggle power state of a Bond device (on/off).

Args: device_id: The Bond device identifier

Returns: Result of the toggle operation.

set_fan_speed

Set fan speed for a ceiling fan device.

Args: device_id: The Bond fan device identifier speed: Fan speed level (0-8, where 0 is off)

Returns: Result of the speed change operation.

set_fan_direction

Set fan direction for a ceiling fan device.

Args: device_id: The Bond fan device identifier direction: Fan direction ("forward" or "reverse")

Returns: Result of the direction change operation.

control_shades

Control motorized shades.

Args: device_id: The Bond shade device identifier action: Action to perform ("open", "close", or "set_position") position: Position percentage (0-100) when action is "set_position"

Returns: Result of the shade control operation.

set_light_brightness

Set brightness for a dimmable light device.

Args: device_id: The Bond light device identifier brightness: Brightness percentage (0-100, where 0 is off)

Returns: Result of the brightness change operation.

send_custom_action

Send a custom action to a Bond device.

Args: device_id: The Bond device identifier action: Bond action name (e.g., "TurnOn", "TurnOff", "SetSpeed") argument: Optional argument for the action

Returns: Result of the custom action.

get_bridge_info

Get Bond Bridge information and status.

Returns: Bridge information including version, uptime, and configuration.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/madorn/bond-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server