Skip to main content
Glama

Sergio by Serviche

Save a draft in a conversation's draft box

compose_draft
Idempotent

Saves a message as a draft in a conversation's draft box, as the draft box and /drafts New draft do: give conversationId, or clientId to use that contact's one conversation. channel 'email' with a subject, a picked recipient or replyToEmailId makes an email reply; otherwise it is a text. whyNote is the line shown above the draft. Nothing is sent; a person reviews the exact text and presses Send. For a plain text draft the Sergio card's own create_draft does the same. Pass the same idempotency_key when retrying; a repeat returns the original draft.

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": {
      "body": "<body>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "compose_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
channelNo
subjectNo
whyNoteNo
clientIdNo
recipientNo
conversationIdNo
replyToEmailIdNo
idempotency_keyYesYour id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, so the description's main added value is the human-in-the-loop guarantee ('Nothing is sent; a person reviews the exact text and presses Send') and the retry contract ('a repeat returns the original draft'), which goes beyond the bare idempotentHint flag. It does not state required permissions or what the response body contains beyond the repeat case, so it falls short of full behavioral disclosure.

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?

Purpose and targeting rules are front-loaded, and each sentence carries operational content (targeting, email-vs-text branch, no-send guarantee, retry behavior). The phrasing 'as the draft box and /drafts New draft do' references internal UI surfaces and is slightly awkward, but no sentence is filler.

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 9-parameter mutation with no output schema, the description covers the decision-relevant semantics, the safety guarantee, and the idempotency behavior an agent needs to call it correctly. What remains thin is the return value (draft identifier/shape) and error or validation conditions, which the absent output schema leaves undocumented.

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 description coverage is only 11% (only idempotency_key is annotated), so the description carries most of the burden and mostly does: it explains conversationId vs clientId targeting, the channel/subject/recipient/replyToEmailId interaction, and whyNote's meaning as the line shown above the draft. The required `body` field and the id/key formats and length limits are left to the schema, which is a minor gap given how well the branching parameters are covered.

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 ('saves a message as a draft in a conversation's draft box') and immediately disambiguates the two modes: email reply vs text, driven by channel/subject/recipient/replyToEmailId. It also names the sibling create_draft and the exact condition under which that one is equivalent (plain text drafts), so an agent can tell them apart without opening either schema.

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?

Gives explicit routing rules: use conversationId, or clientId to target that contact's single conversation; use channel 'email' with a subject and a picked recipient or replyToEmailId for an email reply, otherwise it is a text. It names the alternative tool and its selection condition, so nothing about tool choice is left to inference.

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