Skip to main content
Glama
Ghost MCP Server

Ghost MCP Server

by proars

get_posts

Read-only

List and paginate Ghost CMS posts with sorting, NQL filters, field selection, content formats, and relation includes; returns a compact field set by default.

Instructions

List posts (paginated). Returns a compact set of fields by default; pass fields to override. [GET /admin/posts/]

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, starting at 1.
limitNoRecords per page (Ghost default 15, maximum 100).
orderNoSort order, for example published_at desc.
fieldsNoComma-separated list of fields to return, for example id,title,slug. Default: id,title,slug,status,updated_at,published_at,meta_title,meta_description,og_title,og_description.
filterNoNQL filter, for example status:published+tag:news.
formatsNoComma-separated content formats to return: html, plaintext, lexical.
includeNoComma-separated relations to include, for example tags,authors. Default: tags.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.1

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare this as a safe read-only operation. The description adds useful behavior about pagination and default compact field selection with an override via fields, but it does not discuss rate limits, filtering behavior, or response shape beyond the default fields.

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?

The description is three compact clauses followed by the endpoint, with no wasted wording. The key scoping information, pagination and default field behavior, is front-loaded.

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 read-only paginated list tool with full schema coverage and annotation coverage, the description supplies the essential behavioral context: pagination, default fields, and field override. It could be stronger with explicit sibling routing guidance, but no critical information is missing for correct invocation.

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%, so all seven parameters are already documented in the input schema. The description reinforces the fields parameter by noting that a compact default set is returned unless fields is passed, but it adds little beyond the schema. Baseline 3 is appropriate.

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 states a specific verb and resource: "List posts (paginated)." This clearly identifies a paginated collection endpoint, but it does not explicitly distinguish itself from sibling tools such as get_post or get_post_by_slug.

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 implied by "List posts (paginated)" and the pagination-related parameters. However, there is no explicit guidance on when to use this tool instead of get_post, get_post_by_slug, or get_pages.

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