Skip to main content
Glama

Create Interface

netbox_create_interface

Create a network interface on a device in NetBox by specifying device, name, and type, with optional fields like VLAN, speed, and MTU.

Instructions

Create a new interface 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
lagNoParent LAG interface id.
mtuNo
vrfNoVRF id bound to this interface.
wwnNoWorld Wide Name (Fibre Channel).
modeNo
nameYesInterface name (required).
tagsNoOptional array of tag slugs to apply to the object.
typeYesInterface type slug, e.g. '1000base-t', 'virtual', 'lag' (required).
labelNo
speedNoInterface speed in kbps.
bridgeNo
duplexNo
moduleNoModule id this interface belongs to.
parentNoParent interface id for subinterfaces.
enabledNo
poe_modeNoPoE mode.
poe_typeNoPoE type slug, e.g. type1-ieee802.3af.
device_idYesDevice id (required). Exposed as device_id (not device) because the remote-devices bridge reserves the name device; the server maps it back to the NetBox API field device on write.
mgmt_onlyNo
descriptionNo
mac_addressNo
tagged_vlansNoArray of VLAN ids for trunks.
custom_fieldsNoOptional object of custom-field slugs -> values. Only include fields defined on your NetBox instance.
untagged_vlanNoVLAN id for access / native VLAN.
mark_connectedNoTreat as connected even without a cable.
response_formatNoOutput format: 'markdown' (default, human-readable) or 'json' (full structured payload). Use 'json' when chaining follow-up tool calls.markdown
Behavior3/5

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

Annotations indicate readOnlyHint=false, destructiveHint=false, and openWorldHint=true. The description adds that 'This adds a new row to NetBox,' confirming the creation action. It also mentions the return format. However, it does not disclose what happens on duplicate names, required permissions, or any irreversible side effects. The dry-run note partially addresses behavioral awareness.

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 with three clear sentences: purpose, behavioral note (dry-run), and return format. It is front-loaded with the main action. No unnecessary words. However, it could be slightly more structured by separating purpose from behavioral notes.

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 tool with 26 parameters and no output schema, the description is insufficient. It omits key context such as: interfaces are created for a device (implied by required device_id), the relationship to other NetBox objects (e.g., VLANs, LAGs), and typical usage patterns. The dry-run note and return format are helpful but do not compensate for the lack of high-level parameter guidance.

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 65%, so many parameters already have descriptions. The tool description does not add any parameter-level meaning beyond what the schema provides. For example, it does not highlight required parameters (device_id, name, type) or explain the response_format parameter's role. A baseline of 3 is appropriate given moderate coverage.

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 'Create a new interface in NetBox' with a specific verb and resource. However, it does not differentiate between device interfaces and VM interfaces, though sibling tools include netbox_create_vm_interface, so the distinction is implicit. The name 'netbox_create_interface' implies device interfaces, but the description could explicitly mention 'device interface' to avoid ambiguity.

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 a guideline: 'Ask before calling if the user wanted a dry-run,' which is useful for cautious execution. However, it lacks explicit guidance on when to use this tool versus alternatives like netbox_update_interface or netbox_create_vm_interface. No exclusions or prerequisites 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