Skip to main content
Glama

mcp-easy-ai__wp_search

Read-only

Searches published content by keyword: posts of every public type by default, terms with type: "term". Never returns drafts, pending, private or scheduled posts, or media, so an empty result does not mean the item is missing; for those use wp_list_posts / wp_list_pages with search and status: "any", or wp_list_media with search. Returns { results: [{ id, title, url, type, subtype, snippet (only with snippet: true) }], total, total_pages, page, per_page, query }. Through Royally: its server marks it read-only, so it runs straight away.

Input Schema

NameRequiredDescriptionDefault
pageNoPage number for pagination.
typeNoObject type to search. Omitted means "post" (every public post type); pass "term" for categories, tags and other taxonomies.
queryYesThe search query string.
site_idNoSite to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com)
snippetNoWhen true, include a `snippet` field on each POST result: a plain-text excerpt (HTML, shortcodes, and block markup stripped) windowed around the first match of the query, so you can judge relevance without a follow-up wp_get_post. Non-post results (terms) never carry a snippet. Default false (response is unchanged when omitted).
subtypeNoLimit results to a specific subtype (e.g. post, page, category, post_tag, or any custom post type/taxonomy slug).
per_pageNoNumber of results per page (1-100).
snippet_lengthNoMaximum snippet length in characters (20-1000, default 200). Only used when snippet is true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare read-only and non-destructive, and the description goes well beyond them: it discloses the status filter (drafts, pending, private, scheduled excluded), that media is excluded, the false-negative implication of empty results, and the exact response envelope. This is real behavioral context, not repetition.

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?

Front-loaded with the core behavior and the exclusions/alternatives come before the return shape. It is dense and long, but each clause (default scope, exclusions, fallbacks, response shape, read-only note) carries distinct information.

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?

No output schema exists, and the description compensates by spelling out the returned object's fields including the conditional `snippet`. With 8 parameters fully documented in schema plus this narrative, an agent has everything needed to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description still adds value by tying `type: "term"` to the result-type semantics and by explaining that `snippet` exists to avoid a follow-up wp_get_post, which is intent the schema does not express.

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?

Opens with a specific verb and resource ('Searches published content by keyword') and immediately scopes the default ('posts of every public type') versus the term mode. An agent can tell this apart from wp_list_posts, wp_list_media and wp_search_posts without opening any schema.

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 states what the tool will never return and redirects to named alternatives (wp_list_posts / wp_list_pages with `search` and `status: "any"`, or wp_list_media with `search`). The warning that an empty result does not mean the item is missing is an unusually good routing cue.

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