Skip to main content
Glama
Ghost MCP Server

Ghost MCP Server

by proars

update_user

Destructive

Update a staff user's details or role by ID in Ghost CMS. Requires a staff access token or user session; Admin API integration keys are not supported.

Instructions

Update a staff user by id. This route is not available to Admin API integration keys: it needs a staff user's access token (from the user's profile page in Ghost Admin, set as GHOST_ADMIN_API_KEY) with a role that allows it, or a user session. [PUT /admin/users/{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_user"
  }
}

Input Schema

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

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?

Annotations already declare readOnlyHint=false and destructiveHint=true, so the description's main added value is the authentication constraint, which is genuinely useful. However, it never explains whether `data` is a partial patch or a full replacement, nor what happens to omitted fields — a critical behavior for a destructive update.

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 front-load the action, with the auth caveat and endpoint appended compactly. No wasted prose, though the bracketed route notation adds little for an agent that already has the tool.

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 destructive mutation with no output schema, the auth requirement is well covered, but the update semantics (merge vs overwrite, effect on unspecified fields, validation failures) remain undocumented. The definition is callable but leaves real ambiguity about consequences.

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% and the description merely restates that a user is identified by id and updated via a data object. No additional syntax, field-level examples, or patch semantics are provided beyond the schema.

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 ("Update a staff user by id") and pins the exact endpoint PUT /admin/users/{id}/. The word "staff" implicitly separates it from member-oriented siblings like update_member, though it never explicitly contrasts them.

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

Usage Guidelines4/5

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

It gives a concrete when-not condition: the route is unavailable to Admin API integration keys and requires a staff access token or user session with sufficient role. What's missing is routing guidance among siblings (e.g. update_user vs update_member), so an agent knows the precondition but not the full decision rule.

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