Skip to main content
Glama
NetBeez MCP Server

NetBeez MCP Server

Official
by netbeez

get_agent_logs

Retrieve connection, disconnection, WiFi association, and DHCP event logs for a specific agent to diagnose availability, wireless connectivity, and DHCP issues.

Instructions

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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "agent_id": "<agent_id>"
    },
    "name": "get_agent_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage offset
agent_idYesThe numeric ID of the agent
page_sizeNoResults per page
filter_typesNoFilter by log type: DISCONNECT, CONNECT, etc. (comma-separated)
filter_ts_value1NoTimestamp filter value (ISO 8601 or Unix timestamp)
filter_ts_value2NoSecond timestamp value (required for <=> between operator)
filter_ts_operatorNoTimestamp filter operator: >, <, >=, <=, <=>, =

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, the description carries the full burden and it does disclose meaningful behavior: which event classes appear and that wireless agents get extra wpa_supplicant/DHCP events. It does not state result ordering, log retention window, pagination semantics, or permission/auth requirements, which leaves gaps for a diagnostic log endpoint.

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?

Three sentences, front-loaded with what the tool returns before the usage rationale. The dense wpa_supplicant parenthetical is justified because it tells the agent exactly which WiFi events are covered, though it could be slightly tightened.

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?

For a paginated log-retrieval tool with no output schema, the description tells the agent what data comes back and why it matters, which is the essential missing context. Ordering and retention details are absent but non-blocking for correct invocation.

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 all seven parameters are already documented in the schema. The description adds no parameter-level detail beyond 'specific agent', so 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 connection/disconnection event logs for a specific agent') and enumerates the actual event types returned (CONNECT, DISCONNECT, wpa_supplicant, DHCP). This clearly distinguishes it from metric/statistics siblings like get_agent_performance_metrics or get_agent_statistics.

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?

The closing sentence gives explicit when-to-use triggers: diagnosing agent availability, WiFi connectivity, and DHCP issues. It does not name alternative tools or state exclusions, so it stops short of full routing guidance.

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