Skip to main content
Glama

get_post

Read-only

Retrieve a single post, page, or product by ID with its content, metadata, taxonomies, and featured image for display or processing.

Instructions

Get a single post/page/product by ID, including content, meta, taxonomies, and featured image.

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_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.2

TDQS

A3.6/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read; the description adds value by disclosing which fields come back. It does not cover behavior on a missing/unknown ID, whether the ID must match a specific post type, or 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One front-loaded sentence with no filler; the returned fields are listed compactly and nothing is repeated.

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?

For a simple read-only single-item fetch with one required parameter and no output schema, the sentence tells the agent both what to supply and what to expect back. Only edge-case behavior (invalid ID, post-type ambiguity) is left unstated.

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 0%, so the description has to carry meaning for the single id parameter. It does clarify that the ID addresses one post/page/product and that meta, taxonomies, and featured image are included, but it never says whether the ID is post-type-specific or how errors surface.

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?

Names a specific verb (get) and resource (single post/page/product) and enumerates the payload (content, meta, taxonomies, featured image). The word "single" distinguishes it from the list_posts sibling, though no sibling is named 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?

Usage is only implied: fetch one item when you have an ID, versus listing or mutating via the create/update/delete siblings. There is no explicit statement of when this tool is preferred over list_posts or when it should not be used.

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