Skip to main content
Glama

Delete fmsg draft

delete_draft
DestructiveIdempotent

Delete an unsent draft and its attachments by ID; sent messages cannot be removed. Use this when you need to discard draft content before sending.

Instructions

Delete an unsent draft and its attachments. Sent messages cannot be deleted.

Input Schema

NameRequiredDescriptionDefault
idYesthe draft to delete

Output Schema

NameRequiredDescriptionDefault
idYes
deletedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.0

TDQS

A4/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and idempotentHint=true. The description adds useful scope beyond annotations by stating that attachments are also deleted and that sent messages are protected from deletion.

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 description is two short sentences, front-loaded with the action and followed by the key restriction. Every sentence contributes useful information with no waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter deletion tool with rich annotations and an output schema, the description covers the essential scope and one important boundary. It could be slightly more complete by mentioning when to use a related alternative such as send_draft.

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%, and the single id parameter is documented in the schema as the draft to delete. The description adds no additional parameter meaning, so the baseline score of 3 is appropriate.

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?

The description uses a specific verb and resource: delete an unsent draft. It also clarifies that attachments are included and sent messages cannot be deleted, but it does not explicitly name a sibling tool such as send_draft or create_draft.

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 clearly states the relevant context, an unsent draft, and one exclusion, sent messages. It does not suggest alternatives for related actions, such as sending the draft instead of deleting it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.