Skip to main content
Glama

Search Content

wp_search_content
Read-only

Search across all WordPress content (posts, pages, products) by keyword.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoContent type to search (default: post)
searchYesSearch term
site_idNoSite ID to target (optional if you have only one connected site)

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=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds nothing behavioral beyond that: no result caps, pagination, or ordering behavior for what is presumably a broad site-wide query.

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, which is well sized for a simple search tool. It loses a point because the one sentence it does spend contains an inaccuracy (products) rather than a useful constraint.

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 3-parameter read-only search with full schema coverage and annotations, the description is minimally adequate. It omits how many results come back, whether results are paginated, and what fields are returned, which an agent calling a broad search would want to know.

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 the schema already documents search, type, and site_id. The description only loosely echoes the search keyword and gets the searchable content types partly wrong, adding no format or syntax detail. Baseline 3 applies when the schema does the heavy lifting.

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 (Search) and resource (all WordPress content), which cleanly separates it from the listing siblings like wp_list_posts and wp_list_pages. However, it names 'products' as searchable content, while the schema's type enum only allows post, page, term, and post-format, so the stated scope is partly inaccurate.

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?

The description gives no guidance on when to use keyword search versus the many list_* siblings, no prerequisites, and no exclusions. An agent must infer the distinction from the verb alone.

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