Skip to main content
Glama

Delete a draft

draft_delete
DestructiveIdempotent

Deletes one of your open drafts and its link. Claimed drafts belong to the person and can't be deleted (error draft_claimed). Free. Needs sign-in (auth_challenge then auth_verify).

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": {
      "draft_id": "<draft_id>"
    },
    "name": "draft_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
draft_idYesThe draft_id a save returned

Output Schema

NameRequiredDescriptionDefault
blockNo
staleNo
sourceNo
deletedNo
draft_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true), the description adds what actually gets removed (the draft plus its link), the specific failure mode and error string, and that the call is free. Authenticity of the auth flow is also disclosed. Caveat: the summary sentence structure assumes the reader knows where the auth_challenge/auth_verify chain sits; that is clear enough. Slightly below a 5 because it doesn't say what happens to a claimed draft id (error vs. no-op) beyond the error name.

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 action and scope, then the restriction, then cost and auth. No filler; every clause carries information an agent needs before invoking the tool.

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 destructive, single-parameter tool with annotations covering safety and an output schema covering returns, this definition supplies the remaining operational context: deletion scope, failure mode, cost, and the auth chain. Nothing material 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?

Schema description coverage is 100% for the single parameter; the description adds no extra meaning to draft_id beyond the schema's own 'The draft_id a save returned'. Baseline 3.

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 one of your open drafts and its link') and scopes it to unclaimed drafts, which separates it from reads like draft_get and drafts_list without ambiguity.

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 concrete when-not-to-use condition: claimed drafts cannot be deleted and will surface error draft_claimed. It also states the auth prerequisite path (auth_challenge then auth_verify). It stops short of naming any alternative tool, but none of the siblings appears to be a competing delete operation.

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