Skip to main content
Glama

wp_update_settings

Updates only the specified WordPress site settings, such as title, URL, email, timezone, and front-page options, then returns all settings without altering unrelated fields.

Instructions

Update WordPress site settings (only the given fields change); returns all settings afterwards

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "site": "<site>"
    },
    "name": "wp_update_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoSite URL (siteurl; single site only - changing it can lock you out)
siteYesSite id (see list_sites)
emailNoAdmin email (single site only)
titleNoSite title
languageNoLocale, e.g. de_DE (must be installed; '' = en_US)
timezoneNoTimezone city, e.g. Europe/Berlin (option timezone_string)
site_iconNoSite icon (favicon) media ID
site_logoNoSite logo media ID
date_formatNoPHP date format, e.g. d.m.Y
descriptionNoSite tagline
time_formatNoPHP time format, e.g. H:i
use_smiliesNoConvert emoticons like :-) to graphics
page_on_frontNoPage ID shown on the front page (show_on_front=page)
show_on_frontNoFront page shows the latest posts or a static page
start_of_weekNoFirst day of the week (0 = Sunday, 1 = Monday)
page_for_postsNoPage ID that lists the latest posts (show_on_front=page)
posts_per_pageNoBlog pages show at most this many posts
default_categoryNoDefault post category ID
default_ping_statusNoAllow pingbacks/trackbacks on new posts
default_post_formatNoDefault post format slug ('0' = standard)
default_comment_statusNoAllow comments on new posts

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed20 schema fields changedv3.14.0
    • addedInput schema / properties / date_format
      Added value: +{
      +  "description": "PHP date format, e.g. d.m.Y",
      +  "type": "string"
      +}
    • addedInput schema / properties / default_category
      Added value: +{
      +  "description": "Default post category ID",
      +  "type": "integer"
      +}
    • addedInput schema / properties / default_comment_status
      Added value: +{
      +  "description": "Allow comments on new posts",
      +  "enum": [
      +    "open",
      +    "closed"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / default_ping_status
      Added value: +{
      +  "description": "Allow pingbacks/trackbacks on new posts",
      +  "enum": [
      +    "open",
      +    "closed"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / default_post_format
      Added value: +{
      +  "description": "Default post format slug ('0' = standard)",
      +  "type": "string"
      +}
    • changedInput schema / properties / description / description
      Previous value: -"Site tagline/description"New value: +"Site tagline"
    • addedInput schema / properties / email
      Added value: +{
      +  "description": "Admin email (single site only)",
      +  "format": "email",
      +  "type": "string"
      +}
    • addedInput schema / properties / language
      Added value: +{
      +  "description": "Locale, e.g. de_DE (must be installed; '' = en_US)",
      +  "type": "string"
      +}
    • addedInput schema / properties / page_for_posts
      Added value: +{
      +  "description": "Page ID that lists the latest posts (show_on_front=page)",
      +  "type": "integer"
      +}
    • addedInput schema / properties / page_on_front
      Added value: +{
      +  "description": "Page ID shown on the front page (show_on_front=page)",
      +  "type": "integer"
      +}
    • addedInput schema / properties / posts_per_page
      Added value: +{
      +  "description": "Blog pages show at most this many posts",
      +  "type": "integer"
      +}
    • addedInput schema / properties / show_on_front
      Added value: +{
      +  "description": "Front page shows the latest posts or a static page",
      +  "enum": [
      +    "posts",
      +    "page"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / site_icon
      Added value: +{
      +  "description": "Site icon (favicon) media ID",
      +  "type": "integer"
      +}
    • addedInput schema / properties / site_logo
      Added value: +{
      +  "description": "Site logo media ID",
      +  "type": "integer"
      +}
    • addedInput schema / properties / start_of_week
      Added value: +{
      +  "description": "First day of the week (0 = Sunday, 1 = Monday)",
      +  "maximum": 6,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / time_format
      Added value: +{
      +  "description": "PHP time format, e.g. H:i",
      +  "type": "string"
      +}
    • addedInput schema / properties / timezone
      Added value: +{
      +  "description": "Timezone city, e.g. Europe/Berlin (option timezone_string)",
      +  "type": "string"
      +}
    • removedInput schema / properties / timezone_string
      Removed value: -{
      -  "description": "Timezone (e.g., Europe/Berlin)",
      -  "type": "string"
      -}
    • addedInput schema / properties / url
      Added value: +{
      +  "description": "Site URL (siteurl; single site only - changing it can lock you out)",
      +  "type": "string"
      +}
    • addedInput schema / properties / use_smilies
      Added value: +{
      +  "description": "Convert emoticons like :-) to graphics",
      +  "type": "boolean"
      +}
  2. Changed2 schema fields changedv3.4.0
    • addedInput schema / properties / site
      Added value: +{
      +  "description": "Site id (see list_sites)",
      +  "type": "string"
      +}
    • addedInput schema / required
      Added value: +[
      +  "site"
      +]
  3. First observedv2.0.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses two traits beyond the schema: the update is a partial patch (unmentioned fields are preserved) and the tool returns all settings afterwards. However, it says nothing about required permissions, whether changes are reversible, or the lockout risk of siteurl changes, which the schema documents but the description does not surface.

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?

A single front-loaded sentence with two clauses, both of which carry information: the partial-update behavior and the return value. There is no filler 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?

With 21 parameters, a mutation surface, and no annotations, the description is thinner than ideal, though the fully documented schema and the stated return value cover much of the gap. It omits permission requirements and the elevated risk of parameters like url and email, which matters for a settings-write tool.

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 100%, with each of the 21 parameters documented including enums and ranges, so the baseline is 3. The description adds only the general patch semantics and does not add field-level meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource ("Update WordPress site settings") and adds the patch semantic "only the given fields change", which tells an agent this is a partial update rather than a replace. It does not name a sibling such as wp_get_settings or any of the other *_update_settings tools, so differentiation is left to the name alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance, no mention of reading current values via wp_get_settings first, and no prerequisites such as capability or authentication requirements. The only implicit usage signal is the "only the given fields change" phrasing.

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

Deploy Server

Other Tools