Skip to main content
Glama
WordPress MCP Server

WordPress MCP Server

by DannyyTv

get_wordpress_post

Retrieve a single WordPress post by ID with full content, using view, embed, or edit context to fetch exactly the post data needed.

Instructions

Get a single WordPress post by ID with full content

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": {
      "id": "<id>"
    },
    "name": "get_wordpress_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPost ID to retrieve (required)
contextNoContext for the request (view, embed, edit)edit

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. 'Full content' usefully distinguishes the return payload from an excerpt-style listing, but there is no disclosure of permission requirements, even though the schema defaults context to 'edit' (which typically requires authentication), and no error behavior for a missing or unauthorized ID.

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?

A single front-loaded sentence with no filler; the verb, resource, lookup key, and payload scope all appear immediately. Nothing is redundant with the tool name and nothing could be trimmed without losing information.

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 two-parameter read tool with full schema coverage and no output schema, the description covers the essentials of what it fetches. It is still thin on the auth/permission dimension implied by the default 'edit' context, which is the main thing an agent could get wrong when invoking it.

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%, including an enum for context, so the schema already carries parameter meaning and the baseline is 3. The description reinforces that 'id' is the lookup key and that the response includes full content, but adds nothing about how 'view' vs 'embed' vs 'edit' changes the returned fields or permissions.

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?

The description names a specific verb and resource ('Get a single WordPress post') and scopes it with 'by ID with full content', which is enough to distinguish it from list_wordpress_posts and the create/update/delete siblings. It stops short of explicitly naming any sibling, so it is clear but not fully differentiated.

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?

There is no explicit when-to-use or when-not-to-use guidance and no named alternative. The phrase 'by ID' implies the caller must already have a post ID, but the description never says to prefer list_wordpress_posts when only a title or filter is known, nor does it mention any prerequisite such as authentication.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.