Skip to main content
Glama

deletePost

Destructive

Delete a feed post, with its comments and likes, so members no longer see it. Deleting is permanent and cannot be undone. Only a post the administrator who connected wrote can be deleted here; another member's post is deleted in the Spacebring admin app. Returns the post as it was before the delete. Get postId from getPosts. Never invent UUIDs; only use values from prior tool responses.

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

Input Schema

NameRequiredDescriptionDefault
postIdYesThe id of the feed post.

Output Schema

NameRequiredDescriptionDefault
postYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / post / properties / membership / properties / user / properties / type
      Added value: +{
      +  "description": "Whether the user is a person or an AI agent.",
      +  "enum": [
      +    "user",
      +    "agent"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / post / properties / membership / properties / user / required
      Previous value: -[
      -  "id"
      -]New value: +[
      +  "id",
      +  "type"
      +]
    • addedOutput schema / properties / post / properties / user / properties / type
      Added value: +{
      +  "description": "Whether the user is a person or an AI agent.",
      +  "enum": [
      +    "user",
      +    "agent"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / post / properties / user / required
      Previous value: -[
      -  "id"
      -]New value: +[
      +  "id",
      +  "type"
      +]
  2. Changed2 schema fields changed
    • addedOutput schema / properties / post / properties / viewed
      Added value: +{
      +  "description": "Whether the current user has viewed the post.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / post / properties / views
      Added value: +{
      +  "description": "Number of members who viewed the post. Missing on posts nobody has viewed since views were introduced.",
      +  "type": "number"
      +}
  3. First observed

TDQS

A5/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, but the description goes further by disclosing the cascade (comments and likes are removed), irreversibility ("permanent and cannot be undone"), the permission boundary, and the return payload (the post as it was before deletion). These are exactly the behavioral facts an agent needs before invoking an irreversible mutation.

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?

Four short sentences, front-loaded with the effect and consequence before the ownership rule and the id-sourcing hint. Every sentence carries a distinct, actionable fact; nothing is redundant with the schema or annotations.

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 one-parameter destructive tool with an output schema and full annotation coverage, the description covers effect, reversibility, permissions, input sourcing, and return value. Nothing an agent needs to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single postId parameter is already typed as a UUID, so the schema carries the format burden. The description still adds real meaning by specifying the source (getPosts) and a hard constraint against fabricating UUIDs, which is guidance the schema cannot express.

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 opens with a specific verb and resource ("Delete a feed post") and immediately scopes the effect to comments and likes, which distinguishes it from the many other delete* siblings. An agent can tell exactly what is removed 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 Guidelines5/5

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

It states the ownership precondition ("Only a post the administrator who connected wrote can be deleted here") and names the alternative path for other members' posts (the Spacebring admin app). It also routes the agent to getPosts for the identifier, so both when-to-use and where-the-input-comes-from are explicit.

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