Skip to main content
Glama

Delete a post

delete_post
DestructiveIdempotent

Deletes a post from PersonaXpand (a draft, or a scheduled post before it goes out). A post that was already published needs the person's yes (published_confirmed) and only its PersonaXpand record goes. It never removes anything from a network.

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

Input Schema

NameRequiredDescriptionDefault
post_idYesThe post id.
published_confirmedNotrue means the person confirmed deleting a post that was already published (its PersonaXpand history and analytics go; the post stays on the network).
many_deletes_confirmedNotrue means the person confirmed deleting many items (see many_deletes).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / published_confirmed
      Added value: +{
      +  "default": false,
      +  "description": "true means the person confirmed deleting a post that was already published (its PersonaXpand history and analytics go; the post stays on the network).",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior5/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 goes further by defining exactly what is destroyed (the PersonaXpand record, including history and analytics for published posts) and explicitly what is not ("It never removes anything from a network"). That answers the single most important question for a destructive tool: what is irreversibly lost.

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, front-loaded with the action and scope, then the confirmation condition, then the blast-radius boundary. Every sentence carries distinct information and none is filler.

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 destructive mutation with no output schema, the description covers scope, the confirmation gate, and the irreversible boundary well. The gap is the bulk-delete path: many_deletes_confirmed points at a many_deletes concept that the description never explains, leaving an agent unsure when that flag applies.

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%, so the schema already documents post_id, published_confirmed, and many_deletes_confirmed in detail. The description reinforces that published_confirmed is a human-confirmation gate rather than a technical flag, but adds no syntax or semantics not already present, so baseline 3 applies.

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?

States a specific verb and resource ("Deletes a post from PersonaXpand") and immediately bounds the scope to drafts and scheduled posts not yet published. It thereby distinguishes itself from pause_post, update_post, and reschedule_post without the agent needing to open 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?

Gives a clear conditional rule: a published post requires the person's confirmation via published_confirmed, otherwise deletion applies to drafts/scheduled items. It does not name sibling alternatives (e.g. pause_post or reschedule_post as non-destructive options), and it never mentions the many_deletes_confirmed gate, which the schema references.

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