Skip to main content
Glama
MiguelTVMS
by MiguelTVMS

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HTTP_PATHNoBase path for MCP endpoints/mcp
MCP_HTTP_PORTNoPort for the HTTP server3000
OMADA_SITE_IDNoOptional default site ID; if omitted, each MCP call must pass a siteId
OMADA_TIMEOUTNoHTTP request timeout in milliseconds30000
OMADA_BASE_URLYesBase URL of the Omada controller (e.g., https://omada-controller.local)
OMADA_CLIENT_IDYesOAuth client ID generated under Omada Platform Integration
OMADA_OMADAC_IDYesOmada controller ID (omadacId) to target
OMADA_STRICT_SSLNoEnforce strict SSL certificate validation (set to 'false' for self-signed)true
MCP_HTTP_BIND_ADDRNoBind address (IPv4/IPv6). Use adapter IP address to expose to the network.127.0.0.1
MCP_HTTP_ALLOW_CORSNoEnable CORS for the HTTP servertrue
MCP_SERVER_USE_HTTPNoStart HTTP server instead of stdiofalse
OMADA_CLIENT_SECRETYesOAuth client secret associated with the client ID
MCP_SERVER_LOG_LEVELNoLogging verbosity (debug, info, warn, error, silent)info
MCP_SERVER_LOG_FORMATNoLog output format (plain, json, or gcp-json)plain
OMADA_TOOL_CATEGORIESNoComma-separated categories to enable at startupdashboard:r,client-insights:r,clients:r,devices-all:r
MCP_HTTP_NGROK_ENABLEDNoUse ngrok to expose the HTTP server publiclyfalse
MCP_HTTP_ALLOWED_ORIGINSNoComma-separated list of allowed origins. Use '*' to allow all (dev only)127.0.0.1, localhost
MCP_HTTP_HEALTHCHECK_PATHNoPath for the healthcheck endpoint/healthz
MCP_HTTP_NGROK_AUTH_TOKENNoNgrok auth token (required if MCP_HTTP_NGROK_ENABLED=true)
MCP_HTTP_ENABLE_HEALTHCHECKNoEnable a healthcheck endpointtrue

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
listDevicesA

List all provisioned (adopted) network devices in a site: gateways, switches, and access points. Returns MAC address, model, firmware version, IP, uptime, CPU/memory usage, and status for each device. Use MAC addresses from this response as input to getGatewayDetail, getSwitchDetail, getApDetail, etc.

getDeviceB

[DEPRECATED] Use listDevices instead. Filters the site device list in-process. No dedicated per-device detail endpoint exists in the spec. Fetch detailed information for a specific Omada device.

listPendingDevicesA

List devices discovered on the network but not yet adopted into this site. Returns device type, MAC, IP, and model. These are devices waiting to be provisioned.

searchDevicesA

Search for devices globally across all sites the user has access to. Returns devices matching the search key.

listDevicesStatsC

Query statistics for global adopted devices with pagination and filtering. Supports fuzzy search by MAC address, name, model, or serial number, and filtering by tag or device series type (0: basic, 1: pro).

getAllDeviceBySiteA

Get all devices in a site including offline and disconnected devices. Unlike listDevices which may filter to active-only, this returns the full device inventory. Useful for auditing what hardware is registered to a site.

getFirmwareInfoA

Get the latest available firmware information for a device. Returns current firmware version, latest available version, and whether an upgrade is available. Use listDevices to get deviceMac values.

getGridAutoCheckUpgradeA

Get the auto-check upgrade plan list showing scheduled firmware upgrade checks across devices. Useful for auditing upgrade schedules and identifying devices due for automatic firmware updates.

getUplinkWiredDetailA

Get wired uplink detail for an access point. Returns the AP's Ethernet uplink port information including connected switch, port number, link speed, and PoE status. Useful for mapping physical network topology.

getDownlinkWiredDevicesA

Get wired downlink devices connected to an access point's LAN port. Returns a list of devices using the AP as a wired switch, including their MAC addresses and connection details. Useful for APs with built-in switch ports (e.g. EAP615-Wall).

getSpeedTestResultsA

Get the last speed test results for an access point. Returns upload/download throughput measurements from the most recent speed test. Use triggerSpeedTest first to initiate a new test; this returns stored results.

getFirmwareUpgradePlanC

Get the firmware upgrade plan list for devices managed by the controller.

getUpgradeLogsC

Get firmware upgrade logs showing the history of upgrade operations performed on devices.

getDeviceTagListA

Get the list of device tags defined in a site.

getUpgradeOverviewCriticalB

Get the number of critical firmware upgrades available across managed devices.

getUpgradeOverviewTryBetaC

Get the try-beta firmware switch status for the controller.

listUpgradeFirmwaresC

List uploaded firmware files available for manual upgrade.

listUpgradeOverviewFirmwaresC

List firmware pool entries in the upgrade overview.

listSitesStacksB

List switch stacks in a site.

getSitesDeviceWhiteListC

Get the device whitelist for a site.

getSwitchStackDetailB

Fetch detailed information for a specific switch stack.

getSwitchDetailA

Fetch full configuration and status for a specific switch: model, firmware, CPU/memory, all port states, PoE usage, VLAN config, and STP status. Use listDevices to get the switchMac.

getStackPortsC

Get all port information for a switch stack.

listSwitchNetworksA

List VLAN network assignments for a switch. Returns which VLANs are assigned to which ports, including tagged and untagged configurations. Use listDevices to get switchMac values.

getSwitchGeneralConfigB

Get general configuration for a switch including device name, LED settings, LLDP settings, flow control, and other global switch parameters. Use listDevices to get switchMac values.

getCableTestLogsA

Get cable test logs for a switch. Returns history of cable diagnostics including per-port test results, cable length estimates, and fault detection. Useful for diagnosing physical layer connectivity issues.

getCableTestFullResultsA

Get full cable test results for all ports on a switch. Returns detailed per-port diagnostic data including cable status (OK/open/short), estimated cable length, and fault location. More detailed than getCableTestLogs.

getOswStackLagListA

Get Link Aggregation Group (LAG) list for a switch stack. Returns configured LAG/trunk groups including member ports, load balancing mode, and status. Use getSwitchStackDetail to get the stackId.

getStackNetworkListA

Get the VLAN network list for a switch stack. Returns VLAN interface assignments across all stack members. Use getSwitchStackDetail to get the stackId.

getSwitchDot1xSettingA

Get the 802.1X switch port authentication setting. Controls port-based network access control on managed switches.

getSitesSwitchesEsD

Get easy managed switch info.

getSitesSwitchesEsGeneralConfigC

Get easy managed switch general config.

listSitesCableTestSwitchesPortsB

List ports available for cable test on a switch.

listSitesCableTestSwitchesIncrementResultsB

Get cable test incremental results for a switch.

getApDetailA

Fetch full configuration and status for a specific access point: model, firmware, CPU/memory, connected clients count, SSIDs, uptime, and mesh status. Use listDevices to get the apMac.

getApRadiosA

Get radio status for a specific access point: 2.4GHz and 5GHz band config, channel, TX power, channel utilization, and associated client count per radio. Use listDevices to get the apMac.

getApUplinkConfigA

Get the uplink configuration for an access point. Returns uplink mode (wired/wireless mesh), preferred uplink settings, and failover configuration. Useful for understanding mesh topology and wired uplink assignments.

getRadiosConfigA

Get per-radio configuration for an access point. Returns settings for each radio (2.4GHz, 5GHz, 6GHz) including band, channel, transmit power, channel width, and enabled SSIDs. Use getApRadios for runtime radio status; this returns configuration.

getApVlanConfigA

Get VLAN configuration for an access point. Returns the AP's management VLAN and per-SSID VLAN tagging settings. Useful for verifying network segmentation on wireless infrastructure.

getMeshStatisticsA

Get mesh link statistics for an access point. Returns wireless backhaul link quality, signal strength, throughput, and hop count for mesh-connected APs. Useful for diagnosing mesh network performance.

getRFScanResultA

[DEPRECATED] Get the last RF scan results for an access point. This endpoint is marked deprecated in the Omada OpenAPI spec. Returns detected neighbouring networks, per-channel utilization, interference levels, and RSSI data. Use triggerRfScan first to initiate a fresh scan; this returns the most recent stored results.

getApSnmpConfigA

Get SNMP configuration for an access point. Returns SNMP version, community strings, trap settings, and enabled state. Useful for auditing SNMP-based monitoring configurations on wireless infrastructure.

getApLldpConfigA

Get LLDP (Link Layer Discovery Protocol) configuration for an access point. Returns enabled state and advertised TLVs. LLDP allows network devices to advertise identity and capabilities to neighbours.

getApGeneralConfigA

Get general configuration for an access point. Returns device name, LED settings, country/region, management VLAN, bandwidth limits, and other global AP parameters. Use getApDetail for runtime status; this returns stored configuration.

getApQosConfigA

Get QoS configuration for a specific access point.

getApIpv6ConfigC

Get IPv6 configuration for a specific access point.

getSitesApsIpSettingC

Get IP settings for an AP.

getSitesApsChannelLimitC

Get channel limit config for an AP.

getSitesApsAvailableChannelB

Get available channels for an AP.

getSitesApsLoadBalanceC

Get load balance config for an AP.

getSitesApsOfdmaB

Get OFDMA configuration for an AP.

getSitesApsPowerSavingC

Get power saving config for an AP.

getSitesApsTrunkSettingB

Get trunk setting for an AP.

getSitesApsBridgeB

Get P2P bridge config for an AP.

listSitesApsPortsB

List ports on an AP.

getGatewayDetailA

Fetch full configuration and status for a specific gateway: model, firmware, CPU/memory, WAN/LAN ports, routing mode, and feature flags. Use listDevices to get the gatewayMac.

getGatewayWanStatusA

Get the WAN port status and connectivity information for a specific gateway. Returns WAN IP, DNS, uptime, link speed, TX/RX rates, and connection type for each WAN port. Use listDevices to find the gatewayMac.

getGatewayLanStatusA

Get LAN port status for a specific gateway: port link state, speed, duplex, connected device, and VLAN assignment. Use listDevices to get the gatewayMac.

getGatewayPortsA

Get all WAN and LAN port details for a specific gateway: link status, speed, IP address, bytes in/out, and port profile. More detailed than getGatewayWanStatus or getGatewayLanStatus. Use listDevices to get the gatewayMac.

getSitesGatewaysGeneralConfigC

Get gateway general config.

getSitesGatewaysPinB

Get PIN setting for a gateway (LTE model).

getSitesGatewaysSimCardUsedB

Get SIM card used by a gateway.

getSitesHealthGatewaysWansDetailsC

Get WAN port health details for a gateway.

listClientsA

List all network clients (wired and wireless) connected to a site. Returns client details including MAC address, IP, hostname, connected device, SSID (for wireless), signal strength, download/upload traffic, and online status. Use this to audit connected devices or find a specific client by name or MAC.

getClientA

[DEPRECATED] Use listClients instead. When you have a client MAC, getClientDetail is also available. This tool filters the site client list in-process to emulate a per-client lookup. Fetch details for a specific Omada client.

getClientDetailA

Get full detail for a specific client by MAC address, including connection info, IP, VLAN, signal strength, and traffic stats.

getGridKnownClientsB

Get historical known clients list (paginated). Returns clients that have previously connected to the site, with optional time range and search filtering.

getGridClientHistoryB

Get per-client connection history (paginated). Returns past connection sessions for a specific client including timestamps, SSID/network, traffic, and authentication type.

listMostActiveClientsA

Get the most active clients in a site, sorted by total traffic. Returns client name, MAC address, type, model, wireless status, and total traffic. This is a dashboard endpoint that provides a quick overview of top clients by traffic usage.

listClientsActivityA

Get client activity statistics over time from the dashboard. Returns time-series data showing new, active, and disconnected clients (both wireless/EAP and wired/switch) for each time snapshot. Useful for monitoring client connection trends and activity patterns.

listClientsPastConnectionsA

Get client past connection list with historical connection data. Returns information about clients that have previously connected to the network, including connection timestamps, traffic data, duration, and device details. Supports pagination, filtering by time range and guest status, sorting by last seen time, and fuzzy search by name/MAC/SSID.

getClientsDistributionA

Get client count distribution by connection type and band (wired, 2.4GHz, 5GHz, 6GHz). Useful for understanding the network composition at a glance.

getPastClientNumA

Get historical client count trend over a time range. Returns a time-series of client counts to show how connected devices changed over the specified period. Requires start and end as Unix epoch seconds.

getDashboardWifiSummaryA

Get WiFi summary for a site dashboard: total APs, connected AP count, wireless client count, channel utilization per band (2.4GHz/5GHz), and SSID count.

getDashboardSwitchSummaryB

Get switch summary for a site dashboard: total switch count, total ports, active ports, PoE budget used vs available, and aggregate bandwidth.

getDashboardTrafficActivitiesB

Get traffic activity time-series data for a site, showing upload and download trends over time.

getDashboardPoEUsageC

Get PoE (Power over Ethernet) usage statistics for a site, showing power consumption per switch.

getDashboardTopCpuUsageC

Get the top devices by CPU usage for a site, useful for identifying overloaded devices.

getDashboardTopMemoryUsageA

Get the top devices by memory usage for a site, useful for identifying memory-constrained devices.

getDashboardMostActiveSwitchesB

Get the most active switches in a site, sorted by traffic volume.

getDashboardMostActiveEapsB

Get the most active access points (EAPs) in a site, sorted by traffic volume.

getDashboardOverviewA

Get the site overview topology: device counts (gateways, switches, APs), client counts (wired, wireless, guest), connectivity graph, and overall health status. Good first call to understand what's in the network.

getTrafficDistributionA

Get traffic distribution by protocol and application type over a time range. Shows breakdown of traffic by category (video, gaming, web, etc.) helping identify what is consuming bandwidth on the network. start and end are Unix timestamps in seconds.

getIspLoadA

Get per-WAN ISP link load over a time range. Shows traffic volume and utilization per internet uplink. Useful for understanding load balancing behaviour, identifying saturated WAN links, and analysing failover events. start and end are Unix timestamps in seconds.

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/MiguelTVMS/tplink-omada-mcp'

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