Skip to main content
Glama

dpreview_search

Read-only

Fetch the site-wide search results (id, title, url, type, subtype) from the public WordPress REST search endpoint with total counts for a search text. Use dpreview_posts for related data.

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

Input Schema

NameRequiredDescriptionDefault
pageNo1-based page number; the response total_pages says how many exist.
typeNoWhat to search (default post). Allowed values: post, term, post-format.
searchYesSearch text.
contextNoview (default) returns the full item; embed returns the short embed form. Allowed values: view, embed.
subtypeNoComma-separated post subtypes such as post, page, product, press_release (default any).
per_pageNoItems per page, 1 to 100 (upstream default 10).

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and idempotentHint=false. The description adds useful context that the source is the public WordPress REST search endpoint (implying no authentication) and that the response carries total counts, but it never explains the non-idempotency, pagination limits on deep result sets, or rate-limiting behavior — gaps that matter for a search tool.

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, zero filler, with the core action and return shape front-loaded and the sibling pointer placed last. Every clause carries information.

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?

Output schema exists and the input schema is fully documented, so the description only needs to establish scope and source, which it does. It is slightly thin on how the filters (type/subtype/context) interact with a site-wide search, but nothing essential for a correct call is missing.

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 defines page, type, search, context, subtype and per_page in detail. The description adds only the notion of total counts tying back to paging, and provides no extra semantics about enum-like values or how subtype interacts with type. Baseline 3 is appropriate.

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 ('Fetch the site-wide search results') and enumerates the returned fields (id, title, url, type, subtype), which clearly marks it as a broad search across the whole site. It gives a light sibling distinction ('Use dpreview_posts for related data') but does not explicitly contrast the scope with other sibling search/list tools.

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

Usage Guidelines3/5

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

Implies usage — site-wide text search when you want matching items plus total counts — and points at dpreview_posts for 'related data'. There is no explicit when-not guidance (e.g. use dpreview_post for a single item, dpreview_content_types when you don't have search text), so routing is only partially supported.

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.