Skip to main content
Glama

royal-mcp__wp_search

Read-onlyIdempotent

Search all content. Pass snippet>0 to receive a content excerpt around each match (saves tokens vs. fetching each result with wp_get_page). Each result includes content_length (bytes of stored content) for size triage. (site: demo.royalplugins.com) Through Royally: read-only, runs straight away.

Input Schema

NameRequiredDescriptionDefault
queryYes
statusNopublish (default), one status, or any (every status you can read except trash), so a draft you just created can be found.
site_idNoSite to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com)
snippetNoSnippet length in characters around the matched term (default 0 = off, recommended 160-240). When set, results include slug and snippet fields.
per_pageNoNumber of results (default 20, max 100)
post_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare read-only/idempotent/no-destruction; the description reinforces this and adds 'runs straight away', which usefully signals no approval step. It also discloses result-shape behaviors (content_length for size triage, snippet returns slug and snippet fields) that go beyond the annotations.

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-loads the core action, then layers the snippet tip, result fields, and the safety note. Four short sentences with no real filler; only the parenthetical site note is marginal.

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, the description usefully names returned fields (content_length, snippet, slug) and explains excerpt behavior, which is enough for correct invocation. The main gap is the undocumented post_type parameter and the unstated scope of 'all content'.

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 coverage is 67% and the description adds genuine meaning for `snippet` (excerpt around match, token savings, fields returned). However, status, per_page, and especially the undocumented `post_type` parameter get no added semantics, so the description only partially compensates.

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 all content') and implies the difference from fetching tools by noting snippet savings vs. wp_get_page. 'All content' is slightly vague about whether media/comments/terms are included, and it doesn't name the closest list siblings (wp_get_pages, wp_search_posts) directly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear use condition: set snippet>0 to get excerpts and save tokens instead of fetching each result with wp_get_page. That is a real when-to-use cue, but it offers no explicit exclusions for when to prefer wp_get_pages or the other search variants.

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