Skip to main content
Glama

Update Prefix

netbox_update_prefix
DestructiveIdempotent

Update an existing NetBox prefix by providing its numeric ID and only the fields to change. Omitted fields remain unchanged using PATCH semantics.

Instructions

Update an existing prefix 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 prefix to update.
vrfNo
roleNo
tagsNoOptional array of tag slugs to apply to the object.
vlanNo
prefixNo
statusNo
tenantNo
is_poolNo
commentsNo
scope_idNoNumeric id of the scope object.
scope_typeNoScope object type (NetBox 4.2+ replaced 'site' with scope).
descriptionNo
custom_fieldsNoOptional object of custom-field slugs -> values. Only include fields defined on your NetBox instance.
mark_utilizedNo
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 already indicate destructive and idempotent behavior. The description adds PATCH semantics and return format options, but lacks details on permissions, error handling, or side effects.

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 (3 sentences) and front-loaded with the core purpose and behavior. It is efficient but could expand slightly on parameter usage.

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 the tool has 16 parameters and nested objects, the description covers update semantics and response format but omits guidance on enums, custom_fields structure, and chaining usage for the json format.

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?

With only 38% schema description coverage, the description does not compensate by explaining the many undocumented parameters (e.g., vrf, role, vlan, mark_utilized). The agent must rely on parameter names alone.

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 tool updates an existing prefix in NetBox using PATCH semantics. It distinguishes from sibling tools like netbox_create_prefix and netbox_delete_prefix by specifying 'update' and 'existing'.

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 instructs to supply only the numeric id and fields to change, and notes that omitted fields remain unchanged. However, it does not explicitly contrast with read or create operations for the same resource.

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