Skip to main content
Glama
mhajder

NetBox MCP Server

by mhajder

Netbox Bulk Update Objects

netbox_bulk_update_objects
Idempotent

Bulk update multiple NetBox objects of one type in a single transaction, ensuring all changes succeed or none apply. Provide object type and partial data with IDs.

Instructions

Update many objects of one type in a single transaction (all or nothing).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesPartial updates, each with the object 'id', e.g. [{'id': 1, 'status': 'active'}, {'id': 2, 'status': 'active'}].
object_typeYesNetBox object type as 'app.model' (e.g. 'dcim.device', 'ipam.ipaddress', 'virtualization.virtualmachine') or as an API path ('dcim/devices'). netbox_list_object_types lists every type.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations declare idempotentHint=true, destructiveHint=false, readOnlyHint=false, openWorldHint=true, already covering the safety and idempotency profile. The description adds useful atomicity context ('single transaction, all or nothing'), which is the key behavioral trait beyond annotations. However, it doesn't say what happens on partial failure (rollback?), nor does it mention the 500-item cap or auth requirements. Adds some value, but leaves key transaction semantics unexplained.

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?

A single well-formed sentence that front-loads the operation and parenthetically states the transactional guarantee. No filler.

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?

An output schema exists, so return values need not be explained. Annotations cover safety profile. But for a bulk mutation with atomicity claims, the description is thin: it doesn't state the 500-item maximum, whether a single bad entry aborts the whole batch, or whether partial-merge updates are supported (though the schema hints at this). Adequate but with clear gaps for a bulk-write tool.

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 coverage is 100%, and the schema descriptions are rich: they explain the 'app.model' or API path format for object_type, and give a concrete example of partial update objects with 'id' for data. The description adds no parameter detail beyond what the schema provides, so baseline 3 is appropriate.

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+resource+scope: 'Update many objects of one type in a single transaction'. This clearly distinguishes it from netbox_update_object (singular) and netbox_bulk_delete_objects (different verb). It doesn't explicitly name the sibling it differs from, but the singular/plural distinction is implicit.

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 guidance. The description doesn't say when to choose bulk update over individual updates, or when not to use it. The 'single transaction (all or nothing)' clause hints at atomicity but doesn't guide tool selection. An agent must infer the routing from the tool name alone.

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