Skip to main content
Glama

Cancel a post

cancel_post
DestructiveIdempotent

Cancel a post that is still waiting (status pending in list_posts): it is deleted from Kreatix and never goes out. When no other post uses its video, the video is also deleted from the user's Kreatix library; a video made in the AI Studio stays in the studio. A post being published right now, a published or a failed post can't be cancelled. To keep the post but change its time, use reschedule_post.

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

Input Schema

NameRequiredDescriptionDefault
post_idYesA post id from list_posts (or from schedule_post's answer).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/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 adds the cascade behavior an agent could not otherwise know: the underlying video is deleted from the library only if no other post uses it, and AI Studio videos are never deleted. It also discloses the state-machine boundary of what can and cannot be cancelled, which is real behavioral context beyond the annotations.

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?

The precondition and effect are front-loaded in the first clause, then side effects, then exclusions, then the alternative. Four sentences carry distinct information with no repetition or filler.

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 no output schema, an agent needs eligibility rules, side effects, and a fallback route — all three are present. Nothing required to invoke it correctly is missing.

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?

Single required parameter with 100% schema description coverage, so the schema already explains that post_id comes from list_posts or schedule_post. The description adds no syntax, format, or edge-case guidance (e.g. what happens with an invalid or already-cancelled id) beyond what the schema provides, 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 (cancel) and resource (a post) plus the exact precondition (still waiting, status pending in list_posts) and the outcome (deleted from Kreatix, never goes out). This is clearly distinguishable from reschedule_post, which is named explicitly.

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?

Gives explicit eligibility ('still waiting / status pending'), explicit exclusions ('a post being published right now, a published or a failed post can't be cancelled'), and routes to the correct alternative ('To keep the post but change its time, use reschedule_post'). Nothing is left to inference.

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.