Skip to main content
Glama

royal-mcp__wp_get_posts

Read-onlyIdempotent

Get WordPress posts (supports custom post types). Each item includes content_length (bytes of stored post_content) so you can size-check before fetching — on page-builder sites a short page can still carry a very large body. (site: demo.royalplugins.com) Through Royally: read-only, runs straight away.

Input Schema

NameRequiredDescriptionDefault
searchNoSearch term
statusNoPost status (publish, draft, etc)
includeNoUp to 100 post IDs. Returns exactly those posts (any status you can read, trashed posts included) in this order; per_page and search are ignored.
site_idNoSite to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com)
per_pageNoNumber of posts (max 100)
post_typeNoPost type slug (default: post). Use wp_get_post_types to discover available types
with_contentNoWhen true, each item adds content_text (content with shortcodes and tags removed, whitespace collapsed, at most 3000 characters) and content_truncated.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/destructiveHint=false, so safety is covered; the description adds genuinely useful behavior beyond that: every item carries content_length in bytes of stored post_content, and it warns that short page-builder pages can still carry very large bodies. "Read-only, runs straight away" mostly restates annotations, but the size/payload disclosure is real value.

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?

Core capability and the content_length rationale are front-loaded in two tight sentences. The trailing site host annotation and "Through Royally: read-only, runs straight away" are low-value filler given that site_id and the annotations already convey both.

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?

There is no output schema, but the description discloses the key return-shape fact (content_length per item) and the schema covers the with_content payload behavior, so an agent can call this correctly. Minor gaps remain around pagination/default counts, which are only implicit in per_page.

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 every parameter (including the include-ordering caveat and with_content truncation rules) is already documented in the schema. The description adds no syntax or interaction detail beyond the schema, leaving this at the baseline for fully covered schemas.

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 ("Get WordPress posts") and adds the supported variant (custom post types). It is distinguishable from single-item siblings like wp_get_post and wp_get_page, though it never names a sibling or competing list/search tool explicitly.

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?

The description implies a usage pattern — use content_length to size-check before pulling full bodies on page-builder sites — but that is guidance about downstream workflow, not about when to pick this tool over wp_search, wp_get_pages, or the other list tools. No exclusions or prerequisites are stated.

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