Skip to main content
Glama

Send outreach emails

exim__email__send
Destructive

Sends outreach emails to the companies in a collection. Without confirm it returns a preview only; with confirm it runs signature, sender-domain and OFAC SDN checks and sends.

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": {
      "brief": "<brief>",
      "collectionId": "<collectionId>",
      "senderName": "<senderName>"
    },
    "name": "exim__email__send"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccMeNoCC the sender on each outbound
briefYesOutreach brief — what to mention, tone, ask
dryRunNoExplicit preview alias. Equivalent to omitting confirm — generates drafts without sending.
confirmNoRequired to actually flush emails. WITHOUT confirm this is always a safe preview (no send), even without dryRun. The pre-send sanity guard runs only when confirm is set.
profileNoSaved ideal-profile name; when set, each draft references the observed fit (matched attributes) to personalize the opening
regenerateNoRedraft fresh copy on send instead of flushing the exact drafts produced by the last `email draft` preview. Default false — send flushes the approved preview so sent copy matches what was reviewed.
senderNameYesSender display name
senderEmailNoFrom email (must be operator-owned domain)
collectionIdYesCollection name or id
trackingEnabledNoEnable open/click tracking
includeLowConfidenceNoInclude low-confidence recipient emails (role aliases info@/sales@, no-reply, single-letter local, image-filename addresses). Default false — these are auto-pruned and counted in stats.autoPruned.

Output Schema

NameRequiredDescriptionDefault
dataYes
statsNo
_debugNo
summaryYes
warningsNo
nextActionsYes
correlationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / brief / pattern
      Previous value: -"[^\\t\\n\\v\\f\\r\\x85\\p{Z}]"New value: +"[^\\t\\n\\v\\f\\r\\x85    - 

   ]"
    • changedInput schema / properties / collectionId / pattern
      Previous value: -"[^\\t\\n\\v\\f\\r\\x85\\p{Z}]"New value: +"[^\\t\\n\\v\\f\\r\\x85    - 

   ]"
    • changedInput schema / properties / senderEmail / pattern
      Previous value: -"[^\\t\\n\\v\\f\\r\\x85\\p{Z}]"New value: +"[^\\t\\n\\v\\f\\r\\x85    - 

   ]"
  2. Changed3 schema fields changed
    • addedOutput schema / properties / data / properties / context / anyOf
      Added value: +[
      +  {
      +    "type": [
      +      "null",
      +      "boolean",
      +      "number",
      +      "string",
      +      "array",
      +      "object"
      +    ]
      +  },
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "referenced": {
      +        "type": "boolean"
      +      },
      +      "rowCount": {
      +        "type": "integer"
      +      },
      +      "url": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "referenced",
      +      "rowCount",
      +      "url"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties / data / properties / context / type
      Removed value: -[
      -  "null",
      -  "boolean",
      -  "number",
      -  "string",
      -  "array",
      -  "object"
      -]
    • changedOutput schema / properties / data / properties / items / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "$ref": "#/$defs/value0"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/$defs/value0"
      +        },
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "exportUrl": {
      +              "type": "string"
      +            },
      +            "payloadBytes": {
      +              "type": "integer"
      +            },
      +            "rowCount": {
      +              "type": "integer"
      +            },
      +            "token": {
      +              "type": "string"
      +            },
      +            "url": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "exportUrl",
      +            "payloadBytes",
      +            "rowCount",
      +            "token",
      +            "url"
      +          ],
      +          "type": "object"
      +        }
      +      ]
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  3. Changed2 schema fields changed
    • changedInput schema / properties / confirm / description
      Previous value: -"Required to actually flush emails. WITHOUT --confirm this is always a safe preview (no send), even without --dryRun. The pre-send sanity guard runs only when --confirm is set."New value: +"Required to actually flush emails. WITHOUT confirm this is always a safe preview (no send), even without dryRun. The pre-send sanity guard runs only when confirm is set."
    • changedInput schema / properties / dryRun / description
      Previous value: -"Explicit preview alias. Equivalent to omitting --confirm — generates drafts without sending."New value: +"Explicit preview alias. Equivalent to omitting confirm — generates drafts without sending."
  4. Changed2 schema fields changed
    • changedInput schema / properties / confirm / description
      Previous value: -"Required to actually flush emails. WITHOUT confirm this is always a safe preview (no send), even without dryRun. The pre-send sanity guard runs only when confirm is set."New value: +"Required to actually flush emails. WITHOUT --confirm this is always a safe preview (no send), even without --dryRun. The pre-send sanity guard runs only when --confirm is set."
    • changedInput schema / properties / dryRun / description
      Previous value: -"Explicit preview alias. Equivalent to omitting confirm — generates drafts without sending."New value: +"Explicit preview alias. Equivalent to omitting --confirm — generates drafts without sending."
  5. Changed2 schema fields changed
    • changedInput schema / properties / confirm / description
      Previous value: -"Required to actually flush emails. WITHOUT --confirm this is always a safe preview (no send), even without --dryRun. The pre-send sanity guard runs only when --confirm is set."New value: +"Required to actually flush emails. WITHOUT confirm this is always a safe preview (no send), even without dryRun. The pre-send sanity guard runs only when confirm is set."
    • changedInput schema / properties / dryRun / description
      Previous value: -"Explicit preview alias. Equivalent to omitting --confirm — generates drafts without sending."New value: +"Explicit preview alias. Equivalent to omitting confirm — generates drafts without sending."
  6. Changed25 schema fields changed
    • addedInput schema / not
      Added value: +{
      +  "anyOf": [
      +    {
      +      "not": {
      +        "if": {
      +          "allOf": [
      +            {
      +              "properties": {
      +                "confirm": {
      +                  "anyOf": [
      +                    {
      +                      "const": true
      +                    },
      +                    {
      +                      "pattern": "^\\s*([Tt][Rr][Uu][Ee]|1)\\s*$",
      +                      "type": "string"
      +                    }
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "confirm"
      +              ]
      +            },
      +            {
      +              "not": {
      +                "properties": {
      +                  "dryRun": {
      +                    "anyOf": [
      +                      {
      +                        "const": true
      +                      },
      +                      {
      +                        "pattern": "^\\s*([Tt][Rr][Uu][Ee]|1)\\s*$",
      +                        "type": "string"
      +                      }
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "dryRun"
      +                ]
      +              }
      +            }
      +          ]
      +        },
      +        "then": {
      +          "anyOf": [
      +            {
      +              "properties": {
      +                "senderEmail": {
      +                  "minLength": 1,
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "senderEmail"
      +              ]
      +            }
      +          ]
      +        }
      +      }
      +    }
      +  ]
      +}
    • removedInput schema / properties / --brief
      Removed value: -{
      -  "description": "Outreach brief — what to mention, tone, ask",
      -  "pattern": "[^\\t\\n\\v\\f\\r\\x85\\p{Z}]",
      -  "type": "string"
      -}
    • removedInput schema / properties / --ccMe
      Removed value: -{
      -  "description": "CC the sender on each outbound",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / --collectionId
      Removed value: -{
      -  "description": "Collection name or id",
      -  "pattern": "[^\\t\\n\\v\\f\\r\\x85\\p{Z}]",
      -  "type": "string"
      -}
    • removedInput schema / properties / --confirm
      Removed value: -{
      -  "description": "Required to actually flush emails. WITHOUT --confirm this is always a safe preview (no send), even without --dryRun. The pre-send sanity guard runs only when --confirm is set.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / --dryRun
      Removed value: -{
      -  "description": "Explicit preview alias. Equivalent to omitting --confirm — generates drafts without sending.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / --includeLowConfidence
      Removed value: -{
      -  "description": "Include low-confidence recipient emails (role aliases info@/sales@, no-reply, single-letter local, image-filename addresses). Default false — these are auto-pruned and counted in stats.autoPruned.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / --profile
      Removed value: -{
      -  "description": "Saved ideal-profile name; when set, each draft references the observed fit (matched attributes) to personalize the opening",
      -  "type": "string"
      -}
    • removedInput schema / properties / --regenerate
      Removed value: -{
      -  "description": "Redraft fresh copy on send instead of flushing the exact drafts produced by the last `email draft` preview. Default false — send flushes the approved preview so sent copy matches what was reviewed.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / --senderEmail
      Removed value: -{
      -  "description": "From email (must be operator-owned domain)",
      -  "pattern": "[^\\t\\n\\v\\f\\r\\x85\\p{Z}]",
      -  "type": "string"
      -}
    • removedInput schema / properties / --senderName
      Removed value: -{
      -  "description": "Sender display name",
      -  "type": "string"
      -}
    • removedInput schema / properties / --trackingEnabled
      Removed value: -{
      -  "description": "Enable open/click tracking",
      -  "type": "boolean"
      -}
    • addedInput schema / properties / brief
      Added value: +{
      +  "description": "Outreach brief — what to mention, tone, ask",
      +  "maxLength": 100000,
      +  "pattern": "[^\\t\\n\\v\\f\\r\\x85\\p{Z}]",
      +  "type": "string"
      +}
    • addedInput schema / properties / ccMe
      Added value: +{
      +  "description": "CC the sender on each outbound",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / collectionId
      Added value: +{
      +  "description": "Collection name or id",
      +  "format": "uuid",
      +  "maxLength": 8000,
      +  "pattern": "[^\\t\\n\\v\\f\\r\\x85\\p{Z}]",
      +  "type": "string"
      +}
    • addedInput schema / properties / confirm
      Added value: +{
      +  "description": "Required to actually flush emails. WITHOUT --confirm this is always a safe preview (no send), even without --dryRun. The pre-send sanity guard runs only when --confirm is set.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / dryRun
      Added value: +{
      +  "description": "Explicit preview alias. Equivalent to omitting --confirm — generates drafts without sending.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / includeLowConfidence
      Added value: +{
      +  "description": "Include low-confidence recipient emails (role aliases info@/sales@, no-reply, single-letter local, image-filename addresses). Default false — these are auto-pruned and counted in stats.autoPruned.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / profile
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 120,
      +      "type": "string"
      +    },
      +    {
      +      "type": [
      +        "null",
      +        "boolean",
      +        "number",
      +        "string",
      +        "array",
      +        "object"
      +      ]
      +    }
      +  ],
      +  "contentSchema": {
      +    "type": [
      +      "null",
      +      "boolean",
      +      "number",
      +      "string",
      +      "array",
      +      "object"
      +    ]
      +  },
      +  "description": "Saved ideal-profile name; when set, each draft references the observed fit (matched attributes) to personalize the opening"
      +}
    • addedInput schema / properties / regenerate
      Added value: +{
      +  "description": "Redraft fresh copy on send instead of flushing the exact drafts produced by the last `email draft` preview. Default false — send flushes the approved preview so sent copy matches what was reviewed.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / senderEmail
      Added value: +{
      +  "description": "From email (must be operator-owned domain)",
      +  "format": "mail-address",
      +  "maxLength": 8000,
      +  "pattern": "[^\\t\\n\\v\\f\\r\\x85\\p{Z}]",
      +  "type": "string"
      +}
    • addedInput schema / properties / senderName
      Added value: +{
      +  "description": "Sender display name",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • addedInput schema / properties / trackingEnabled
      Added value: +{
      +  "description": "Enable open/click tracking",
      +  "type": "boolean"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "--brief",
      -  "--collectionId",
      -  "--senderName"
      -]New value: +[
      +  "brief",
      +  "collectionId",
      +  "senderName"
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "value0": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "body": {
      +          "type": "string"
      +        },
      +        "recipientCompany": {
      +          "type": "string"
      +        },
      +        "recipientCompanyId": {
      +          "anyOf": [
      +            {
      +              "format": "uuid",
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "recipientCountry": {
      +          "type": "string"
      +        },
      +        "recipientLanguage": {
      +          "type": "string"
      +        },
      +        "recipientName": {
      +          "type": "string"
      +        },
      +        "recipientTimezone": {
      +          "type": "string"
      +        },
      +        "recipientTitle": {
      +          "type": "string"
      +        },
      +        "subject": {
      +          "type": "string"
      +        },
      +        "toEmail": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "body",
      +        "recipientCompany",
      +        "recipientName",
      +        "recipientTitle",
      +        "subject",
      +        "toEmail"
      +      ],
      +      "type": "object"
      +    },
      +    "value1": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": [
      +              "null",
      +              "boolean",
      +              "number",
      +              "string",
      +              "array",
      +              "object"
      +            ]
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value2": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/value3"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value3": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "command": {
      +          "type": "string"
      +        },
      +        "cost": {
      +          "type": "string"
      +        },
      +        "label": {
      +          "type": "string"
      +        },
      +        "rationale": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "command",
      +        "cost",
      +        "label",
      +        "rationale"
      +      ],
      +      "type": "object"
      +    },
      +    "value4": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {
      +            "type": "number"
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value5": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/value6"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value6": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "code": {
      +          "type": "string"
      +        },
      +        "message": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "code",
      +        "message"
      +      ],
      +      "type": "object"
      +    },
      +    "value7": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {
      +            "type": [
      +              "null",
      +              "boolean",
      +              "number",
      +              "string",
      +              "array",
      +              "object"
      +            ]
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "additionalProperties": false,
      +  "properties": {
      +    "_debug": {
      +      "$ref": "#/$defs/value7"
      +    },
      +    "correlationId": {
      +      "type": "string"
      +    },
      +    "data": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "context": {
      +          "type": [
      +            "null",
      +            "boolean",
      +            "number",
      +            "string",
      +            "array",
      +            "object"
      +          ]
      +        },
      +        "cursor": {
      +          "type": "string"
      +        },
      +        "has_more": {
      +          "type": "boolean"
      +        },
      +        "items": {
      +          "anyOf": [
      +            {
      +              "items": {
      +                "$ref": "#/$defs/value0"
      +              },
      +              "type": "array"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "required": [
      +        "context",
      +        "has_more",
      +        "items"
      +      ],
      +      "type": "object"
      +    },
      +    "nextActions": {
      +      "$ref": "#/$defs/value2"
      +    },
      +    "stats": {
      +      "$ref": "#/$defs/value4"
      +    },
      +    "summary": {
      +      "type": "string"
      +    },
      +    "warnings": {
      +      "$ref": "#/$defs/value5"
      +    }
      +  },
      +  "required": [
      +    "data",
      +    "nextActions",
      +    "summary"
      +  ],
      +  "type": "object"
      +}
  7. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, openWorldHint=true and non-idempotent, so the risk profile is known; the description adds valuable context beyond them by explaining the safe-preview default and enumerating the pre-send gates (signature, sender-domain, OFAC SDN). It does not cover failure behavior when a check fails, or how existing reviewed drafts are flushed versus regenerated.

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?

Two sentences, both front-loaded with the highest-value facts (what it sends, then the preview-vs-send split). No filler, no repetition of the title.

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?

An output schema exists, so return values and stats need not be explained. For an 11-parameter, destructive, outward-facing tool the description covers the critical safety contract, but omitting the relationship to the draft tool and the 'regenerate' flush semantics leaves a minor gap.

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 100%, so all 11 parameters including 'confirm', 'dryRun' and 'regenerate' are already documented in the schema. The description only restates the confirm preview/send split, adding no new syntax or format meaning, so the baseline of 3 applies.

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 specific verb and resource ('Sends outreach emails') and scopes it to 'the companies in a collection', so the agent knows exactly what domain object is acted on. It stops short of naming or contrasting the sibling draft tool, which is the most natural point of confusion given the built-in preview mode.

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

Usage Guidelines4/5

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

It gives an explicit conditional: omit 'confirm' for a preview, set it to actually send with compliance checks. That is clear when-to-send guidance, but it offers no exclusions or alternatives (e.g. use the draft tool to iterate before sending), leaving the send-vs-draft decision 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.