Skip to main content
Glama

manage_draft

Idempotent

Save or clear a cloud message draft in a destination chat to prepare outgoing messages or remove existing drafts. Supports text, formatting, and reply target for saved drafts.

Instructions

Save or clear a cloud message draft in a destination chat.

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": {
      "action": "<action>"
    },
    "name": "manage_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
chatNoTarget chat reference (required for `save` and for `clear` in strict whitelist mode).
textNoDraft text (required for `save`).
actionYesDraft operation (`save` or `clear`).
parse_modeNoInput formatting mode for `save` (`markdown`, `plain`, or `html`).
reply_to_message_idNoOptional reply target message ID for `save`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, idempotent, non-destructive, open-world tool, so the safety profile is carried. The description adds that drafts are 'cloud' (server-persisted) and scoped to a destination chat, but says nothing about what 'clear' does to an existing draft, whether clearing a nonexistent draft errors, or what permissions are needed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler, and the dual verb is stated first. It is efficient, though the terseness leaves gaps that extra clauses could have closed at little cost.

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

Completeness3/5

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

For a five-parameter mutation tool with conditional requirements, the description is thin: it never explains the save-vs-clear semantics, what happens if the referenced draft does not exist, or what the caller gets back. The fully documented schema covers parameter-level detail, so the gap is behavioral rather than structural.

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%, so every parameter including the save/clear enum and parse_mode is already documented in the schema. The description reinforces chat scoping but adds no format, syntax, or conditional-requiredness detail beyond that baseline.

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?

States a specific pair of verbs ('save or clear') plus a specific resource ('cloud message draft') and its location ('destination chat'). An agent can distinguish it from get_drafts or edit_message, though the description never names a sibling to sharpen the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no statement of prerequisites (e.g. that a chat is required to save), and no pointer to an alternative such as listing existing drafts. The agent must infer the calling context entirely from the name and schema.

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