Skip to main content
Glama
Ghost MCP Server

Ghost MCP Server

by proars

get_offer

Read-only

Retrieve a single Ghost CMS offer by ID, optionally specifying returned fields and related data to include.

Instructions

Get one offer by id. [GET /admin/offers/{id}/]

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

Input Schema

NameRequiredDescriptionDefault
idYesValue for {id} in the path.
fieldsNoComma-separated list of fields to return, for example id,title,slug.
includeNoComma-separated relations to include, for example tags,authors.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.1

TDQS

A3.5/5.0
Behavior3/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. The description adds only the underlying admin endpoint mapping (GET /admin/offers/{id}/), which hints at the admin scope but says nothing about not-found behavior or error handling.

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 clauses, front-loaded with the purpose; nothing is padded. The bracketed endpoint reference is mildly redundant for an agent but does convey the admin API surface cheaply.

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 single-resource getter with a fully documented three-parameter schema and annotations covering the safety profile, this is close to sufficient. No output schema exists, so omitting return-value details is acceptable; only error/not-found behavior is unaddressed.

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 100%, with id, fields, and include all described in the schema including format examples. The description adds no parameter meaning beyond that, so the baseline of 3 applies.

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?

States a specific verb and resource: 'Get one offer by id.' The word 'one' plus the id requirement distinguishes it from the plural get_offers sibling well enough for selection, though it never names that sibling 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: an agent infers it should call this when it already has a single offer id rather than list criteria. There is no explicit when-to-use, when-not, or pointer to get_offers for the list case.

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