UniFi MCP Update Tool Implementation
Standardizes the implementation of update tools within UniFi MCP servers using the mandatory fetch-merge-put pattern to prevent data loss.
This skill provides a comprehensive framework for developers building or maintaining UniFi MCP servers, ensuring that all resource update operations follow a standardized four-step process: fetch, deep-copy, deep-merge, and put. By enforcing this pattern, it prevents the common pitfall where partial updates accidentally overwrite existing data on the controller. The skill includes specific guidance on handling UniFi V2 API response envelopes, implementing user-friendly MCP tool interfaces with delta previews, and maintaining field symmetry between read and write surfaces to ensure full API coverage and robust data integrity.