wp_get_post
Retrieve a WordPress post by its ID to access its content. Use for fetching specific posts for display, editing, or processing.
Instructions
Get a WordPress post by ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Post ID |
Retrieve a WordPress post by its ID to access its content. Use for fetching specific posts for display, editing, or processing.
Get a WordPress post by ID
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Post ID |
Changes observed during successful MCP inspections.
v0.1.0Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden, and it does almost nothing with it. It does not say the operation is read-only, what happens when the ID does not exist (error vs empty), whether the post is returned including content/meta, or any permission requirements.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence with zero filler. It is efficient, though arguably under-specified rather than optimally concise.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-parameter read tool with no output schema, the definition is minimally sufficient to invoke, but leaves out error behavior and what the returned post includes. A brief note on missing-ID handling and return shape would make it complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% and there is only one parameter ('id: Post ID'), so the schema already documents everything. The description adds no format hints (e.g., that the ID is the numeric post ID, not a slug), so baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (Get), resource (WordPress post), and lookup key (by ID), so the agent knows exactly what it retrieves. It does not explicitly distinguish itself from the near-identical sibling wp_get_page or from wp_posts_search, so sibling differentiation relies on the name alone.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this versus wp_posts_search (for discovering posts) or wp_get_page (for pages). The agent must infer that a known ID is required and that search is the alternative when the ID is unknown.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.