Skip to main content
Glama
orieg

orieg/gws-connector

gws.mail.create_draft

Create an email draft with plain text or HTML body, setting recipients, subject, and reply thread. Supports CC/BCC and multiple accounts.

Instructions

Create an email draft. Supports plain text and HTML bodies.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ccNoCC recipients, comma-separated
toNoRecipient email(s), comma-separated
bccNoBCC recipients, comma-separated
bodyYesEmail body (plain text or HTML)
accountNoAccount label or email. Uses default if omitted.
subjectNoEmail subject
threadIdNoThread ID for reply drafts
contentTypeNoBody content type: 'text/plain' or 'text/html' (auto-detected if omitted)
Behavior3/5

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

Annotations already indicate a non-read-only, non-destructive, non-idempotent operation. The description adds that plain text and HTML bodies are supported, but does not disclose auto-detection behavior, draft persistence, or return value details. This is adequate given the annotations, but not particularly rich.

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?

A single sentence that leads with the action and includes only essential supporting detail about body formats. No wasted words; very efficient.

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?

With 8 parameters and no output schema, the description provides basic purpose but omits context on return values, default account behavior, and contentType auto-detection. It is sufficient for a straightforward invocation but leaves some ambiguity for a complex tool.

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 coverage is 100% with well-described parameters. The description's mention of plain text and HTML bodies maps directly to the contentType and body parameters, adding minimal value beyond the schema.

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 uses a specific verb and resource: 'Create an email draft.' It clearly distinguishes from sibling tools like send_draft and modify_message by focusing on the creation of a draft rather than sending or modifying.

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?

The description implies usage for composing emails, but it does not explicitly state when to use this tool over alternatives such as send_draft or read_message. No exclusions or alternative recommendations are provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/orieg/gws-connector'

If you have feedback or need assistance with the MCP directory API, please join our Discord server