Skip to main content
Glama

update_action_draft

Destructive

Edit a single action's draft (e.g. its message, subject or recipient) by id, before it is sent. This tool sends nothing, and no edited draft goes out on its own: an email send_message draft is sent only when someone explicitly sends the action, with send_action_email or the Send button in the FuseAI app; FuseAI does not send LinkedIn message or connection drafts from an action; and an approve_reply action's config only links to the campaign's AI reply draft (campaignId, messageId, channel), so editing it does not change that reply. Saving a config also marks the action's open task as started. config replaces the action's whole stored config instead of merging into it: start from the config get_action_detail returns and send it back complete with your changes (message under config.content.subject / config.content.body, recipient under config.recipient); any field you leave out is removed. Changing config.recipient changes who send_action_email will email. The only other editable field is isSystemGenerated, a label marking the action as created by FuseAI (true, the default) or by a person (false). Nothing in FuseAI acts on this label, so a call that changes only isSystemGenerated sends nothing and leaves the draft and the task unchanged.

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": "update_action_draft"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, openWorldHint=false, and the description goes well beyond them: it warns that config replaces the entire stored config rather than merging (so omitted fields are removed), discloses the side effect that saving marks the action's open task as started, and notes that an isSystemGenerated-only call changes nothing observable. These are precisely the consequences an agent needs before invoking a destructive mutation.

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?

The critical constraint — nothing is sent, and config is replaced wholesale — is front-loaded, and nearly every clause earns its place. The weakness is form: the remainder is one dense run-on sentence chaining four separate exceptions and the config semantics together, which would read better as short bullets.

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 3-parameter destructive mutation with a nested untyped config and no output schema, the description covers what changes, what is destroyed, what side effects fire, and what explicitly will not happen. There is no material gap an agent would need filled before calling it.

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

Parameters5/5

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

Schema coverage is only 33% and config is an empty untyped object, so the description carries the burden — and does: it names config.content.subject, config.content.body, config.recipient, explains the replace-not-merge contract and that recipient changes who send_action_email targets, and defines isSystemGenerated with its default and its lack of effect. It also reinforces that actionId is the 24-character Mongo id, not the actionFeedId.

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 opening sentence gives a specific verb (Edit), a specific resource (a single action's draft), examples of editable content (message, subject, recipient), and the identifying key (by id). It also positions the operation in time ('before it is sent'), which distinguishes it from send_action_email and from read tools like get_action_detail.

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?

Explicitly states when this applies and when it does not: nothing is sent, an email draft only goes out via send_action_email or the app's Send button, LinkedIn message/connection drafts are never sent from an action, and editing an approve_reply action's config does not modify the campaign reply draft. That is a genuine when/when-not map including named alternatives.

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.