Skip to main content
Glama

Create Inventory_item

netbox_create_inventory_item

Create a new inventory item in NetBox, linked to a device by ID, with required name and optional fields for serial, manufacturer, and custom data.

Instructions

Create a new inventory_item in NetBox.

This adds a new row to NetBox. Ask before calling if the user wanted a dry-run.

Returns: Markdown summary of the newly created object (default) or JSON with the full NetBox response.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesInventory item name (required).
roleNoInventory item role id.
tagsNoOptional array of tag slugs to apply to the object.
labelNo
parentNoParent inventory item id (nestable).
serialNo
part_idNo
asset_tagNo
device_idYesDevice id (required). Exposed as device_id (not device) for the remote-devices bridge; mapped to the API field device on write.
discoveredNo
descriptionNo
component_idNoOptional linked component id.
manufacturerNoManufacturer id.
custom_fieldsNoOptional object of custom-field slugs -> values. Only include fields defined on your NetBox instance.
component_typeNoOptional linked component type, e.g. 'dcim.interface'.
response_formatNoOutput format: 'markdown' (default, human-readable) or 'json' (full structured payload). Use 'json' when chaining follow-up tool calls.markdown
Behavior4/5

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

Annotations already indicate a write operation (readOnlyHint=false). The description adds transparency by noting that it adds a new row to NetBox and by describing the return format (Markdown or JSON). It also includes a caution about dry-run, which aids in understanding the tool's irreversible effect.

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 concise (three sentences plus a return line) and front-loaded with the core purpose. It is structured with a brief overview, an important usage note, and return format information. No extraneous content, though it could be slightly more organized.

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?

Given 16 parameters and no output schema, the description covers the basic purpose and a key usage caveat (dry-run). However, it lacks details on relationships (e.g., how inventory items relate to devices) or prerequisites. It is adequate for a straightforward creation tool but not fully comprehensive.

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?

The description does not detail individual parameters beyond the schema's built-in descriptions (coverage 63%). It hints at the response_format parameter by stating the return format choices, but does not explain other parameters. The schema itself provides moderate coverage, so the description adds only minimal extra meaning.

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?

The description clearly states 'Create a new inventory_item in NetBox', specifying the verb (create) and resource (inventory_item). The title and tool name reinforce this. It distinctly differentiates from sibling tools (e.g., netbox_update_inventory_item, netbox_delete_inventory_item) by resource and action.

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 advises asking before calling if a dry-run is desired, which is useful for a write operation. However, it does not explicitly state when to use this tool versus alternatives like netbox_update_inventory_item or netbox_list_inventory_items. Usage context is implied by the tool name but not elaborated.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ZenixSolutions/netbox-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server