Skip to main content
Glama

Create Rack

netbox_create_rack

Create a new rack in NetBox by specifying name, site, and optional attributes like role, location, dimensions, and status.

Instructions

Create a new rack 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
nameYesRack name (required, unique within site+location).
roleNoRack role id.
siteYesSite id (required).
tagsNoOptional array of tag slugs to apply to the object.
widthNoRail-to-rail width in inches.
serialNo
statusNoactive
tenantNoTenant id.
weightNoRack weight.
airflowNoAirflow direction: front-to-rear, rear-to-front, left-to-right, right-to-left, side-to-rear, passive, mixed.
commentsNo
locationNoLocation id.
u_heightNoHeight in rack units.
asset_tagNo
rack_typeNoRack type id (a predefined rack model). Alternative to setting form_factor/width/u_height individually.
desc_unitsNoNumber rack units descending.
max_weightNoMaximum load capacity.
outer_unitNo
descriptionNoShort description (distinct from the comments field).
facility_idNoFacility-assigned rack id.
form_factorNoRack form factor: 2-post-frame, 4-post-frame, 4-post-cabinet, wall-frame, wall-frame-vertical, wall-cabinet, wall-cabinet-vertical.
outer_depthNo
outer_widthNo
weight_unitNo
outer_heightNo
custom_fieldsNoOptional object of custom-field slugs -> values. Only include fields defined on your NetBox instance.
starting_unitNoUnit number of the bottom position.
mounting_depthNoMaximum depth of a mounted device, in mm.
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?

The description notes that the tool 'adds a new row to NetBox' and includes a dry-run caution. Annotations already indicate readOnlyHint=false and destructiveHint=false. The description adds minimal behavioral context beyond the annotations, lacking details on authentication requirements or idempotency implications.

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?

The description is concise and front-loaded: first sentence states purpose, followed by a usage note and return format. Every sentence earns its place with no filler.

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 29 parameters and no output schema, the description is too minimal. It omits prerequisites (e.g., site must exist), common pitfalls (e.g., duplicate names), and does not elaborate on the complexity of rack creation. The returns section is helpful but insufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description does not explain any parameters beyond the input schema. With only 69% schema description coverage, the description fails to compensate for undocumented parameters (e.g., serial, asset_tag, comments). It adds no additional 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?

Clearly states 'Create a new rack in NetBox', specifying the verb and resource. Distinguishes from sibling tools like netbox_get_rack, netbox_update_rack, and netbox_delete_rack.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides a specific guideline: 'Ask before calling if the user wanted a dry-run.' This advises caution before execution. However, it does not explicitly state when to use this tool versus alternatives like netbox_update_rack for modifications.

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