Skip to main content
Glama

mcp-easy-ai__wp_get_custom_css

Read-only

Reads a theme's Additional CSS (Appearance → Customize → Additional CSS). stylesheet defaults to the active theme; each theme keeps its own. Returns { stylesheet, active, css, post_id } (post_id is null when there is none). Change it with wp_update_custom_css; block-theme global styles CSS is separate (wp_get_global_styles). Through Royally: its server marks it read-only, so it runs straight away.

Input Schema

NameRequiredDescriptionDefault
site_idNoSite to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com)
stylesheetNoTheme folder name (stylesheet). Defaults to the active theme.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so safety is covered; the description still adds value with per-theme default behavior, a permission/execution note ('runs straight away'), and the return shape including the null post_id case. It does not specify pagination/auth details, but those are less relevant for a read of this scope.

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?

Dense and front-loaded with the primary purpose first, then param default, return shape, and alternatives. Every clause carries information, though the trailing 'Through Royally' note is slightly bolted-on.

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?

With no output schema, the description fully supplies the return shape ({ stylesheet, active, css, post_id }), default semantics, alternatives, and execution note — nothing an agent needs to invoke correctly is missing.

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%, so both parameters are already documented, including the stylesheet default. The description restates the default and adds the useful note that each theme keeps its own CSS, but that addition is marginal against a fully documented schema — baseline 3.

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 a theme's Additional CSS'), locates it in the WP UI, and distinguishes the resource from two closely related siblings by naming them directly (wp_update_custom_css, wp_get_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 Guidelines5/5

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

Explicitly routes the agent: use wp_update_custom_css to change it and wp_get_global_styles for block-theme global styles. The when-not conditions are named rather than implied.

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