Skip to main content
Glama
J-MaFf

s2-netbox-mcp

by J-MaFf

list_events

Lists event types and definitions from NetBox, optionally adding resolved partition names to each event. Use to retrieve access-control events with partition details.

Instructions

Lists the event types/definitions known to the NetBox system (wraps NBAPI ListEvents). RESOLVEPARTITIONNAMES defaults to true — on by default, the same inverted opt-out default used by this codebase's other fixed-cost enrichments: each returned event is enriched with a PARTITIONNAME field resolved from its PARTITIONID via one GetPartitions fetch per call, not per event (GetPartitions costs the same whether it resolves one event or a thousand). Set RESOLVEPARTITIONNAMES: false to skip it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
RESOLVEPARTITIONNAMESNoOptional (default true — on by default; an opt-out, not opt-in, default). Enriches each returned event with PARTITIONNAME resolved from its PARTITIONID via one GetPartitions fetch per call (not per event). Set to false to skip it and get the plain ListEvents response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.3.0
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / RESOLVEPARTITIONNAMES
      Added value: +{
      +  "description": "Optional (default true — on by default; an opt-out, not opt-in, default). Enriches each returned event with PARTITIONNAME resolved from its PARTITIONID via one GetPartitions fetch per call (not per event). Set to false to skip it and get the plain ListEvents response.",
      +  "type": "boolean"
      +}
  2. First observedv0.2.3

TDQS

A4.2/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses the enrichment default, the per-call (not per-event) cost behavior, and the opt-out path – valuable transparency. It does not explicitly state the shape of the plain response or side effects, but for a list operation this is largely adequate.

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 description is dense but efficient; the purpose is front-loaded and the parameter explanation earns its place. It could be trimmed slightly, but no sentence is wasted and the structure is logical.

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 single-optional-parameter list tool with no output schema, the description covers purpose, parameter behavior, and cost. It lacks an explicit description of the plain response structure and does not give guidance on alternatives, but given the simplicity, it is largely complete.

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 coverage is 100%, so the baseline is 3, but the description adds substantial meaning: it explains why the default is true, the cost implications (one GetPartitions fetch per call, not per event), and the effect of setting false. This goes well beyond the schema description and gives an agent a real decision basis.

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 – 'Lists the event types/definitions known to the NetBox system' – and explicitly names the wrapped API (NBAPI ListEvents). It is clearly distinguishable from siblings like get_event_history, and no other sibling appears to list definitions, so an agent can tell it apart without opening schemas.

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

Usage Guidelines3/5

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

The description implies the tool is for retrieving event definitions, but it does not explicitly contrast with alternatives like get_event_history or state when not to use it. It gives clear guidance on when to set RESOLVEPARTITIONNAMES to false, but not on tool selection relative to siblings.

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