Skip to main content
Glama

Update Rack

netbox_update_rack
DestructiveIdempotent

Update an existing rack in NetBox by specifying its numeric ID and the fields to change. Only the provided fields are modified; omitted fields remain unchanged.

Instructions

Update an existing rack in NetBox (PATCH semantics — only provided fields are changed).

Supply the numeric 'id' and only the fields you want to change. Omitting a field leaves it unchanged.

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesNumeric id of the rack to update.
nameNo
roleNo
siteNo
tagsNoOptional array of tag slugs to apply to the object.
widthNo
serialNo
statusNo
tenantNo
weightNo
airflowNo
commentsNo
locationNo
u_heightNo
asset_tagNo
rack_typeNoRack type id (predefined rack model).
desc_unitsNo
max_weightNo
outer_unitNo
descriptionNoShort description (distinct from the comments field).
facility_idNo
form_factorNoRack form factor, e.g. 4-post-cabinet.
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_unitNo
mounting_depthNo
response_formatNoOutput format: 'markdown' (default, human-readable) or 'json' (full structured payload). Use 'json' when chaining follow-up tool calls.markdown
Behavior5/5

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

The description goes beyond annotations by explaining PATCH semantics and return format (Markdown summary or JSON). Annotations indicate destructiveHint=true and idempotentHint=true, and the description aligns with these (only provided fields changed, implying safe updates). No contradictions.

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 well-structured: first sentence states purpose, second gives usage, then lists return format. Every sentence adds value with no redundancy.

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?

Given the tool's complexity (30 parameters, no output schema), the description covers the essential usage pattern and output options. It could include more context about typical use cases or required field relationships, but it is largely complete for an AI agent.

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 coverage is low (23%), but the description does not compensate by detailing specific parameters beyond 'id' and 'response_format'. It provides a generic principle ('only provided fields are changed') but lacks parameter-level clarification. Baseline 3 is appropriate given schema coverage.

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 the action ('Update an existing rack'), the resource ('rack in NetBox'), and the semantics ('PATCH semantics — only provided fields are changed'). It distinguishes from sibling tools like netbox_create_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?

The description provides explicit usage instructions: supply numeric 'id' and only fields to change. It lacks explicit mention of when not to use this tool or alternatives, but the guidance is clear and sufficient for an AI agent.

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