Skip to main content
Glama

WordPress: Get active theme

wordpress_get_active_theme
Read-only

Retrieve the active WordPress theme's name, version, and author for a site to verify which theme is currently in use.

Instructions

[UNIFIED] Get information about the currently active WordPress theme including name, version, and author.

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": "<site>"
    },
    "name": "wordpress_get_active_theme"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.13.1
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv3.4.0

TDQS

B3.2/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe, non-mutating read, so the description's burden is lower. It adds the specific fields returned (name, version, author), but says nothing about behavior on a site with no active theme, multi-site targeting, or error/auth conditions.

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?

A single front-loaded sentence with no filler, and the resource scope is stated before the field list. The '[UNIFIED]' prefix is non-informative noise that earns no place in the text.

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

Completeness3/5

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

For a simple read-only lookup with annotation coverage and no output schema, the description is adequate but thin. It leaves the sole parameter's format undefined and never contrasts itself with the theme_list sibling in a catalog full of theme tools.

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?

Only one parameter ('site') exists and schema description coverage is 0%, so the description should clarify what form of site identifier is expected. It contributes nothing on that point, leaving the parameter's meaning entirely to inference — a real gap, though a small one for a single-param read tool.

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?

The description gives a specific verb and resource — 'Get information about the currently active WordPress theme' — and enumerates the returned fields (name, version, author). The qualifier 'currently active' implicitly separates it from the theme_list sibling, though that contrast is never made explicit.

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 when-to-use or when-not-to-use guidance at all; the description is a pure purpose statement. An agent must infer on its own that this is for the one active theme versus wordpress_specialist_wp_theme_list for the full catalog.

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

Deploy Server

Other Tools