Skip to main content
Glama

delete_post

DestructiveIdempotent

Permanently delete one of the user's HubPost posts (draft, scheduled or failed). Published posts cannot be deleted.

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": "delete_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
postIdYesId of the post to delete

Output Schema

NameRequiredDescriptionDefault
postIdYes
deletedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered structurally. The description still adds real value: it reinforces that deletion is permanent and irreversible, and it discloses the state-based precondition (published posts are rejected) that will otherwise surface as a runtime error.

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?

Two short sentences, zero filler, with the core action front-loaded and the constraint immediately after it. Nothing is repeated from the schema or annotations and nothing could be cut without losing information.

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 annotations covering safety and an output schema covering the response, the description supplies exactly the missing pieces: permanence and the allowed post states. An agent has everything needed to decide and invoke correctly.

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 ("Id of the post to delete"), so the schema already carries the meaning. The phrase "one of the user's HubPost posts" adds a mild scoping hint that the ID must belong to the calling user, but no format or example is given, so the baseline 3 applies.

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?

"Permanently delete one of the user's HubPost posts" states a specific verb (delete) and resource (post) plus the permanence qualifier, which alone separates it from create_post, edit_post and get_post. It stops just short of naming a sibling or clarifying whether any alternative path exists for the excluded case, so it is clear but not fully differentiated.

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?

The eligibility rule is explicit: only draft, scheduled or failed posts can be deleted, and published posts are excluded. That tells the agent when the call will succeed, though it does not point to what to do instead for published posts (e.g. unpublish first or archive), leaving the negative case without a next step.

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