Skip to main content
Glama
J-MaFf

s2-netbox-mcp

by J-MaFf

get_event_history

Read-only

Retrieve historical NetBox access-control events filtered by event name or date range, with pagination support.

Instructions

Returns historical NetBox events for an optional event name/date range (wraps NBAPI GetEventHistory).

Input Schema

NameRequiredDescriptionDefault
ENDDTTMNoOptional. End of the date/time range to query (NBAPI-documented format).
NEXTKEYNoOptional. Pagination continuation cursor from a previous call.
EVENTNAMENoOptional. Restrict results to this event name.
STARTDTTMNoOptional. Start of the date/time range to query (NBAPI-documented format).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.3

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered; the description is consistent with it ('historical' implies an immutable read). It adds modest context by noting the wrapper origin (NBAPI GetEventHistory) and date-range scoping, but says nothing about pagination behavior, result limits, or what an empty range returns.

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?

A single front-loaded sentence that names the operation, the returned resource, and the filter axes with no filler. The parenthetical wrapper note is the only marginal element, but it is short enough not to hurt.

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?

For a simple optional-filter history read, the annotations plus a fully-described schema cover most of what an agent needs. However, with no output schema, the description should at least hint at the returned event shape and pagination semantics, which it does not.

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% with four optional, self-documented parameters, so the schema already carries the load. The description reinforces EVENTNAME and the date range but adds no format detail (e.g., what 'NBAPI-documented format' actually is, or how NEXTKEY interacts with the range) beyond the schema.

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?

States a specific verb and resource ('Returns historical NetBox events') plus the optional filter dimensions (event name/date range), so the function is immediately understandable. It does not, however, differentiate itself from the sibling 'list_events' or the various access-history tools, leaving the agent to guess the boundary.

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?

No when-to-use or when-not-to-use guidance is given. With siblings like list_events, get_access_history, and get_reader_access_history present, the description never says which one to pick or under what conditions, so routing is left entirely to inference from the name.

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