Skip to main content
Glama

Delete draft

delete_draft
DestructiveIdempotent

Permanently delete a draft and its media. There is no undo, so confirm with the user first. Send its id and its current title from get_calendar; a title that does not match deletes nothing. Drafts that are scheduled, published, or linked to a deal are refused and stay managed in Distinctful. Applies immediately.

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": {
      "contentCardId": "<contentCardId>",
      "title": "<title>"
    },
    "name": "delete_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesThe draft’s exact current title, as a check that the id is the intended draft.
contentCardIdYesThe draft’s content card id from get_calendar.

Output Schema

NameRequiredDescriptionDefault
idNoId of the created or changed record, when there is one.
urlYesWhere the user can see the result in Distinctful.
doneYes

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 goes well beyond them: no undo, media deleted alongside the draft, immediate effect, and the title-mismatch no-op. That is exactly the side-effect and failure-mode detail a caller needs before a destructive write.

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 irreversible consequence, then the required inputs, then the refusal conditions. No sentence is redundant.

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?

The tool is a destructive two-parameter delete with an output schema, and the description covers irreversibility, the confirmation step, input provenance, and the specific rejection cases. Nothing material is missing for an agent to call it correctly or safely.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds the downstream consequence of the title check ("a title that does not match deletes nothing") and names get_calendar as the source for the id. That is real meaning beyond the schema's own field text.

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?

"Permanently delete a draft and its media" names the exact verb, resource, and blast radius, which separates it from sibling deletes such as delete_deal and delete_idea_folder. An agent knows immediately that this targets drafts only.

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?

It states an explicit precondition ("confirm with the user first") and spells out which drafts will be refused (scheduled, published, or deal-linked), effectively defining when-not-to-call. It stops short of naming the alternative tool for those refused drafts, so it is clear context rather than a full routing rule.

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