Skip to main content
Glama

Delete post

delete_post
DestructiveIdempotent

Delete a post and its versions. A live post leaves the site at the next publish_site. Cannot be undone.

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": {
      "siteId": "<siteId>",
      "postId": "<postId>"
    },
    "name": "delete_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
postIdYesPost id (from list_posts or create_post)
siteIdYesSite id (from list_sites)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds two non-obvious traits: the deletion cascades to post versions, and a live post stays visible until the next publish_site rather than disappearing immediately. It also states irreversibility, which reinforces rather than contradicts the destructive hint. What is missing is failure behavior, such as what happens when the post does not exist.

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?

Three short sentences, each carrying distinct information: scope of deletion, deferred effect on the live site, and irreversibility. Nothing is redundant and the core action is front-loaded.

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

Completeness5/5

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

For a two-required-parameter destructive tool with full schema coverage and explicit destructive/idempotent annotations, the description supplies exactly the extra context an agent needs: cascade scope, publish-time timing, and irreversibility. No output schema exists, but the tool has no meaningful return value to explain.

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 both parameters (siteId, postId) already carry their own descriptions and provenance hints, so the schema does the heavy lifting. The description adds no meaning to either parameter, which is acceptable at this coverage level.

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 opens with a specific verb and resource ("Delete a post") and immediately scopes it to "and its versions," so the agent knows this removes more than a single record. It never names a sibling such as delete_page or delete_asset to distinguish a post from other content types, but the resource is unambiguous.

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: this is the tool for removing posts. The note that "A live post leaves the site at the next publish_site" gives useful timing context, but there is no explicit statement of when to prefer this over alternatives or what precondition (e.g., unpublish first) might apply.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources