Skip to main content
Glama
NetBeez MCP Server

NetBeez MCP Server

Official
by netbeez

get_access_point_metrics

Retrieve WiFi access point signal-quality metrics over time to correlate signal quality with test performance and troubleshoot WiFi-related monitoring issues.

Instructions

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 }] }

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_access_point_metrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoEnd of the time range. Accepts Unix epoch ms, Unix epoch seconds, or ISO 8601; the client normalizes to ms. Use together with 'from'.
fromNoStart of the time range. Accepts Unix epoch ms, Unix epoch seconds, or ISO 8601; the client normalizes to ms. Use together with 'to'.
agent_idNoFilter to samples produced by this agent. Combinable with access_point_id.
cardinalityNoTarget number of points to return. When set, the tool calls the downsampled /access_point_metrics/sample.json endpoint and the response is reduced to ~this many evenly-spaced samples. Recommended for long time ranges.
access_point_idNoFilter to samples for this access point (BSSID-keyed AP). Combinable with agent_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations supplied, the description carries the full burden and does well: it discloses the legacy endpoints hit, that the un-cardinality variant returns every sample and can be very large for long windows, and that 'cardinality' silently switches to a downsampled endpoint. Missing only operational details such as permissions, rate limits, or default time-range behavior when from/to are omitted (all params are optional).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core purpose and return fields, then organized into a usage paragraph and a clearly bulleted endpoint-variant section. The response-shape block partially duplicates what the cardinality paragraph already conveys and adds length, but overall little is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema and no annotations, but the description compensates by documenting the response envelope and per-field units (Mbps, dBm, 0.0–1.0 link quality). The main residual gap is guidance on the all-optional parameter set — e.g., what defaults apply if from/to or filters are omitted.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already explains from/to normalization, agent_id/access_point_id filtering and the cardinality downsampling behavior. The description largely restates the cardinality endpoint switch rather than adding new semantics, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (get WiFi access point metrics over time) and enumerates the returned fields (bit_rate, channel, link_quality, signal_level, rx_rate/tx_rate), which distinguishes it from sibling metric tools like get_agent_performance_metrics or get_agent_access_point_connections.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a concrete use case — WiFi troubleshooting, correlating signal quality with test performance — and names complementary data sources (agent logs / wpa_supplicant events, access_point_connections endpoint). It also explains when to set 'cardinality' (long time ranges). It stops short of explicit when-not-to-use exclusions or a direct 'if you want X, use tool Y' routing statement.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.