Skip to main content
Glama
swannman
by swannman

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BASELINE_PASSWORDYesYour Baseline account password.
BASELINE_USERNAMEYesYour Baseline account username.
BASELINE_COMPANY_IDNoCompany ID to restrict enumeration to a single organization.
BASELINE_CONTROLLER_IDNoDefault controller ID to use when not explicitly provided.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
baseline_whoamiA

Validate the session and return the logged-in user, access level, current company, and assigned controller ids.

baseline_list_companiesA

List the Baseline organizations (companies) this account can access. Use a companyId to scope baseline_list_controllers, or pin one via BASELINE_COMPANY_ID.

baseline_list_controllersA

List sites and controllers (with model, firmware, subscription, device counts) across every organization the account can access. Pass companyId to limit to one org.

baseline_get_statusA

Live snapshot for a controller: overall status plus per-zone and per-device status codes (Running/Done/Off/Error/etc.) with decoded sensor readings.

baseline_list_zonesC

Zone configuration for a controller: number, name, decoder serial, enabled state, designed/learned flow, and hydrozone agronomy details.

baseline_get_alarmsA

Active alarms and faults for a controller (valve short circuits, flow comm failures, dial-off, empty conditions, etc.), decoded with sender device and fault type.

baseline_get_announcementsB

Vendor proactive notifications (e.g. scheduled server-maintenance banners), as plain text.

baseline_get_reportA

Fetch a reporting time-series for a controller. Returns aligned timestamp/value points. Types: WaterUsage, ZoneRuntimes, ZonesActivity, ControllerActivity, MoistureLevels, Temperature, FlowMeterTotals, RainfallAccumulation, MeasuredFlow, ExpectedFlow. Dates are 'YYYY-MM-DD HH:mm'. Use id to scope to a single zone/device, omit for controller-wide.

baseline_list_devicesA

Enumerate every device on a controller grouped by type (zones, flow meters, moisture/temperature/pressure sensors, master valves, pumps, rain gauges, event switches). Each entry includes the reportingSn to pass as deviceSn to baseline_get_history.

baseline_get_programsA

List watering programs for a controller with their last start/finish, duration, water used, next scheduled start/finish, and assigned zones. Sourced from the controller config.

baseline_get_liveA

Current live reading for one enumerated device, by its reporting serial (from baseline_list_devices: serialNumber, or decoderSN for a zone). Returns the decoded status and key/value readings, plus a primary value where meaningful: pressure sensor → PSI, moisture sensor → %VWC, flow meter → real-time water usage, zones/valves/pumps → run state. Pair with baseline_get_history for the same device's trend.

baseline_get_historyA

Modern reporting time-series for a single device. Kinds: pressure, zone, flow, moisture, temperature. This is the source for historical PRESSURE and for per-zone/flow/moisture/temperature trends. deviceSn is the device's reporting serial (from baseline_list_devices: serialNumber for sensors/meters, decoderSN for zones). Dates accept ISO-8601 or YYYY-MM-DD. Returns max/min/average/median plus per-bucket points.

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/swannman/baseline-irrigation-mcp'

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