Skip to main content
Glama
AIops-tools

fabric-aiops

update_device

Modify device name, tags, address, or notes while preserving original values for rollback and audit logging. Use dry run to preview changes.

Instructions

[WRITE][risk=medium] Update device attributes (name/tags/address/notes).

Captures the changed keys' prior values before the change, so the harness
records an undo (restore the prior values) and a faithful audit trail. Pass
dry_run=True to preview.

Args:
    serial: Device serial.
    attrs: Attributes to set — allowed keys: name, tags, address, notes,
        lat, lng, floorPlanId.
    dry_run: If True, preview without changing.
    target: Target name from config; omit for the default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
attrsYes
serialYes
targetNo
dry_runNo
Behavior5/5

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

Without annotations, the description fully discloses behavior: writes (risk=medium), captures prior values for undo, supports dry_run, and the specific attributes allowed. This provides comprehensive transparency about side effects and safety mechanisms.

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 yet complete: a short introductory sentence, a sentence detailing undo behavior, one for dry_run, and a parameter list. Every sentence adds value, and the information is front-loaded. No superfluous content.

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?

The description lacks information about the return value (e.g., success response, updated device details) and error conditions. Given the absence of an output schema and the presence of 4 parameters, these gaps limit completeness. Otherwise, it covers most behavioral aspects.

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

Parameters5/5

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

The description adds essential meaning beyond the sparse schema: explains that 'attrs' accepts specific keys (name, tags, address, notes, lat, lng, floorPlanId), describes 'dry_run' as a preview mechanism, and clarifies that 'target' defaults to config. The schema only defines types and titles, so the description is critical.

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 verb 'Update' and the resource 'device attributes' with specific examples (name, tags, address, notes). It distinguishes from sibling tools like reboot_device or blink_device_leds, which perform different actions. The [WRITE] tag further clarifies the operation type.

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 explains key usage details: dry_run for preview, undo/audit trail, and configurable target. However, it does not explicitly state when to avoid using this tool (e.g., for read-only tasks) or compare it to similar tools like update_network_vlan. The context is clear but lacks explicit alternatives.

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/AIops-tools/Fabric-AIops'

If you have feedback or need assistance with the MCP directory API, please join our Discord server