Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FLEET_LOG_LEVELNoLog level; logs always go to stderr so stdout stays clean for the MCP stdio transport.INFO
FLEET_TRACE_PATHNoWhere trace events are written..fleet_mcp/traces/trace.jsonl
FLEET_ALLOW_WRITESNoSet to 1 to allow fleet_write. Off by default.0
FLEET_BACKOFF_MAX_SNoCap on per-device retry backoff.30.0
FLEET_TRACE_ENABLEDNoStructured JSONL tracing of pool/scheduler events.1
FLEET_MAX_CONNECTIONSNoHard cap on simultaneous BLE connections. Match this to what you measured for your adapter — see docs/hardware-validation.md.4
FLEET_DEVICE_TIMEOUT_SNoPer-device timeout (connect + operation) before it's treated as a failure.10.0
FLEET_BACKOFF_INITIAL_SNoInitial per-device retry backoff.0.5
FLEET_BACKOFF_MULTIPLIERNoExponential backoff multiplier.2.0
FLEET_OPERATION_TIMEOUT_SNoDefault overall timeout for a fleet_read/fleet_write batch, after which unresolved devices report timeout and the rest of the batch is returned.60.0
FLEET_CIRCUIT_BREAKER_THRESHOLDNoConsecutive failures before a device is marked unhealthy and stops being retried.3
FLEET_CIRCUIT_BREAKER_COOLDOWN_SNoHow long an unhealthy device is skipped before a single probe attempt is allowed through.60.0
FLEET_REQUIRE_CONFIRMATION_SAFETY_CRITICALNoWhether safety_critical-tiered devices require explicit confirm_addresses on writes.1

Instructions

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

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

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

Tools

Functions exposed to the LLM to take actions

NameDescription
fleet_registerA

Register a device or group (by explicit address list, or by name pattern / service UUIDs discovery filter) into a named fleet. risk_tier is one of read_only, low_risk_actuator, or safety_critical; safety_critical devices are excluded from fleet_write batches unless explicitly confirmed.

fleet_scanA

Discover devices matching a filter, without connecting to or registering them. Use this to see what's out there before fleet_register.

fleet_readA

Read one resource across every device in a fleet, or a subset by address. Returns per-device results (success / unreachable / timeout / still_queued) as an operation snapshot keyed by operation_id.

fleet_writeA

Write one resource across a fleet. Requires the server to have been started with FLEET_ALLOW_WRITES=1. Every write is verified with a readback; the result reports both acknowledged and converged. Devices tiered safety_critical are skipped (status confirmation_required) unless their address is passed in confirm_addresses.

fleet_watchA

Subscribe to (action="subscribe"), stop watching (action="unsubscribe"), or drain buffered notifications for (action="poll") a resource across a fleet. Watching a device pins one pool connection slot for as long as it's watched.

fleet_statusC

Health of every device in a fleet: healthy/unhealthy, consecutive failure count, and whether it's currently connected.

fleet_pool_statusA

Connection pool telemetry: active/idle/evicting connection counts, queue depth, and per-device wait times. The live debugging surface for the pool.

fleet_operation_statusA

Poll a fleet_read/fleet_write batch by operation_id for partial or complete results. Never returns a silently-dropped device: every device resolves to success, a specific error, or still_queued.

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/JephinJose/ble-fleet-mcp'

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