Skip to main content
Glama
Ghost MCP Server

Ghost MCP Server

by proars

get_page_by_slug

Read-only

Retrieve a Ghost CMS page by its slug to fetch specific fields, content formats, or related data for targeted page lookups.

Instructions

Get one page by slug. [GET /admin/pages/slug/{slug}/]

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": {
      "slug": "<slug>"
    },
    "name": "get_page_by_slug"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesValue for {slug} in the path.
fieldsNoComma-separated list of fields to return, for example id,title,slug.
formatsNoComma-separated content formats to return: html, plaintext, lexical.
includeNoComma-separated relations to include, for example tags,authors.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.1

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered and the bar is lower. Beyond restating that, the description only supplies the REST route (GET /admin/pages/slug/{slug}/), disclosing no behavior such as not-found handling, whether unpublished pages are returned, default formats, or auth requirements for the admin endpoint.

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?

Two short sentences with the core purpose front-loaded and no filler. The bracketed endpoint is a compact addition of context rather than a wasted sentence.

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 single-resource read tool with full schema coverage and read-only annotations, the essentials are present, but there is no output schema, so the description should hint at what a page record looks like or what the include/formats expansions yield. That gap leaves it adequate but not complete.

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%, with each of slug, fields, formats, and include documented including examples, so the baseline is 3. The description adds nothing about parameter semantics beyond the schema, notably omitting any default for fields/formats when they are omitted.

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?

"Get one page by slug" gives a specific verb (get), resource (page), and lookup key (slug), which distinguishes it from the plural list tool get_pages. It does not, however, distinguish itself from the sibling get_page (presumably keyed by id), so an agent must infer the difference from 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.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the qualifier "by slug"; there is no explicit statement of when to prefer this over get_page or get_pages, nor any note about what happens when the slug matches no page. The agent can infer the retrieval-by-slug scenario but gets no exclusions.

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