Skip to main content
Glama
mhajder

NetBox MCP Server

by mhajder

Netbox Update Object

netbox_update_object
Idempotent

Partially update a NetBox object by passing its type, ID, and only the fields to change; returns the updated object.

Instructions

Update fields of one NetBox object (partial update). Returns the updated object.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesOnly the fields to change (PATCH), e.g. {'status': 'offline', 'description': 'RMA'}.
object_idYesNumeric object ID.
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

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety and idempotency profile is covered. The description adds the PATCH-style partial-update semantics and notes it returns the updated object, which is incremental value, but it says nothing about permissions, error behavior, or what happens to unspecified fields.

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?

Two short sentences, front-loaded with the operation and its scope, with zero filler. The second sentence restates the return value, which is mildly redundant given an output schema exists, but it costs almost nothing.

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 three-parameter mutation tool with 100% schema coverage, full annotations, and a dedicated output schema, the description provides enough to call the tool correctly. The remaining gap is the absence of any usage/routing guidance relative to the bulk and create siblings.

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%, so all three parameters (object_type, object_id, data) are already documented in the schema, including the 'app.model' format and the PATCH example. The description adds no parameter-level detail beyond that, so the baseline 3 applies.

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 ('Update fields of one NetBox object') and adds the scope qualifier '(partial update)', which implicitly distinguishes it from netbox_bulk_update_objects and netbox_create_object. It is clear, but does not explicitly name the sibling tools it is contrasted with, so it stops short of a 5.

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 '(partial update)' qualifier implies this is for modifying a subset of fields on an existing object, which is useful implied usage. However, there is no explicit when-to-use statement, no mention of prerequisites, and no routing to alternatives such as netbox_bulk_update_objects for multi-object changes or netbox_create_object for new records.

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