Skip to main content
Glama

list_events

Read-onlyIdempotent

Retrieve network event logs newest-first, filter by event type, and paginate older results with a cursor for troubleshooting and auditing.

Instructions

Page through a network's event log, newest page first.

A busy wireless network logs tens of thousands of events a day, so read one page at a time and narrow with event_types where possible. The answer ends with older_cursor (pass it back as cursor for the previous page) and complete. The endpoint offers an older page even past the oldest event, a month at a time, so an empty page counts as the end; pass older_cursor anyway to look further back.

Args: product_type: wireless, switch, appliance, camera, cellularGateway or sensor. network: Network name or ID; may be omitted when only one is in scope. event_types: Only these event types (names from the Dashboard's event type list). per_page: Events per page, 3-100 (default 50). cursor: older_cursor from a previous answer.

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": {
      "product_type": "<product_type>"
    },
    "name": "list_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNo
networkNo
per_pageNo
event_typesNo
product_typeYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and openWorld, so the safety profile is covered. The description adds genuinely useful behavior beyond that: newest-first ordering, the older_cursor/complete contract, and the unusual rule that an empty page still permits further back-paging. It does not discuss rate limits or cost of large scans, but the paging advice partly mitigates that.

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?

The key fact, newest page first and page through, is front-loaded, and the Args block is compact and scannable. The sentence about empty pages and still passing older_cursor is slightly tangled and takes a second read, but every sentence carries real information.

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 five-parameter paginated read tool this is nearly complete: ordering, filtering, page size, cursor round-trip and end-of-log semantics are all covered, and an output schema exists so return values need not be explained. The remaining gap is routing guidance against the specialized event siblings, which the definition never addresses.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full burden and does so well. It enumerates the product_type values (wireless, switch, appliance, camera, cellularGateway, sensor) where the schema has no enum, explains that network may be omitted when only one is in scope, gives the per_page range of 3-100, and defines cursor as the prior answer's older_cursor.

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 opening sentence gives a specific verb and resource: 'Page through a network's event log, newest page first.' That is far more than a restatement of the name. It does not distinguish this tool from event-oriented siblings such as operational_events or security_events, so an agent must infer which log it wants.

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?

It gives concrete operational guidance: read one page at a time because volume is high, narrow with event_types where possible, and keep passing older_cursor even after an empty page. What it lacks is any when-to-use versus when-not framing relative to the sibling event tools, so selection among them is left to inference.

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