Skip to main content
Glama

Fluxmail Cloud

Preview send

preview_send
Read-only

Show the resolved sender, recipients, subject and attachments without sending mail. It also checks the recipients, the sender and attachment limits. Cloud limits bodyText and bodyHtml to 32,768 characters each and attachments to 30 per draft.

Input Schema

NameRequiredDescriptionDefault
ccNoRecipients, each "Name <a@x.com>" or "a@x.com"
toNoRecipients, each "Name <a@x.com>" or "a@x.com"
bccNoRecipients, each "Name <a@x.com>" or "a@x.com"
fromNoConnected address or an available send-as address
draftIdNo
subjectNoDefaults to "Re: ..." when replying
bodyHtmlNoHTML body
bodyTextNoPlain-text body. Line breaks appear in the sent email. Keep each prose paragraph on one continuous line and separate paragraphs with blank lines.
replyAllNoWith replyToMessageId: reply to all original recipients
accountIdNoAccount to operate on. Optional when exactly one account is connected.
attachmentsNo
replyToMessageIdNoMessage being replied to; threads correctly and computes recipients if "to" is omitted

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "accountId": {
      +          "type": "string"
      +        },
      +        "attachments": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "filename": {
      +                "type": "string"
      +              },
      +              "mimeType": {
      +                "type": "string"
      +              },
      +              "sizeBytes": {
      +                "type": "number"
      +              }
      +            },
      +            "required": [
      +              "filename",
      +              "mimeType",
      +              "sizeBytes"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "bcc": {
      +          "items": {
      +            "additionalProperties": true,
      +            "properties": {
      +              "email": {
      +                "type": "string"
      +              },
      +              "name": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "email"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "bodyHtmlChars": {
      +          "type": "number"
      +        },
      +        "bodyTextChars": {
      +          "type": "number"
      +        },
      +        "cc": {
      +          "items": {
      +            "additionalProperties": true,
      +            "properties": {
      +              "email": {
      +                "type": "string"
      +              },
      +              "name": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "email"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "from": {
      +          "type": "string"
      +        },
      +        "subject": {
      +          "type": "string"
      +        },
      +        "to": {
      +          "items": {
      +            "additionalProperties": true,
      +            "properties": {
      +              "email": {
      +                "type": "string"
      +              },
      +              "name": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "email"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "accountId",
      +        "from",
      +        "to",
      +        "cc",
      +        "bcc",
      +        "subject",
      +        "attachments",
      +        "bodyTextChars",
      +        "bodyHtmlChars"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "data"
      +  ],
      +  "type": "object"
      +}
  2. Changed9 schema fields changed
    • changedInput schema / properties / accountId / anyOf
      Previous value: -[
      -  {
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 512,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / attachments / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "content": {
      -          "description": "base64",
      -          "type": "string"
      -        },
      -        "contentId": {
      -          "description": "Content-ID for an inline image, referenced from bodyHtml as cid:<contentId>",
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "disposition": {
      -          "description": "Defaults to attachment",
      -          "enum": [
      -            "inline",
      -            "attachment"
      -          ],
      -          "type": "string"
      -        },
      -        "filename": {
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "mimeType": {
      -          "minLength": 1,
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "filename",
      -        "mimeType",
      -        "content"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "content": {
      +          "description": "base64",
      +          "type": "string"
      +        },
      +        "contentId": {
      +          "description": "Content-ID for an inline image, referenced from bodyHtml as cid:<contentId>",
      +          "maxLength": 255,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "disposition": {
      +          "description": "Defaults to attachment",
      +          "enum": [
      +            "inline",
      +            "attachment"
      +          ],
      +          "type": "string"
      +        },
      +        "filename": {
      +          "maxLength": 255,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "mimeType": {
      +          "maxLength": 255,
      +          "minLength": 1,
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "filename",
      +        "mimeType",
      +        "content"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / bcc / anyOf
      Previous value: -[
      -  {
      -    "description": "Recipients, each \"Name <a@x.com>\" or \"a@x.com\"",
      -    "items": {
      -      "minLength": 1,
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "Recipients, each \"Name <a@x.com>\" or \"a@x.com\"",
      +    "items": {
      +      "maxLength": 512,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "maxItems": 100,
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / cc / anyOf
      Previous value: -[
      -  {
      -    "description": "Recipients, each \"Name <a@x.com>\" or \"a@x.com\"",
      -    "items": {
      -      "minLength": 1,
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "Recipients, each \"Name <a@x.com>\" or \"a@x.com\"",
      +    "items": {
      +      "maxLength": 512,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "maxItems": 100,
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / draftId / anyOf
      Previous value: -[
      -  {
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 512,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / replyToMessageId / anyOf
      Previous value: -[
      -  {
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 512,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / subject / anyOf
      Added value: +[
      +  {
      +    "maxLength": 998,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / subject / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
    • changedInput schema / properties / to / anyOf
      Previous value: -[
      -  {
      -    "description": "Recipients, each \"Name <a@x.com>\" or \"a@x.com\"",
      -    "items": {
      -      "minLength": 1,
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "Recipients, each \"Name <a@x.com>\" or \"a@x.com\"",
      +    "items": {
      +      "maxLength": 512,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "maxItems": 100,
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  3. Changed47 schema fields changed
    • changedInput schema / $schema
      Previous value: -"https://json-schema.org/draft/2020-12/schema"New value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / properties / accountId / anyOf
      Added value: +[
      +  {
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / accountId / description
      Added value: +"Account to operate on. Optional when exactly one account is connected."
    • removedInput schema / properties / accountId / maxLength
      Removed value: -512
    • removedInput schema / properties / accountId / minLength
      Removed value: -1
    • removedInput schema / properties / accountId / type
      Removed value: -"string"
    • addedInput schema / properties / attachments / anyOf
      Added value: +[
      +  {
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "content": {
      +          "description": "base64",
      +          "type": "string"
      +        },
      +        "contentId": {
      +          "description": "Content-ID for an inline image, referenced from bodyHtml as cid:<contentId>",
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "disposition": {
      +          "description": "Defaults to attachment",
      +          "enum": [
      +            "inline",
      +            "attachment"
      +          ],
      +          "type": "string"
      +        },
      +        "filename": {
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "mimeType": {
      +          "minLength": 1,
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "filename",
      +        "mimeType",
      +        "content"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / attachments / items
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "content": {
      -      "type": "string"
      -    },
      -    "contentId": {
      -      "maxLength": 255,
      -      "type": "string"
      -    },
      -    "disposition": {
      -      "enum": [
      -        "inline",
      -        "attachment"
      -      ],
      -      "type": "string"
      -    },
      -    "filename": {
      -      "maxLength": 255,
      -      "minLength": 1,
      -      "type": "string"
      -    },
      -    "mimeType": {
      -      "maxLength": 255,
      -      "minLength": 1,
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "filename",
      -    "mimeType",
      -    "content"
      -  ],
      -  "type": "object"
      -}
    • removedInput schema / properties / attachments / maxItems
      Removed value: -30
    • removedInput schema / properties / attachments / type
      Removed value: -"array"
    • addedInput schema / properties / bcc / anyOf
      Added value: +[
      +  {
      +    "description": "Recipients, each \"Name <a@x.com>\" or \"a@x.com\"",
      +    "items": {
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / bcc / description
      Added value: +"Recipients, each \"Name <a@x.com>\" or \"a@x.com\""
    • removedInput schema / properties / bcc / items
      Removed value: -{
      -  "maxLength": 512,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • removedInput schema / properties / bcc / maxItems
      Removed value: -100
    • removedInput schema / properties / bcc / type
      Removed value: -"array"
    • addedInput schema / properties / bodyHtml / description
      Added value: +"HTML body"
    • removedInput schema / properties / bodyHtml / maxLength
      Removed value: -32768
    • changedInput schema / properties / bodyHtml / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • addedInput schema / properties / bodyText / description
      Added value: +"Plain-text body. Line breaks appear in the sent email. Keep each prose paragraph on one continuous line and separate paragraphs with blank lines."
    • removedInput schema / properties / bodyText / maxLength
      Removed value: -32768
    • changedInput schema / properties / bodyText / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • addedInput schema / properties / cc / anyOf
      Added value: +[
      +  {
      +    "description": "Recipients, each \"Name <a@x.com>\" or \"a@x.com\"",
      +    "items": {
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / cc / description
      Added value: +"Recipients, each \"Name <a@x.com>\" or \"a@x.com\""
    • removedInput schema / properties / cc / items
      Removed value: -{
      -  "maxLength": 512,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • removedInput schema / properties / cc / maxItems
      Removed value: -100
    • removedInput schema / properties / cc / type
      Removed value: -"array"
    • addedInput schema / properties / draftId
      Added value: +{
      +  "anyOf": [
      +    {
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedInput schema / properties / from / anyOf
      Added value: +[
      +  {
      +    "format": "email",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / from / description
      Added value: +"Connected address or an available send-as address"
    • removedInput schema / properties / from / format
      Removed value: -"email"
    • removedInput schema / properties / from / pattern
      Removed value: -"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
    • removedInput schema / properties / from / type
      Removed value: -"string"
    • addedInput schema / properties / replyAll / description
      Added value: +"With replyToMessageId: reply to all original recipients"
    • changedInput schema / properties / replyAll / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
    • addedInput schema / properties / replyToMessageId / anyOf
      Added value: +[
      +  {
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / replyToMessageId / description
      Added value: +"Message being replied to; threads correctly and computes recipients if \"to\" is omitted"
    • removedInput schema / properties / replyToMessageId / maxLength
      Removed value: -512
    • removedInput schema / properties / replyToMessageId / minLength
      Removed value: -1
    • removedInput schema / properties / replyToMessageId / type
      Removed value: -"string"
    • addedInput schema / properties / subject / description
      Added value: +"Defaults to \"Re: ...\" when replying"
    • removedInput schema / properties / subject / maxLength
      Removed value: -998
    • changedInput schema / properties / subject / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • addedInput schema / properties / to / anyOf
      Added value: +[
      +  {
      +    "description": "Recipients, each \"Name <a@x.com>\" or \"a@x.com\"",
      +    "items": {
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / to / description
      Added value: +"Recipients, each \"Name <a@x.com>\" or \"a@x.com\""
    • removedInput schema / properties / to / items
      Removed value: -{
      -  "maxLength": 512,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • removedInput schema / properties / to / maxItems
      Removed value: -100
    • removedInput schema / properties / to / type
      Removed value: -"array"
  4. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  5. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds useful behavioral context by stating that it performs recipient/sender/attachment checks and enforces cloud body and attachment limits, though it does not detail error behavior or return shape.

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 three compact sentences with no wasted text. The core behavior and key validation limits are front-loaded, making it easy to scan.

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?

The tool is complex with 12 parameters, but an output schema exists and annotations cover safety. The description covers purpose and important limits, though it omits explanation of draftId vs direct fields and reply-related parameters, leaving some gaps for a preview tool with multiple input modes.

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 high at 83%, so the baseline is 3. The description earns an extra point by adding concrete constraints not present in the schema: bodyText and bodyHtml are limited to 32,768 characters each, and drafts support up to 30 attachments.

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 gives a clear verb and resources: it shows the resolved sender, recipients, subject and attachments without sending mail. The 'without sending mail' clause distinguishes it from send_email, but it does not explicitly differentiate from draft-related siblings such as create_draft or update_draft.

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 implied: the tool is for previewing and validating a message before sending. However, the description does not explicitly say when to use this instead of send_email, create_draft, or update_draft, nor does it state when not to use it.

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