Skip to main content
Glama

Create Asset_role

netbox_create_asset_role

Create a new asset role in NetBox with a unique name and slug. Optionally set tags, color, parent role, description, or custom fields.

Instructions

Create a new asset_role 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
nameYesRole name (required).
slugYesURL-safe slug (required, unique).
tagsNoOptional array of tag slugs to apply to the object.
colorNoHex color without '#', e.g. '9e9e9e'.
parentNoParent asset role id (roles are nested).
descriptionNo
custom_fieldsNoOptional object of custom-field slugs -> values. Only include fields defined on your NetBox instance.
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 readOnlyHint=false and destructiveHint=false, so the description's mention of 'Create' and 'adds a new row' is consistent but adds limited additional behavioral context. The description does reveal output format options (markdown vs. JSON), but it doesn't discuss idempotency, error handling, or uniqueness constraints, which are partially covered by annotations and schema.

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 extremely concise: three short sentences that front-load the core purpose. Every sentence serves a clear role (purpose, safety instruction, return format). No waste or redundancy.

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 that the tool has 8 parameters (2 required) and no output schema, the description covers the return format but not the full response structure. It omits mention of nesting (parent parameter) and validation rules, though these are partially covered by the schema. For a moderately complex creation tool, the description is adequate but not fully complete.

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 88%, meaning the schema already explains most parameters. The description adds no parameter-specific details beyond what the schema provides. A baseline of 3 is appropriate since the description does not harm but also doesn't enhance parameter understanding.

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 ('Create') and the resource ('asset_role'), with a specific verb and resource. It distinguishes this tool from sibling creation tools by naming the exact object type, making it easy for the agent to identify.

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 safety guideline ('Ask before calling if the user wanted a dry-run'), which is helpful for a mutation tool. However, it does not provide guidance on when to use this tool versus other creation tools (e.g., netbox_create_role) or any exclusions. The usage context is implied but not explicit.

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