Skip to main content
Glama

Create Inventory_item_role

netbox_create_inventory_item_role

Create a new inventory item role in NetBox with required name and slug, plus optional tags, color, description, and custom fields.

Instructions

Create a new inventory_item_role 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
nameYesName (required).
slugYesURL slug (required).
tagsNoOptional array of tag slugs to apply to the object.
colorNo
descriptionNo
custom_fieldsNoOptional object of custom-field slugs -> values. Only include fields defined on your NetBox instance.
response_formatNoOutput format: 'markdown' (default, human-readable) or 'json' (full structured payload). Use 'json' when chaining follow-up tool calls.markdown
Behavior2/5

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

Annotations already indicate write (readOnlyHint=false) and non-destructive (destructiveHint=false). The description adds a caution about dry-run and notes the response format (markdown/json). However, it does not disclose idempotency, duplicate handling, or permission requirements, which are important for a creation tool.

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 short and front-loaded with the purpose. The note about dry-run is valuable, but the phrase 'This adds a new row to NetBox' is redundant and could be removed. Still, it is relatively concise and structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a creation tool with 7 parameters and no output schema, the description lacks context about the role of inventory_item_roles, prerequisites, or how the returned data is structured beyond format. More detail would help the agent understand the tool's place in the workflow.

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 input schema covers 71% of parameters with descriptions, so the description adds minimal extra meaning. It explains the response_format parameter in the Returns section, which is helpful. But overall, the description does not enhance understanding of parameters 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?

The description clearly states the tool creates a new inventory_item_role, with a specific verb and resource. However, it does not explain what an inventory_item_role is, which could help differentiate from other resource creation tools. Overall clear but could be more informative.

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 includes an important usage instruction: 'Ask before calling if the user wanted a dry-run.' This provides context for cautious execution. However, it does not specify when to use this tool versus the update or get variants, and no alternatives are mentioned.

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