Skip to main content
Glama

Update Device_role

netbox_update_device_role
DestructiveIdempotent

Update a NetBox device role by providing its ID and only the fields to change. Unspecified fields remain unchanged.

Instructions

Update an existing device_role 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 device_role to update.
nameNo
slugNo
tagsNoOptional array of tag slugs to apply to the object.
colorNo
parentNo
vm_roleNo
descriptionNo
custom_fieldsNoOptional object of custom-field slugs -> values. Only include fields defined on your NetBox instance.
config_templateNo
response_formatNoOutput format: 'markdown' (default, human-readable) or 'json' (full structured payload). Use 'json' when chaining follow-up tool calls.markdown
Behavior4/5

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

The description explicitly states 'PATCH semantics — only provided fields are changed', which aligns with annotations (idempotentHint=true, destructiveHint=true). It adds useful behavioral context beyond annotations, such as the partial-update nature. No contradictions with annotations.

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 with three sentences, each adding value: purpose and semantics, usage instruction, and return format. It is front-loaded and efficiently structured without unnecessary words.

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 11 parameters, nested objects (custom_fields), and no output schema, the description covers the core update semantics and response format but lacks details on other parameters. It is adequate for a basic understanding but incomplete for an agent to fully utilize all capabilities without relying on schema descriptions.

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?

Schema description coverage is low (36%), yet the description only mentions two parameters (id and response_format) beyond the schema. It does not describe the remaining 9 parameters (e.g., name, slug, color, tags) or their semantics, making it insufficient for an agent to understand parameter usage without relying solely on the schema names.

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 device_role in NetBox with PATCH semantics. The verb 'Update' and resource 'device_role' are specific, and the tool is easily distinguished from sibling tools like netbox_create_device_role or netbox_get_device_role.

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 guidance: supply the numeric 'id' and only fields to change, omitting fields leaves them unchanged. It also explains the response_format parameter. However, it does not contrast with alternatives (e.g., when to update vs. create), which would improve clarity 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