Skip to main content
Glama

mcp-easy-ai__wp_get_theme_mods

Read-only

Reads the active theme's stored theme mods (the Customizer values classic themes keep: logo, colours, layout). Returns { stylesheet, mods }. keys limits the result; a key with nothing stored is null (the theme uses its default), and foo[bar] reads inside the foo mod. include_editable: true also returns editable: the settings wp_update_theme_mod and wp_delete_theme_mod accept, as { key, default, label, control_type, choices }; it runs the theme's Customizer code, so it is slower. Additional CSS is read with wp_get_custom_css. Through Royally: its server marks it read-only, so it runs straight away.

Input Schema

NameRequiredDescriptionDefault
keysNoTheme mod names to return. Omit for every stored mod.
site_idNoSite to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com)
include_editableNoAlso list the Customizer settings you may change, with labels, control types and choices. Slower: loads the Customizer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already establish read-only, but the description goes well beyond them: it discloses that a key with nothing stored is null rather than absent, that `include_editable` executes the theme's Customizer code and is therefore slower, and that the server marks the tool read-only so it runs without a confirmation round-trip. Those are exactly the traits that change how an agent sequences and cost-weights the 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 verb and return shape, then parameters, alternatives, and execution behavior in a sensible order with no filler. It is densely packed — the first sentence carries a parenthetical gloss and the last sentence adds provenance — so it reads slightly crowded rather than crisp, but nothing is redundant.

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?

There is no output schema, so the description carries the return-value burden and does so by naming `{ stylesheet, mods }` and the `editable` entry shape. With only three optional parameters, an explicit performance caveat, and sibling routing all covered, an agent has everything needed to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning the schema lacks: the `foo[bar]` bracket syntax for reading inside a mod, the null-means-default semantics, and the full shape of the `editable` payload ({ key, default, label, control_type, choices }). The `site_id` parameter is left entirely to its enum/description, which keeps it below 5.

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 — reads the active theme's stored theme mods — and immediately glosses the term (Customizer values classic themes keep: logo, colours, layout), which an agent can use to decide relevance. It also declares the return shape `{ stylesheet, mods }` and implicitly scopes itself to classic themes versus block-theme global styles.

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 routes one adjacent need: 'Additional CSS is read with wp_get_custom_css', and names the mutating siblings (wp_update_theme_mod, wp_delete_theme_mod) so the agent knows this tool is the read counterpart. It gives the condition for the expensive flag ('include_editable: true ... it is slower') but never states an explicit when-not or names the block-theme alternative (wp_get_global_styles) outright.

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