Skip to main content
Glama

mcp_search_themes

Search the WordPress.org theme repository by query to find themes and return details such as slug, version, author, and rating.

Instructions

Search the WordPress.org theme repository. Returns { total, themes: [{ name, slug, version, author, rating, description }] }.

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>",
      "search": "<search>"
    },
    "name": "mcp_search_themes"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesSite id (see list_sites)
searchYesSearch query
per_pageNoResults per page (default 10)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv3.14.0
    • changedInput schema / properties / per_page / description
      Previous value: -"Results per page"New value: +"Results per page (default 10)"
    • addedInput schema / properties / per_page / exclusiveMinimum
      Added value: +0
    • changedInput schema / properties / per_page / type
      Previous value: -"number"New value: +"integer"
  2. Changed2 schema fields changedv3.4.0
    • addedInput schema / properties / site
      Added value: +{
      +  "description": "Site id (see list_sites)",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "search"
      -]New value: +[
      +  "site",
      +  "search"
      +]
  3. First observedv2.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden. It does disclose the return envelope ({ total, themes: [...] }) which is valuable given there is no output schema, but it says nothing about pagination behavior beyond per_page, authentication, rate limits, or whether results include already-installed themes. Read-only nature is only implied by 'search'.

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

Conciseness5/5

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

Two sentences, front-loaded with the action and followed by the exact return shape. No filler or redundant restatement of the name.

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?

For a simple three-parameter read-only search with full schema coverage and no output schema, the description covers purpose and return shape adequately. The only shortfall is the absence of guidance on pagination and how this relates to sibling 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?

Schema description coverage is 100%, so all three parameters are already documented in the schema, establishing a baseline of 3. The description adds no additional meaning about 'site', 'search' matching semantics, or how per_page interacts with the returned 'total'.

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: 'Search the WordPress.org theme repository.' This makes it clearly distinct from listing installed themes, though no sibling is named explicitly. An agent knows exactly what domain is being searched.

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 explicit when-to-use guidance, no exclusions, and no reference to alternatives such as wp_list_themes or mcp_update_all_themes. The repository scope implies 'discovery of uninstalled themes' but that inference is left entirely to the agent.

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