Skip to main content
Glama
@omnidim-ai/mcp-server

@omnidim-ai/mcp-server

by Omnidim

updatePostCallAction

Destructive

Update specific fields of an existing post-call action while leaving unsent fields unchanged. The action type stays fixed; change recipients, integrations, templates, or trigger statuses.

Instructions

Change fields of one post-call action. Fields you don't send keep their value. The type cannot change. (Tags: Agents)

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": {
      "agent_id": "<agent_id>",
      "action_id": "<action_id>"
    },
    "name": "updatePostCallAction"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo`webhook` only, required: the endpoint that receives a POST with the call payload.
typeNoThe channel. It cannot change after the action is created: delete it and add a new one. `google_sheets`, `slack`, `salesforce`, `hubspot` and `zoho_bigin` deliver through an account connected in the dashboard: pass its id as `integration_id` (see List integrations).
actionNo`salesforce` only: `upsert` finds the record by the caller's number and updates it or creates it. `create` creates a new record every call. Defaults to `create`.
includeNoWhich sections to include.
add_noteNo`salesforce` only: add the call summary as a note on the record. Defaults to false.
agent_idYesThe ID of the agent.
log_callNo`salesforce` only: log the call on the record, with the summary and recording link. Defaults to false.
action_idYesThe ID of the post-call action.
templatesNo`cloud_whatsapp` only: one or more templates to send.
channel_idNo`slack` only: the channel id. Send this or `channel_name`.
recipientsNo`email` only, required: the addresses to notify.
match_fieldNo`salesforce` only, with `upsert`: the phone field the caller's number is looked up in. Defaults to `Phone`.
object_nameNo`salesforce`: `Lead` (default), `Contact`, `Account`, `Opportunity`, `Case`, `Task` or `Product`. `hubspot`, required: `contact`, `company`, `deal` or `ticket`. Both send a fixed set of fields for the chosen object, so they take no `extracted_variables`.
template_idNo`cloud_whatsapp` only: an approved template on that number.
workflow_idNo`workflow` only, required: the workflow to run. It must have a published version, or the action is skipped.
channel_nameNo`slack` only: the channel name. Send this or `channel_id`.
create_contactNo`zoho_bigin` only: create a contact when no contact matches. Defaults to true.
integration_idNo`google_sheets`, `slack`, `salesforce`, `hubspot`, `zoho_bigin` only, required: the id of your integration of that type.
spreadsheet_idNo`google_sheets` only, required: the id in the sheet's URL, the part after `/d/`.
update_contactNo`zoho_bigin` only: update a matching contact with what the call captured. Defaults to true.
worksheet_nameNo`google_sheets` only: the tab to append to. Defaults to `Sheet1`.
create_call_logNo`zoho_bigin` only: log the call in Zoho Bigin. Defaults to true.
phone_number_idNo`cloud_whatsapp` only, required: your Cloud WhatsApp number the message is sent from. Also send `template_id` or `templates`, or nothing is sent.
spreadsheet_nameNo`google_sheets` only: the sheet's name, for display.
template_variablesNo`cloud_whatsapp` only: which extracted variable fills each template placeholder.
extracted_variablesNoVariables the model should pull out of the conversation. A key already used by another action on this agent must have the same prompt, or the request is refused with `400`. Other actions are never changed to match.
trigger_call_statusesNoCall outcomes that fire this action. Omit to use the default (`completed`, `voicemail_detected`).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed27 schema fields changedv0.22.0
    • addedInput schema / properties / action
      Added value: +{
      +  "description": "`salesforce` only: `upsert` finds the record by the caller's number\nand updates it or creates it. `create` creates a new record every\ncall. Defaults to `create`.\n",
      +  "enum": [
      +    "create",
      +    "upsert"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / add_note
      Added value: +{
      +  "description": "`salesforce` only: add the call summary as a note on the record. Defaults to false.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / channel_id
      Added value: +{
      +  "description": "`slack` only: the channel id. Send this or `channel_name`.",
      +  "type": "string"
      +}
    • addedInput schema / properties / channel_name
      Added value: +{
      +  "description": "`slack` only: the channel name. Send this or `channel_id`.",
      +  "type": "string"
      +}
    • addedInput schema / properties / create_call_log
      Added value: +{
      +  "description": "`zoho_bigin` only: log the call in Zoho Bigin. Defaults to true.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / create_contact
      Added value: +{
      +  "description": "`zoho_bigin` only: create a contact when no contact matches. Defaults to true.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / extracted_variables
      Added value: +{
      +  "description": "Variables the model should pull out of the conversation. A key\nalready used by another action on this agent must have the same\nprompt, or the request is refused with `400`. Other actions are\nnever changed to match.\n",
      +  "items": {
      +    "properties": {
      +      "key": {
      +        "description": "Unique identifier for the variable in the post-call payload.",
      +        "type": "string"
      +      },
      +      "prompt": {
      +        "description": "Instruction for the model on what to pull out of the conversation.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "prompt"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / include
      Added value: +{
      +  "description": "Which sections to include.",
      +  "items": {
      +    "enum": [
      +      "summary",
      +      "extracted_variables",
      +      "fullConversation",
      +      "sentiment"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / integration_id
      Added value: +{
      +  "description": "`google_sheets`, `slack`, `salesforce`, `hubspot`, `zoho_bigin`\nonly, required: the id of your integration of that type.\n",
      +  "type": "number"
      +}
    • addedInput schema / properties / log_call
      Added value: +{
      +  "description": "`salesforce` only: log the call on the record, with the summary and recording link. Defaults to false.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / match_field
      Added value: +{
      +  "description": "`salesforce` only, with `upsert`: the phone field the caller's number is looked up in. Defaults to `Phone`.",
      +  "type": "string"
      +}
    • addedInput schema / properties / object_name
      Added value: +{
      +  "description": "`salesforce`: `Lead` (default), `Contact`, `Account`,\n`Opportunity`, `Case`, `Task` or `Product`. `hubspot`, required:\n`contact`, `company`, `deal` or `ticket`. Both send a fixed set of\nfields for the chosen object, so they take no `extracted_variables`.\n",
      +  "type": "string"
      +}
    • addedInput schema / properties / phone_number_id
      Added value: +{
      +  "description": "`cloud_whatsapp` only, required: your Cloud WhatsApp number the message is sent from. Also send `template_id` or `templates`, or nothing is sent.",
      +  "type": "number"
      +}
    • addedInput schema / properties / recipients
      Added value: +{
      +  "description": "`email` only, required: the addresses to notify.",
      +  "items": {
      +    "format": "email",
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • removedInput schema / properties / requestBody
      Removed value: -{
      -  "description": "One post-call action. `type` picks the channel; send the fields of\nthat channel plus any of the shared ones. `type` is required when\nadding an action; an update sends only the fields it changes.\n",
      -  "properties": {
      -    "action": {
      -      "description": "`salesforce` only: `upsert` finds the record by the caller's number\nand updates it or creates it. `create` creates a new record every\ncall. Defaults to `create`.\n",
      -      "enum": [
      -        "create",
      -        "upsert"
      -      ],
      -      "type": "string"
      -    },
      -    "add_note": {
      -      "description": "`salesforce` only: add the call summary as a note on the record. Defaults to false.",
      -      "type": "boolean"
      -    },
      -    "channel_id": {
      -      "description": "`slack` only: the channel id. Send this or `channel_name`.",
      -      "type": "string"
      -    },
      -    "channel_name": {
      -      "description": "`slack` only: the channel name. Send this or `channel_id`.",
      -      "type": "string"
      -    },
      -    "create_call_log": {
      -      "description": "`zoho_bigin` only: log the call in Zoho Bigin. Defaults to true.",
      -      "type": "boolean"
      -    },
      -    "create_contact": {
      -      "description": "`zoho_bigin` only: create a contact when no contact matches. Defaults to true.",
      -      "type": "boolean"
      -    },
      -    "extracted_variables": {
      -      "description": "Variables the model should pull out of the conversation. A key\nalready used by another action on this agent must have the same\nprompt, or the request is refused with `400`. Other actions are\nnever changed to match.\n",
      -      "items": {
      -        "properties": {
      -          "key": {
      -            "description": "Unique identifier for the variable in the post-call payload.",
      -            "type": "string"
      -          },
      -          "prompt": {
      -            "description": "Instruction for the model on what to pull out of the conversation.",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "key",
      -          "prompt"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "include": {
      -      "description": "Which sections to include.",
      -      "items": {
      -        "enum": [
      -          "summary",
      -          "extracted_variables",
      -          "fullConversation",
      -          "sentiment"
      -        ],
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "integration_id": {
      -      "description": "`google_sheets`, `slack`, `salesforce`, `hubspot`, `zoho_bigin`\nonly, required: the id of your integration of that type.\n",
      -      "type": "number"
      -    },
      -    "log_call": {
      -      "description": "`salesforce` only: log the call on the record, with the summary and recording link. Defaults to false.",
      -      "type": "boolean"
      -    },
      -    "match_field": {
      -      "description": "`salesforce` only, with `upsert`: the phone field the caller's number is looked up in. Defaults to `Phone`.",
      -      "type": "string"
      -    },
      -    "object_name": {
      -      "description": "`salesforce`: `Lead` (default), `Contact`, `Account`,\n`Opportunity`, `Case`, `Task` or `Product`. `hubspot`, required:\n`contact`, `company`, `deal` or `ticket`. Both send a fixed set of\nfields for the chosen object, so they take no `extracted_variables`.\n",
      -      "type": "string"
      -    },
      -    "phone_number_id": {
      -      "description": "`cloud_whatsapp` only, required: your Cloud WhatsApp number the message is sent from. Also send `template_id` or `templates`, or nothing is sent.",
      -      "type": "number"
      -    },
      -    "recipients": {
      -      "description": "`email` only, required: the addresses to notify.",
      -      "items": {
      -        "format": "email",
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "spreadsheet_id": {
      -      "description": "`google_sheets` only, required: the id in the sheet's URL, the\npart after `/d/`.\n",
      -      "type": "string"
      -    },
      -    "spreadsheet_name": {
      -      "description": "`google_sheets` only: the sheet's name, for display.",
      -      "type": "string"
      -    },
      -    "template_id": {
      -      "description": "`cloud_whatsapp` only: an approved template on that number.",
      -      "type": "number"
      -    },
      -    "template_variables": {
      -      "description": "`cloud_whatsapp` only: which extracted variable fills each template placeholder.",
      -      "items": {
      -        "properties": {
      -          "extracted_var": {
      -            "description": "The key of the extracted variable whose value fills this placeholder.",
      -            "type": "string"
      -          },
      -          "index": {
      -            "description": "The placeholder number, as a string.",
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "templates": {
      -      "description": "`cloud_whatsapp` only: one or more templates to send.",
      -      "items": {
      -        "description": "One Cloud WhatsApp template to send after the call.",
      -        "properties": {
      -          "always_send": {
      -            "description": "Send this template after every call, whichever templates the model chooses.",
      -            "type": "boolean"
      -          },
      -          "template_id": {
      -            "description": "An approved template on the chosen number.",
      -            "type": "number"
      -          },
      -          "usage_description": {
      -            "description": "When this template should be sent. After the call, the model reads\nthese descriptions to choose which templates fit the conversation.\n",
      -            "type": "string"
      -          },
      -          "variable_mappings": {
      -            "description": "How to fill each template placeholder.",
      -            "items": {
      -              "properties": {
      -                "extracted_var": {
      -                  "description": "The extracted variable whose value fills this placeholder.",
      -                  "type": "string"
      -                },
      -                "fallback_value": {
      -                  "description": "The value to use when the variable is not extracted.",
      -                  "type": "string"
      -                },
      -                "index": {
      -                  "description": "The placeholder number, as a string.",
      -                  "type": "string"
      -                },
      -                "mode": {
      -                  "description": "Which input the dashboard shows for this placeholder. It\ndoes not change the value sent: a `static_value` is used\nfirst, then the extracted variable, then `fallback_value`.\n",
      -                  "enum": [
      -                    "variable",
      -                    "static"
      -                  ],
      -                  "type": "string"
      -                },
      -                "static_value": {
      -                  "description": "A fixed value for this placeholder. When set, it is used\ninstead of the extracted variable.\n",
      -                  "type": "string"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "trigger_call_statuses": {
      -      "description": "Call outcomes that fire this action. Omit to use the default\n(`completed`, `voicemail_detected`).\n",
      -      "items": {
      -        "enum": [
      -          "completed",
      -          "voicemail_detected",
      -          "failed",
      -          "no-answer",
      -          "busy",
      -          "canceled"
      -        ],
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "type": {
      -      "description": "The channel. It cannot change after the action is created:\ndelete it and add a new one. `google_sheets`, `slack`,\n`salesforce`, `hubspot` and `zoho_bigin` deliver through an\naccount connected in the dashboard: pass its id as\n`integration_id` (see List integrations).\n",
      -      "enum": [
      -        "email",
      -        "webhook",
      -        "omni_crm",
      -        "cloud_whatsapp",
      -        "workflow",
      -        "google_sheets",
      -        "slack",
      -        "salesforce",
      -        "hubspot",
      -        "zoho_bigin"
      -      ],
      -      "type": "string"
      -    },
      -    "update_contact": {
      -      "description": "`zoho_bigin` only: update a matching contact with what the call captured. Defaults to true.",
      -      "type": "boolean"
      -    },
      -    "url": {
      -      "description": "`webhook` only, required: the endpoint that receives a POST with the call payload.",
      -      "format": "uri",
      -      "type": "string"
      -    },
      -    "workflow_id": {
      -      "description": "`workflow` only, required: the workflow to run. It must have a published version, or the action is skipped.",
      -      "type": "number"
      -    },
      -    "worksheet_name": {
      -      "description": "`google_sheets` only: the tab to append to. Defaults to `Sheet1`.",
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
    • addedInput schema / properties / spreadsheet_id
      Added value: +{
      +  "description": "`google_sheets` only, required: the id in the sheet's URL, the\npart after `/d/`.\n",
      +  "type": "string"
      +}
    • addedInput schema / properties / spreadsheet_name
      Added value: +{
      +  "description": "`google_sheets` only: the sheet's name, for display.",
      +  "type": "string"
      +}
    • addedInput schema / properties / template_id
      Added value: +{
      +  "description": "`cloud_whatsapp` only: an approved template on that number.",
      +  "type": "number"
      +}
    • addedInput schema / properties / template_variables
      Added value: +{
      +  "description": "`cloud_whatsapp` only: which extracted variable fills each template placeholder.",
      +  "items": {
      +    "properties": {
      +      "extracted_var": {
      +        "description": "The key of the extracted variable whose value fills this placeholder.",
      +        "type": "string"
      +      },
      +      "index": {
      +        "description": "The placeholder number, as a string.",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / templates
      Added value: +{
      +  "description": "`cloud_whatsapp` only: one or more templates to send.",
      +  "items": {
      +    "description": "One Cloud WhatsApp template to send after the call.",
      +    "properties": {
      +      "always_send": {
      +        "description": "Send this template after every call, whichever templates the model chooses.",
      +        "type": "boolean"
      +      },
      +      "template_id": {
      +        "description": "An approved template on the chosen number.",
      +        "type": "number"
      +      },
      +      "usage_description": {
      +        "description": "When this template should be sent. After the call, the model reads\nthese descriptions to choose which templates fit the conversation.\n",
      +        "type": "string"
      +      },
      +      "variable_mappings": {
      +        "description": "How to fill each template placeholder.",
      +        "items": {
      +          "properties": {
      +            "extracted_var": {
      +              "description": "The extracted variable whose value fills this placeholder.",
      +              "type": "string"
      +            },
      +            "fallback_value": {
      +              "description": "The value to use when the variable is not extracted.",
      +              "type": "string"
      +            },
      +            "index": {
      +              "description": "The placeholder number, as a string.",
      +              "type": "string"
      +            },
      +            "mode": {
      +              "description": "Which input the dashboard shows for this placeholder. It\ndoes not change the value sent: a `static_value` is used\nfirst, then the extracted variable, then `fallback_value`.\n",
      +              "enum": [
      +                "variable",
      +                "static"
      +              ],
      +              "type": "string"
      +            },
      +            "static_value": {
      +              "description": "A fixed value for this placeholder. When set, it is used\ninstead of the extracted variable.\n",
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / trigger_call_statuses
      Added value: +{
      +  "description": "Call outcomes that fire this action. Omit to use the default\n(`completed`, `voicemail_detected`).\n",
      +  "items": {
      +    "enum": [
      +      "completed",
      +      "voicemail_detected",
      +      "failed",
      +      "no-answer",
      +      "busy",
      +      "canceled"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / type
      Added value: +{
      +  "description": "The channel. It cannot change after the action is created:\ndelete it and add a new one. `google_sheets`, `slack`,\n`salesforce`, `hubspot` and `zoho_bigin` deliver through an\naccount connected in the dashboard: pass its id as\n`integration_id` (see List integrations).\n",
      +  "enum": [
      +    "email",
      +    "webhook",
      +    "omni_crm",
      +    "cloud_whatsapp",
      +    "workflow",
      +    "google_sheets",
      +    "slack",
      +    "salesforce",
      +    "hubspot",
      +    "zoho_bigin"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / update_contact
      Added value: +{
      +  "description": "`zoho_bigin` only: update a matching contact with what the call captured. Defaults to true.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / url
      Added value: +{
      +  "description": "`webhook` only, required: the endpoint that receives a POST with the call payload.",
      +  "format": "uri",
      +  "type": "string"
      +}
    • addedInput schema / properties / workflow_id
      Added value: +{
      +  "description": "`workflow` only, required: the workflow to run. It must have a published version, or the action is skipped.",
      +  "type": "number"
      +}
    • addedInput schema / properties / worksheet_name
      Added value: +{
      +  "description": "`google_sheets` only: the tab to append to. Defaults to `Sheet1`.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "agent_id",
      -  "action_id",
      -  "requestBody"
      -]New value: +[
      +  "agent_id",
      +  "action_id"
      +]
  2. Changed4 schema fields changedv0.19.0
    • addedInput schema / properties / requestBody / properties / action
      Added value: +{
      +  "description": "`salesforce` only: `upsert` finds the record by the caller's number\nand updates it or creates it. `create` creates a new record every\ncall. Defaults to `create`.\n",
      +  "enum": [
      +    "create",
      +    "upsert"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / requestBody / properties / add_note
      Added value: +{
      +  "description": "`salesforce` only: add the call summary as a note on the record. Defaults to false.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / requestBody / properties / log_call
      Added value: +{
      +  "description": "`salesforce` only: log the call on the record, with the summary and recording link. Defaults to false.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / requestBody / properties / match_field
      Added value: +{
      +  "description": "`salesforce` only, with `upsert`: the phone field the caller's number is looked up in. Defaults to `Phone`.",
      +  "type": "string"
      +}
  3. Addedv0.14.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond them: omitted fields are preserved (patch semantics, not overwrite) and `type` is immutable after creation. It does not explain auth/permission requirements or what an update invalidates, so it is not a 5.

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?

Three short sentences, front-loaded with the action and immediately followed by the two constraints that matter most (partial update, immutable type). The trailing "(Tags: Agents)" is filler, but otherwise there is no wasted wording.

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?

For a 27-parameter tool whose fields are heavily conditional on the action's `type`, the description does nothing to orient the agent toward sending only type-relevant fields, though the schema does cover each one. Annotations plus the 100%-covered schema carry most of the load, making the description adequate but thin for this complexity.

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%, and the schema itself documents the per-channel conditional requirements, enums, and defaults in detail. The description adds no parameter-level meaning beyond the general "fields you don't send keep their value" note, 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 gives a specific verb and resource ("Change fields of one post-call action") and the sibling names (addPostCallAction, deletePostCallAction) make the update role obvious. It stops short of explicitly naming those siblings as the alternative paths, so it is clear but not fully differentiated in text.

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 rather than stated: it is for modifying an existing action, and "Fields you don't send keep their value" clarifies that this is a partial update rather than a replace. There is no explicit when-to-use versus addPostCallAction/deletePostCallAction guidance, even though the immutable `type` strongly implies delete-and-recreate as the alternative.

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

Deploy Server

Other Tools