Skip to main content
Glama

royal-mcp__wp_get_theme_mod

Read-onlyIdempotent

Get one customizer setting (theme mod) of the active theme by name: whether it is set (exists), its value (sensitive values redacted) and whether wp_update_theme_mod may change it (writable: theme writes are switched on and the mod is in the allowlist). (site: demo.royalplugins.com) Through Royally: read-only, runs straight away.

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": {
      "mod_name": "<mod_name>"
    },
    "name": "royal-mcp__wp_get_theme_mod"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idNoSite to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com)
mod_nameYesTheme mod name, as listed by wp_get_theme_mods.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, yet the description adds genuinely non-obvious behavior: sensitive values are redacted, and 'writable' is defined precisely as theme-writes-on plus allowlist membership. That is real value beyond structured fields. It omits what happens for an unknown mod name (error vs exists=false).

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 action and return shape in a single dense sentence; every clause (exists, redaction, writable) is informative. The trailing site URL and 'Through Royally: read-only, runs straight away' partly restate the readOnlyHint annotation, which is mild waste.

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?

There is no output schema, so the description usefully enumerates the three returned facets (exists, value, writable) plus the redaction caveat, which is exactly what an agent needs to interpret the response. The main remaining gap is behavior on a nonexistent or misspelled mod name.

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 the site_id enum is self-documenting, so the schema carries most of the weight. The description reinforces that mod_name is a single mod looked up by name, and the schema points to wp_get_theme_mods for the valid name list, but no format or casing details are added.

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?

"Get one customizer setting (theme mod) of the active theme by name" is a specific verb+resource, and it explicitly names the companion write tool (wp_update_theme_mod) in the writable explanation. It stops short of explicitly contrasting itself with wp_get_theme_mods (the plural lister), which is only referenced inside the mod_name schema description.

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?

The writable field ties this tool to a clear workflow: call it before wp_update_theme_mod to confirm the mod is in the allowlist and theme writes are enabled. "Runs straight away" clarifies there is no confirmation step. It never states a when-not or an explicit alternative for enumerating mods, so it is context-rich but not fully routing.

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.

Resources