Get Page


Gets the full details of a single page by its ID, including content, status, author, dates, and parent page.

Property Value
Ability slug mosmcp/page-get
Wire tool name mosmcp__page-get
Category Pages (mosmcp-pages)
Plan Free

 

Required access

Requirement Value
Capability read
Minimum default role Subscriber
Annotations readOnly: true · destructive: false · idempotent: true · openWorld: false

 

Input schema

Field Type Required Default Description
id integer (min 1) Yes — The ID of the page to retrieve.

 

Output schema

Field Type Required
id integer Yes
title string Yes
content string Yes
excerpt string
status string Yes
author_id integer
author_name string
created string
modified string
link string
edit_url string
parent_id integer
parent_title string

 

Example

Sample prompt
Show me the full content of the About page (ID 42).

Example request (json)

{
  "jsonrpc": "2.0",
  "id": 36,
  "method": "tools/call",
  "params": {
    "name": "mosmcp__page-get",
    "arguments": {
      "input": {
        "id": 42
      }
    }
  }
}

Example response (json)

{
  "jsonrpc": "2.0",
  "id": 36,
  "result": {
    "isError": false,
    "structuredContent": {
      "id": 42,
      "title": "About",
      "content": "<p>We are a family-run bakery.</p>",
      "excerpt": "We are a family-run bakery.",
      "status": "publish",
      "author_id": 1,
      "author_name": "Jane Doe",
      "created": "2026-01-05 10:00:00",
      "modified": "2026-09-20 14:32:10",
      "link": "https://example.com/about/",
      "edit_url": "https://example.com/wp-admin/post.php?post=42&action=edit",
      "parent_id": 0,
      "parent_title": ""
    }
  }
}

 

Edge cases / errors

  • id is not a page → refused with page_not_found.
  • The caller cannot read that page (e.g. a subscriber and a draft or private page) → refused with cannot_read_page.
  • excerpt is the manual excerpt when one exists (capped at 100 words), otherwise the first 40 words of the content.
  • content is the raw stored body; on Elementor-built pages it may not match what visitors see.

 


<< Previous Next >>
Find Page (ID by Name / Name by ID) Get Page Template And Display Settings

For more information about the Secure MCP Server for WordPress plugin, explore the following resources:

Product Overview | Pricing | Try for Free | Documentation

If you have any questions regarding plugin configuration, pricing plans or licensing, please contact us or mail us at aisupport@xecurify.com.