Governed ability
Update Avada Global Options
aafm/avada-update-global-optionsGuarded write
Update Avada Global Options is a governed ability in Agent Abilities for MCP, a free WordPress plugin that runs an MCP server on your site.
Overwrites site-wide Avada Global Options from the fixed list avada-get-global-options returns, apart from maintenance_mode, which stays read only. set maps option keys to values: a color as a hex, rgba, hsla or Avada color variable; site_width as a number with px or %; layout, header_position, header_layout, page_title_bar, footer_widgets, footer_copyright and responsive as one of their stored choices; logo as an image attachment id, whose URL and size are written with it; footer_text as HTML, refused for a user who may not post unfiltered HTML when WordPress would filter it; a typography option as an object of the sub-values to change (font-family, font-size, line-height, letter-spacing, font-weight, font-style, text-transform, color); color_palette as an object of the color slots to change, each with a color and a label. A value that fits no rule is refused and nothing is written. Every other stored option is kept. The old value of every option that changed comes back in previous (for a typography or palette option, of each sub-value that changed), null where none was stored; send it back as set to undo the change. A typography option stored as an empty array, which Avada's own save never writes, can be removed, and that previous cannot be written back, so the response lists such options in not_restorable. The change applies to the whole site at once, and Avada's compiled CSS is rebuilt; a page cache plugin keeps serving its cached pages until the owner purges it. Not undoable from this plugin's change history. Needs the Avada theme active and a user who can manage site options (manage_options). Only while Avada is active.
How it is governed
The same model as every ability in the plugin, stated for this one.
- Off until you enable it
Like every ability, Update Avada Global Options ships switched off. You turn it on one at a time, and an update never switches on a tool it serves.
- Guarded write
Writes stay conservative, and the plugin re-checks the capability before the call runs.
- Capability gated
A connection only sees Update Avada Global Options if the user you connected can run it, and the plugin checks that capability again before it executes.
- Every call audited
The call is written to the log in your own database, denials included, with the argument keys and the identifiers it touched, never free-text content.
- It can delete
This ability overwrites site-wide settings in one call, so it is marked destructive. The earlier values come back in previous, and sending them back restores them. It is not in the Changes tab.
Update Avada Global Options is one of the 18 governed Avada abilities. See the full Avada MCP integration.
See it in action
An illustrative run. Your real calls and data stay on your own site.
Try it with a prompt
Example requests you could paste to your agent.
Change Avada's primary color to #0a4b78.
Set the site width in Avada to 1200px.
These are illustrative example prompts. The agent runs them as the user you connected, checked against that user's capabilities and written to your audit log.
Frequently asked
Short answers for Update Avada Global Options.
Why is it marked destructive?
Update Avada Global Options overwrites site-wide Global Options, and the change applies to the whole site at once. The old values come back in previous, and sending them back as set undoes it. A page cache keeps serving cached pages until you purge it.
What does it need?
The Avada theme active and the manage_options capability. Maintenance mode stays read only.
Governed by default, from the first call.
Update Avada Global Options is off until you enable it, scoped to the user you connect, and logged like everything else. Turn on only what you need.
Every ability off until you enable it, capability-gated on every call.