Skip to main content
Glama
Roundcube MCP

Roundcube MCP

by SK108045

update_draft

Replaces an existing email draft by saving the revised message, then moves the outdated draft to Trash.

Instructions

Save a replacement draft, then attempt to move the old draft to Trash.

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": {
      "uid": "<uid>",
      "to": "<to>",
      "subject": "<subject>",
      "text_body": "<text_body>"
    },
    "name": "update_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNo
toYes
bccNo
uidYes
subjectYes
html_bodyNo
text_bodyYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose one genuinely non-obvious trait: the operation is a two-step, non-atomic create-then-trash, with 'attempt to' flagging best-effort cleanup. It omits what the replacement loses (attachments, folder placement, threading headers, and whether the draft gets a new uid) and whether a failed trash raises an error.

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 sequencing ('then') is accurate and useful. It is tight, but the brevity reflects under-specification for a seven-parameter mutation rather than economy of rich information.

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

Completeness2/5

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

An output schema exists, so return values need not be explained, but everything else is thin: seven undocumented parameters, no permissions or failure semantics, and no statement about what a replacement draft discards. For a destructive-adjacent mutation with a same-name sibling (create_draft), one sentence is not sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across seven parameters, so the description must compensate and it largely does not. The only hint is 'the old draft,' which weakly implies uid refers to the pre-existing draft rather than the new one, while to/subject/text_body/cc/bcc/html_body and the attachment-dropping behavior go unmentioned.

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 states a concrete verb and resource ('Save a replacement draft') plus the follow-on action on the original ('move the old draft to Trash'), which is enough for an agent to distinguish it from create_draft or delete_draft. It stops short of naming a sibling explicitly, so it is clear rather than differentiating.

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

Usage Guidelines3/5

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

Usage is only implied: the phrase 'replacement draft' and 'the old draft' signal this is for revising an existing draft identified by uid, rather than creating a new one. There is no explicit when-to-use/when-not guidance and no pointer to create_draft for the initial composition case.

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