Skip to main content
Glama
sevaepsteyn

UniFi Internal API MCP Server

by sevaepsteyn

get_system_log

Retrieve UniFi system log entries for troubleshooting and monitoring, with customizable time range, log class, and pagination.

Instructions

Fetch system log entries (v2 API). Defaults to past 7 days.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNoEnd timestamp in ms
startNoStart timestamp in ms
log_classNoLog class: device-alert, next-ai-alert, vpn-alert, admin-activity, update-alert, client-alert, threat-alert, triggersdevice-alert
page_sizeNoEntries per page
page_numberNoPage number (0-based)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations, the description carries the full burden. It does add useful behavioral context: 'Defaults to past 7 days' and 'v2 API'. However, it does not disclose other behaviors such as ordering of results, inclusivity of timestamps, or handling of null parameters, which would be valuable for a log retrieval tool.

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

Conciseness5/5

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

The description is two concise sentences, front-loaded with the core action and resource. Every word earns its place with no filler. It is highly readable and efficiently communicates the tool's essence.

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

Completeness3/5

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

The tool is simple, and the schema covers all five parameters with good descriptions, while the output schema presumably documents return values. However, the description does not help an agent choose among overlapping siblings like list_events or list_alarms, nor does it clarify the nature of 'system log' vs. other event types. It is adequate but has clear gaps in context.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3. The description adds value beyond the schema by clarifying that omitting start/end defaults to the past 7 days, which is not stated in the parameter descriptions. This provides meaningful semantic context for the time-range parameters.

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

Purpose4/5

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

The description clearly states the tool's function: 'Fetch system log entries (v2 API)'. It uses a specific verb ('Fetch') and resource ('system log entries'), making the primary purpose unambiguous. However, it does not distinguish this from sibling tools like list_events or list_alarms, which might overlap in function.

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

Usage Guidelines2/5

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

There is no explicit guidance on when to use this tool versus alternatives. The only usage hint is 'Defaults to past 7 days', which implies a default time range but does not explain when this tool is preferred over list_events or list_alarms. No when-not-to-use or alternative recommendations are provided.

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

Install Server

Other Tools

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/sevaepsteyn/unifi_internal_api_mcp'

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