Skip to main content
Glama

G1 UART MCP Server

by danroblewis

connect_g1_device

Establish a BLE connection to a G1 device using its Bluetooth MAC address, enabling communication via the Nordic UART protocol. Returns connection status, device name, and error details if applicable.

Instructions

Connect to a G1 device by address.

Args: address (str): The Bluetooth MAC address of the G1 device to connect to. Format should be XX:XX:XX:XX:XX:XX where X are hexadecimal characters. Example: "AA:BB:CC:DD:EE:FF" Returns: Dict[str, Any]: JSON response with connection status including: - result: "success" or "error" - connected: Boolean indicating connection state - device_name: Name of connected device (if successful) - device_address: Address of connected device (if successful) - error: Error message if connection failed Note: This establishes a BLE connection to the specified device and discovers the Nordic UART service and characteristics.

Input Schema

NameRequiredDescriptionDefault
addressYes

Input Schema (JSON Schema)

{ "properties": { "address": { "title": "Address", "type": "string" } }, "required": [ "address" ], "title": "connect_g1_deviceArguments", "type": "object" }

Other Tools from G1 UART MCP Server

Related Tools

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/danroblewis/g1_uart_mcp'

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