Skip to main content
Glama

send_action_email

Destructive

Execute (send) a single suggested action from the Smart Actions feed, by its id. Sends the action's drafted email to its recipient from the action owner's connected Gmail, Outlook or SMTP mailbox (a teammate's, if the action is theirs), which cannot be undone, then marks the feed item and its linked task completed: in a chat with the user, execute only an action whose message they have seen and agreed to send. Only email send_message actions can be sent (LinkedIn message and connection actions return INVALID_CHANNEL_FOR_SEND), and an action whose recipient email has not been found yet must go through enrich_action first. A sent email can start the user's automations that trigger on emails sent to a contact. If the provider rate-limits the mailbox or rejects its credentials, FuseAI switches the mailbox off or disconnects it and notifies its owner; campaign steps that send from it are paused until it is turned back on or reconnected.

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": {
      "actionId": "<actionId>"
    },
    "name": "send_action_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionIdYesThe action id (24-character Mongo id) — NOT the actionFeedId. Feed items surface it as `actionId`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, and the description adds substantial context beyond them: the email is sent from the action owner's connected mailbox (a teammate's if the action is theirs), the send cannot be undone, the feed item and linked task are marked completed, and the send can trigger the user's email-based automations. It even discloses provider failure behavior — mailbox switched off or disconnected and campaign steps paused — which an agent could not infer from the schema.

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?

Front-loaded with the action verb and resource, then layered: constraints, prerequisites, side effects, failure modes. Dense but every sentence carries operational meaning; the long rate-limit sentence is verbose yet conveys behavior the agent cannot get elsewhere.

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

Completeness5/5

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

For a single-parameter destructive action with no output schema, the definition covers the full picture: identity of the mailbox, irreversibility, downstream state changes, permission/prequisite gating, and specific error conditions. Nothing an agent needs to call it safely is missing.

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% and the schema itself already explains that actionId is a 24-character Mongo id, not the actionFeedId. The description only echoes 'by its id', adding no format or sourcing detail beyond what the schema provides, so the baseline of 3 applies.

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 opens with a specific verb and resource: 'Execute (send) a single suggested action from the Smart Actions feed, by its id.' It immediately distinguishes this from sibling tools by scoping to email send_message actions and naming enrich_action as the prerequisite path for actions without a recipient email.

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?

Explicit when-to-use conditions are given ('in a chat with the user, execute only an action whose message they have seen and agreed to send'), plus hard exclusions (LinkedIn message/connection actions fail with INVALID_CHANNEL_FOR_SEND) and a prerequisite routing rule (use enrich_action first when recipient email is missing). This is close to complete routing guidance.

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.