Skip to main content
Glama
draiqw
by draiqw

tg_draft

Idempotent

Save a message as a draft in a Telegram chat so the user can review and send it manually. Use clear=true to remove an existing draft.

Instructions

Save a draft in a chat instead of sending it. The user sees it in Telegram and presses send themselves.

This is the right tool when a message needs the user's eyes first: nothing leaves the account, and it survives across devices. Pass clear=true to wipe the draft.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chatYes
textNo
clearNo
reply_toNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations establish that the operation is not read-only but also not destructive and is idempotent. The description adds valuable behavior beyond annotations: it does not actually send, the user is the one who sends, nothing leaves the account, and drafts persist across devices. It does not discuss overwriting an existing draft, but the idempotency hint reduces that concern.

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 compact and front-loaded. The core behavior is in the first sentence, followed by succinct usage guidance and the key parameter behavior. Every sentence earns its place.

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 four-parameter tool, the description provides enough context to select and invoke it: target chat is clear, draft content is implied, clear semantics are explicit, and usage context is strong. The main gap is the reply_to parameter, which is not described at all.

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 0%, so the description must compensate. It explicitly explains clear ('Pass clear=true to wipe the draft') and implies chat through 'Save a draft in a chat,' but text and reply_to receive no direct semantic explanation, and reply_to is left entirely to inference.

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?

The description opens with a specific verb and resource: 'Save a draft in a chat instead of sending it.' It clearly differentiates from sending-related siblings by explaining that the user sees the draft and presses send themselves.

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?

Explicitly states when this tool is the right choice: 'This is the right tool when a message needs the user's eyes first.' It further clarifies the use case with behavior differentiators like 'nothing leaves the account' and 'survives across devices,' and instructs to pass clear=true to wipe the draft.

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