Skip to main content
Glama
Ghost MCP Server

Ghost MCP Server

by proars

update_offer

Destructive

Update an existing offer by ID through the Ghost Admin API, changing specified fields to keep promotions accurate.

Instructions

Update a offer by id. [PUT /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>",
      "data": "<data>"
    },
    "name": "update_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesValue for {id} in the path.
dataYesFields of the offers object, as in the Ghost Admin API docs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.1

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description adds only the HTTP verb, and does not clarify whether this is a full replacement or a partial merge, whether omitted fields are cleared, or what the response returns — the key behavioral question for a destructive PUT.

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 fragments with zero padding and the resource identifier front-loaded. The bracket endpoint adds locational value rather than waste, though the phrasing is slightly clipped and ungrammatical.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A destructive mutation taking a nested free-form 'data' object with no output schema needs more than this: it never says whether partial updates are allowed, which offer fields exist, or what happens to fields left out. The destructive annotation covers safety, but the semantics of the nested payload remain unexplained.

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 both 'id' and 'data' described in the schema itself, so the baseline is 3. The description only restates that the update targets an id and defers entirely to 'Ghost Admin API docs' rather than naming any updatable offer field.

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+resource ('Update a offer by id') and pins the exact endpoint (PUT /admin/offers/{id}/), which clearly separates it from create_offer and get_offer. Minor grammar slip aside, an agent knows what it does without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

No when-to-use guidance, no prerequisites, and no mention of create_offer as the alternative for new records. The only implied guidance is that an existing offer id is required, which is already implied by the required 'id' parameter.

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