Skip to main content
Glama

royal-mcp__wp_get_global_styles

Read-onlyIdempotent

The active theme's global styles and key settings (colour palette, gradients, font sizes, font families, spacing sizes, layout widths) as used by the block editor. Read-only. (site: demo.royalplugins.com) Through Royally: read-only, runs straight away.

Input Schema

NameRequiredDescriptionDefault
site_idNoSite to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so 'Read-only' and 'runs straight away' add nothing new — they repeat structured data twice. The description adds the source of the styles ('as used by the block editor') but says nothing about what happens when the theme defines no global styles, how the data is grouped, or whether theme.json overrides are reflected.

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

Conciseness3/5

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

The core sentence is front-loaded and informative, but the trailing '(site: demo.royalplugins.com)' and 'Through Royally: read-only, runs straight away' are boilerplate that duplicates annotations and the schema enum. Roughly a third of the text is filler.

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 and only one optional parameter, the enumerated list of returned style categories is exactly the information an agent needs to decide whether this tool answers its question. The remaining gap is how the styles are structured in the response, which is minor for a simple read.

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?

A single optional site_id parameter with 100% schema description coverage and an enum, so the schema carries the explanation. The description text never mentions the parameter, which is acceptable given the baseline but means no added 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?

States a specific verb and resource ('The active theme's global styles') and enumerates the payload (colour palette, gradients, font sizes, spacing, layout widths), which materially separates it from nearby tools like wp_get_active_theme and wp_get_theme_mods. It never names a sibling explicitly, so differentiation is inferable rather than stated.

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 guidance on when to call this versus wp_get_active_theme, wp_get_theme_mods, or elementor_get_kit_globals, all of which sit in the same sibling list and can plausibly return overlapping style data. The only usage cue is 'Read-only', which restates the annotation rather than directing choice.

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