Skip to main content
Glama
NetBeez MCP Server

NetBeez MCP Server

Official
by netbeez

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HTTP_PORTNoHTTP transport port3000
MCP_TRANSPORTNoTransport mode: stdio, http, or bothstdio
NETBEEZ_API_KEYYesAPI key for authentication
NETBEEZ_BASE_URLYesBeezKeeper instance URL
NETBEEZ_SSL_VERIFYNoSet to false for self-signed certstrue

Instructions

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

You are connected to the NetBeez MCP server, which provides tools for querying and managing a NetBeez network monitoring platform.

Updating the NetBeez MCP Server

When the user asks to update this MCP server to the latest version, give them the following instructions:

Standard install (installed via the one-line installer to ~/.netbeez-mcp): Re-run the installer — it pulls the latest source, rebuilds, and preserves existing credentials:

curl -fsSL https://raw.githubusercontent.com/netbeez/nb-mcp-server/main/install.sh | bash

Existing credentials are shown as defaults; press Enter to keep them. After updating, restart the MCP client (Cursor, Claude Desktop, etc.) to pick up the new version.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

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

Tools

Functions exposed to the LLM to take actions

NameDescription
list_agentsA

List all NetBeez monitoring agents with optional filtering. Returns agent name, active status, class, software version, network interfaces, and associated test IDs. Use this to get an overview of your monitoring infrastructure or find agents by category/class/status.

get_agentA

Get detailed information about a specific NetBeez agent by its ID. Returns full agent details including network interfaces, tags, test associations, and group memberships. Use this after list_agents to drill into a specific agent.

search_agentsA

Search for NetBeez agents by name (exact match or regex pattern). Use this when looking for specific agents by name rather than browsing the full list. Supports additional filters for category, class, and active status.

get_agent_logsA

Get connection/disconnection event logs for a specific agent. Shows CONNECT, DISCONNECT events with timestamps. For wireless agents, also includes wpa_supplicant events (WiFi association/authentication state changes, SSID roaming, 4-way handshake) and DHCP events (lease acquire, renew, release, fail). Critical for diagnosing agent availability issues, WiFi connectivity problems, and DHCP issues.

get_agent_performance_metricsA

Get system performance metrics (CPU usage, memory usage, disk usage) for a specific agent over time. Use this to check if an agent's hardware resources are stressed, which could affect monitoring accuracy. Useful when investigating agent-side issues or capacity planning.

get_agent_access_point_connectionsA

Get WiFi access point connection history for an agent (SSID/BSSID, signal and DHCP related state). Useful for wireless troubleshooting and roaming analysis.

list_targetsA

List all monitoring targets (hosts, URLs, IPs being monitored). Returns targets with their associated test templates and alert counts. Use this to see what is being monitored, find targets with open incidents, or filter by agent/category/connectivity type.

create_targetA

Create a custom monitoring target using a raw JSON:API payload. The caller must provide the full JSON:API document (attributes, test templates, relationships, and monitoring conditions as needed).

create_target_saasB

Create a target from a built-in SaaS application using a raw JSON:API payload.

create_target_from_templateB

Create a target from simplified templates (Website, DNS, VPN, Gateway) using a raw JSON:API payload.

update_targetB

Update an existing target by ID using a raw JSON:API payload.

get_targetA

Get detailed information about a specific monitoring target by its ID. Returns the target with its test templates, test configuration, and associated tests. Use this after list_targets to drill into a specific target's monitoring setup.

list_testsA

List all monitoring tests (nb_tests) with optional filters. Each test represents a specific monitoring check (ping, DNS, HTTP, traceroute, path_analysis) running from an agent to a target on a schedule. Returns test type, current state, alert mode, and associated agent/target/template IDs. Use this to understand what monitoring is configured or to find tests in specific states.

get_test_resultsA

Get test results for a specific test type (ping, DNS, HTTP, or traceroute). Returns timestamped result data including values (RTT for ping, lookup time for DNS, response time for HTTP), packet loss, and other metrics. Filter by agents, tests, templates, and time range. Use this to analyze test performance over time or investigate specific failures.

Result types:

  • ping: timestamp, value (RTT ms), lost (packet loss), sequence_number

  • dns: timestamp, value (lookup time), resolution data

  • http: timestamp, value (response time), HTTP status

  • traceroute: timestamp, hop-by-hop data

For path analysis results, use the get_path_analysis_results tool instead.

list_incidentsA

List network incidents. Incidents are aggregated groups of related alerts for an agent/target/WiFi scope. Each incident has a start time, optional end time, and acknowledgement status. Use include=incident_logs to get the detailed event timeline within each incident. Filter by agents, targets, categories, or time ranges to find specific incidents.

Incident severity is inherited from the highest-severity alert within it. An open incident (no end_ts) means the issue is ongoing. Acknowledged incidents (has ack_ts) have been seen by an operator but may still be open.

list_alertsA

List network monitoring alerts with extensive filtering options. Alerts are triggered by alert detectors (up-down, baseline, watermark) when test results cross thresholds.

Alert severity levels: 1=failure (critical), 4=warning, 6=cleared (recovered). Alert status: "open" (active issue) or "closed" (resolved).

Use this to find active alerts, investigate alert patterns across agents/targets, or analyze alert history over a time range. Combine with list_incidents to see how alerts are grouped into incidents.

list_alert_detectorsA

List alert detector definitions configured in NetBeez. Alert detectors are rules that evaluate test results or agent heartbeats and trigger alerts when conditions are met.

Types: AgentUpDown (agent reachability), UpDown (test pass/fail), Watermark (fixed threshold), Baseline (dynamic threshold relative to historical performance), BaselineWatermark (combined). Alerting entity: "Agent" (monitors agent connectivity) or "NbTest" (monitors test results).

Use this to discover which alerting rules exist, understand what thresholds are configured, or find detectors assigned to specific tests/agents. Cross-reference alert_detector IDs with list_alerts to understand which rules triggered specific alerts.

list_wifi_profilesA

List WiFi profiles configured in NetBeez. WiFi profiles define SSID, encryption, and authentication settings used by wireless agents. Use this to see which WiFi networks are being monitored, or to find profiles with open incidents indicating WiFi issues. Cross-reference with wireless agent data and access point metrics for WiFi troubleshooting.

list_scheduled_test_templatesA

List scheduled Iperf, Network Speed, and VoIP templates. Use filters and pagination to inspect existing recurring tests before creating or updating templates.

get_scheduled_test_templateA

Get a scheduled test template by ID with its full configuration.

create_scheduled_test_templateC

Create a scheduled Iperf, Network Speed, or VoIP test template using JSON:API payload semantics.

update_scheduled_test_templateC

Update an existing scheduled test template using JSON:API payload semantics. Provide fields to change.

get_scheduled_test_resultsA

Get results for a scheduled test template (Iperf, Network Speed Test, VoIP). Scheduled tests run at defined intervals and produce key-value result pairs (e.g., download_speed, upload_speed, latency, jitter, MOS score). Returns timestamped results filtered by agent and time range.

Use this for bandwidth testing results, VoIP quality metrics, or Iperf throughput analysis. These are distinct from continuous monitoring tests (ping/dns/http/traceroute) — they run on a schedule and measure throughput/quality.

get_test_statisticsA

Get pre-aggregated test statistics over time (Legacy API: GET /nb_test_statistics.json). Use this — instead of the raw test result endpoints — when you want trend analysis over a long window: averages, percentiles, variability, jitter, or MOS already bucketed into time windows.

How the response is shaped:

  • Each row is one (time-window, metric_type) pair for one matched test.

  • The unit/scale of 'value' depends on metric_type (ms for mean / percentile_mean / stdev / jitter; 1.0–5.0 for mos).

  • Omitting metric_type returns every type the matched test(s) produce; one row per (window, metric_type).

Scoping the query (combine as needed; all narrow the same set of underlying tests):

  • nb_test_id — exactly one test instance.

  • nb_test_template_id — every test instance derived from a template (one per agent).

  • agent_id — restrict to tests run by this agent.

  • nb_target_id — restrict to tests against this target.

  • test_type_id — restrict to a class of tests (Ping/DNS/HTTP/Traceroute/etc.).

Time range (mutually exclusive — pick one):

  • from + to — explicit interval (epoch ms, epoch seconds, or ISO 8601; normalized to ms).

  • last — the most recent N data points (no from/to needed).

Aggregation control:

  • window_size sets the bucket size in seconds (e.g. 60 = 1-minute buckets, 300 = 5-minute, 3600 = 1-hour).

  • granularity is an alternative aggregation hint accepted by the upstream API; pass either window_size OR granularity, not both.

  • grouping changes how rows are grouped within the response. Known value: 'nb_test_id' (per-test breakdown — useful when scoped to a template to get one series per agent). Other values are passed through to the API.

Value (watermark) filtering:

  • value_operator + value_watermark together filter rows by the aggregated 'value' (e.g. value_operator='>' with value_watermark=200 returns only buckets whose aggregated value exceeds 200). Both must be supplied for the filter to apply.

To retrieve jitter or MOS: scope to a test that produces them (a VoIP test, or a Ping test with jitter/MOS enabled) via nb_test_id, nb_test_template_id, or test_type_id, then either set metric_type='jitter' / metric_type='mos', or omit metric_type and pick rows whose metric_type field equals 'jitter' / 'mos'. If the matched test does not produce that metric, no rows are returned for it.

Response: { nb_test_statistics: [{ id, nb_test_id, timestamp, value, metric_type, window_size, datapoint_count, error_count }] }

get_agent_statisticsA

Get agent availability/uptime statistics over time (Legacy API: GET /nb_agent_statistics.json). Returns time-bucketed uptime samples for one agent: uptime percentage (0–100), interval, and window size per bucket.

Use this to analyze agent reliability, find patterns of agent disconnections, or verify an agent has been consistently online during a period. agent_id is required (this endpoint only operates on a single agent at a time).

Time range (mutually exclusive — pick one):

  • from + to — explicit interval (epoch ms, epoch seconds, or ISO 8601; normalized to ms).

  • last — the most recent N data points.

Response: { agent_stats: [{ agent_id, id, interval, timestamp, uptime, window_size }] }

get_access_point_metricsA

Get WiFi access point metrics over time (Legacy API: GET /access_point_metrics.json, or GET /access_point_metrics/sample.json when 'cardinality' is set). Returns per-sample WiFi signal quality data: bit_rate (Mbps), channel, link_quality (0.0–1.0), signal_level (dBm), rx_rate / tx_rate (Mbps), and the associated network_interface_id.

Use this for WiFi troubleshooting — correlate signal quality with test performance to determine whether WiFi conditions are causing monitoring issues. Pairs well with agent logs (wpa_supplicant events) and the agent's access_point_connections endpoint.

Endpoint variant:

  • Without 'cardinality': returns every sample in the range (can be large for long windows).

  • With 'cardinality': switches to the downsampled /sample endpoint, which returns at most that many points — use this for long time ranges to keep the payload manageable.

Response: { metrics: [{ access_point_id, bit_rate, channel, id, link_quality, network_interface_id, rx_rate, signal_level, timestamp, tx_rate }] }

get_path_analysis_resultsA

Get path analysis (hop-by-hop traceroute) results showing the network path between an agent and a target. Each result contains per-hop data: RTT (round-trip time), IP address, NAT detection, destination, port, hop number, and any error codes/messages.

This is essential for diagnosing routing issues, identifying bottleneck hops, detecting NAT boundaries, and understanding the network topology between monitoring points. Use alongside ping/HTTP results to correlate high latency or packet loss with specific network hops.

Relationships include the agent and test template for each result. Use the include=supplemental parameter for additional hop metadata.

list_agent_groupsB

List agent groups for bulk target assignment and organization.

get_agent_groupB

Get a single agent group with relationships and attributes.

create_agent_groupC

Create an agent group using JSON:API payload semantics.

update_agent_groupC

Update an agent group by ID using JSON:API payload semantics.

get_multiagent_test_run_statusA

Get the status and results of a multiagent test run by ID. Use this after run_adhoc_test to poll for completion and retrieve results. Call with the multiagent_nb_test_run_id returned when creating an ad-hoc test. Returns run state (e.g. initialization, running, completed, failed) and included results when available.

run_adhoc_testA

Run an ad-hoc test on one or more agents. Supported test types are Iperf (5), Network Speed (7), VoIP (8), and Custom Command (11). Ping/DNS/HTTP/Traceroute cannot be run ad-hoc via this endpoint.

Creates the test run and polls until completion. Returns the multiagent_nb_test_run_id; after running, use get_multiagent_test_run_status with that ID to check status or retrieve results (e.g. if this tool times out or you need to re-check later).

• test_type: use "iperf" (or "5"), "speed"/"speedtest" (or "7"), "voip" (or "8"), or "custom"/"custom_command" (or "11"). • speedtest_type (for Network Speed only): use "ookla", "ndt", "fast", or "cloudflare" (or "1","2","3","4"). • Iperf: provide either destination_agent_id (agent-to-agent) or target (destination IP or FQDN for agent-to-server; not a NetBeez target entity). • VoIP: agent-to-agent only; destination_agent_id required. • Custom Command: provide custom_command (script body with shebang) and output_schema (array of { metric, unit }); no destination is needed.

Prompts

Interactive templates invoked by user choice

NameDescription
troubleshoot-targetGuided workflow to troubleshoot a monitoring target: check status across all agents, identify failing tests, correlate test types, and suggest root cause. Start here when investigating 'X is down' or 'X is slow' reports.
analyze-agent-healthComprehensive health check for a monitoring agent: verify status, check system resources, review connection history, examine test results, and assess WiFi metrics (if wireless). Use when an agent appears unhealthy or unreliable.
investigate-incidentDeep investigation of a specific incident: pull full details, related alerts, affected agents and targets, timeline of events, and suggest resolution steps.
network-overviewGenerate a comprehensive summary of overall network health: agent status distribution, open incidents, top alerts, and monitoring coverage. Use for daily check-ins, shift handoffs, or executive summaries.
run-adhoc-testRun and retrieve ad-hoc test results for Iperf (5), Network Speed (7), VoIP (8), or Custom Command (11). Includes parameter selection, execution, polling, and per-agent result parsing.

Resources

Contextual data attached and managed by the client

NameDescription
NetBeez Data ModelEntity relationships, data shapes, and timeseries data catalog for the NetBeez monitoring platform
NetBeez Correlation GuideCross-agent correlation methodology, alert severity interpretation, and incident aggregation patterns
NetBeez Troubleshooting GuideStep-by-step troubleshooting workflows for network, DNS, application, WiFi, and agent issues
NetBeez API ReferenceComplete reference for all NetBeez API endpoints — JSON:API and Legacy statistics — with authentication, filtering, pagination, ordering, and response schemas
NetBeez Ad-hoc Tests GuideReference for running ad-hoc Iperf, Network Speed, VoIP, and Custom Command tests and retrieving per-agent results

TDQS

B3.3/5.0

Scored across 33 tools

Disambiguation4/5

Most tools target a distinct resource+action (agents, targets, tests, incidents, alerts, WiFi, groups, scheduled templates), and descriptions clarify the boundaries. The main soft spots are the three creation paths for targets (create_target, create_target_saas, create_target_from_template) and the cluster of result tools (get_test_results, get_scheduled_test_results, get_test_statistics), which an agent could plausibly mix up without reading closely.

Naming Consistency5/5

Every tool follows a predictable snake_case verb_noun pattern (list_agents, get_agent, create_target, update_scheduled_test_template, get_path_analysis_results). Variants like search_agents and run_adhoc_test are still verb-first and self-explanatory, so the set reads as one coherent convention.

Tool Count3/5

33 tools is heavy, but the domain genuinely spans many sub-areas: agents, targets, continuous tests, scheduled tests, incidents, alerts, detectors, WiFi, and agent groups. Still, several tools exist only to wrap raw JSON:API payload variants, which pushes the surface past what a well-factored set needs.

Completeness3/5

Read coverage is excellent (list/get/search across agents, targets, tests, incidents, alerts, WiFi, statistics), but write coverage is asymmetric: targets, agent groups, and scheduled templates have create/update but no delete, and there is no tool to create or manage alert detectors or to acknowledge incidents despite the API exposing those states. Continuous monitoring tests (ping/DNS/HTTP) can be read but not created or modified.

Maintenance

ActivityStale
ResponsivenessNo recent community issues