Skip to main content
Glama

update_setting

Update a UniFi controller setting group by key, using a payload of settable fields. Detects and reports invalid fields that the controller would otherwise silently ignore.

Instructions

Update a controller setting group by key.

host: console name, ID, or composite ID (MAC:numericId format). site: site name or ID. setting_key: setting group identifier (e.g. 'mgmt', 'super_smtp', 'guest_access'). payload: setting fields to update.

Discover the schema first by calling get_setting(setting_key): it returns every settable field and its current (valid) value. The controller silently drops any unrecognised field or enum value (HTTP 200, value unchanged), so a guessed value fails invisibly; this tool detects that no-op and raises an error naming the rejected field and pointing you back at get_setting.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYes
siteYes
payloadYes
setting_keyYes
Install Server

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so excellently. It discloses the silent-drop behavior (HTTP 200, value unchanged), explains that the tool detects the resulting no-op, and describes the error behavior that names the rejected field and points back to get_setting.

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 dense but well structured: purpose first, then parameter semantics, then the required discovery step, then the failure mode. Every sentence earns its place and there is no fluff or duplication of the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an update tool with no annotations, no output schema, a nested payload, and fully required parameters, this description covers the critical operational details: how to format identifiers, how to discover valid payload fields, and what happens when invalid values are submitted. Nothing needed to call it correctly is missing.

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 schema has no property descriptions, so this description fully compensates. It explains host formats including the composite MAC:numericId form, site as name or ID, setting_key with example identifiers, and payload as the setting fields to update with a clear path to get valid values via get_setting.

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?

States a specific verb and resource: 'Update a controller setting group by key.' It also clarifies what setting_key identifies with concrete examples and distinguishes this from read-only siblings like get_setting and list_settings.

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?

Gives explicit workflow guidance: discover the schema first by calling get_setting(setting_key), and warns against guessing values because they fail invisibly. It does not explicitly state when not to use this tool, such as 'use get_setting for read-only lookups', so the when-not side is left implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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/swkstudios/unifi-fabric-mcp-server'

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