Skip to main content
Glama
Ghost MCP Server

Ghost MCP Server

by proars

delete_user

Destructive

Permanently deletes a staff user by ID using staff-user credentials; Admin API integration keys cannot perform this action.

Instructions

Permanently delete 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. [DELETE /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>"
    },
    "name": "delete_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesValue for {id} in the path.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.1

TDQS

A4.1/5.0
Behavior4/5

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

The destructiveHint=true annotation already flags this as a write, but the description adds genuinely non-obvious behavior: the exact credential type accepted, that Admin API integration keys are rejected, and that the deletion is permanent. It doesn't say what happens to content owned by the deleted user, which is the main remaining behavioral gap.

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 sentences, front-loaded with the action and permanence, followed by the credential constraint. The trailing bracketed DELETE route is somewhat redundant with the name but serves as an unambiguous pointer; otherwise there is no waste.

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 one-parameter tool with no output schema, the description covers the two things that matter — irreversibility and authentication requirements. What is missing is the side effects of deletion (orphaned posts/authors), which would matter before an agent fires it.

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?

There is a single parameter with 100% schema description coverage, so the schema already documents the id path value. "By id" in the description reinforces that but adds no syntax, format, or sourcing detail beyond what the schema provides — the baseline for full coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource ("Permanently delete a staff user") with a scope qualifier (staff user, by id) that separates it from delete_member, delete_label, and the other delete_* siblings. An agent can identify the target entity type without opening any schema.

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 states a hard precondition for use (needs a staff user's access token or a user session, not an Admin API integration key) and rules out one credential class explicitly. It does not discuss alternatives such as deactivating versus deleting a user, so it stops short of full when-to-use guidance.

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