Skip to main content
Glama

Frontman for WordPress

wp_get_customizer_setting

Read-onlyIdempotent

Read one supported registered Customizer setting, including its stored value or registered default, storage presence, and fingerprint. Preserve existing layout components, logo and menu assignments unless the user requests changes. Use the exact ID and fingerprint for wp_update_customizer_setting. Filters and Additional CSS may affect rendering; inspect them separately.

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_id": "<site_id>",
      "id": "<id>"
    },
    "name": "wp_get_customizer_setting"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesExact ID from wp_list_customizer_settings.
site_idYesThe connected site's id returned by list_sites. Call list_sites first; do not use a URL or WordPress post ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the response distinguishes a stored value from a registered default and reports storage presence plus a fingerprint, and it warns that stored values may not equal rendered output because Filters/Additional CSS apply. The "Preserve existing layout components, logo and menu assignments" sentence reads as update-time guidance rather than behavior of this read call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the purpose and return contents, then routing and caveats — a sensible order with no filler. The preservation sentence about layout, logo, and menus is off-topic for a read-only lookup and slightly dilutes focus, though the rest is tight.

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

Completeness4/5

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

With no output schema, the description carries the burden of describing returns, and it does list the three meaningful facets (value-or-default, storage presence, fingerprint). For a two-parameter read tool with full annotation coverage this is close to complete; only the actual response shape or field names are left unstated.

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 coverage is 100% and both parameters are documented in-schema, including the list_sites prerequisite and the warning not to use a URL or post ID, so the baseline of 3 applies. The description reinforces that the ID must be a supported registered setting but adds no new syntax or format detail. The mention of "fingerprint" sits outside this tool's inputs, so it does not clarify either parameter.

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?

States a specific verb and resource ("Read one supported registered Customizer setting") and enumerates what comes back: stored value or registered default, storage presence, and fingerprint. The qualifier "supported registered" narrows scope usefully. It stops short of naming how it differs from close siblings like wp_get_theme_mod or wp_get_option, leaving that inference to the agent.

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?

Explicitly points to wp_list_customizer_settings as the ID source and to wp_update_customizer_setting as the downstream consumer of the ID and fingerprint, and it sets a clear boundary that Filters and Additional CSS "may affect rendering; inspect them separately" — a real when-not statement. Missing is a direct comparison against the other settings-read siblings, but the guidance present is concrete.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.