Skip to main content
Glama
semwalajay83-sem

salesforce-metadata-mcp

Create Messaging Channel

sf_create_messaging_channel
Idempotent

Create a Salesforce messaging channel for SMS, WhatsApp, Facebook, or other digital platforms, with routing to a queue or a bot.

Instructions

Creates a Messaging Channel for Salesforce digital engagement (SMS, WhatsApp, Facebook Messenger, Apple Messages for Business, etc.).

channelType options: SMS, WhatsApp, Facebook, AppleBusinessChat, Line, GoogleBusinessMessages, EinsteinBotChannel, WebChat

phoneNumber: E.164 format phone number for SMS/WhatsApp channels (e.g. +15551234567) pageId: Facebook Page ID or equivalent external platform identifier

routingType: Queue (route to a queue) or Bot (route to an Einstein Bot first) queueName: required when routingType=Queue botName: required when routingType=Bot (bot handles initial messages)

After creating, configure the channel with sf_create_embedded_service to add it to a site.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
labelYes
pageIdNoFacebook Page ID for Facebook Messenger
botNameNoBot API name for bot-first routing
queueNameNoQueue DeveloperName to route work items to
channelNameYesAPI name / MasterLabel for the Messaging Channel
channelTypeYes
descriptionNo
phoneNumberNoPhone number for SMS/WhatsApp channels
routingTypeNoQueue
Behavior3/5

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

The description explains routing behavior ('route to a queue' or 'route to an Einstein Bot first') and conditional parameter requirements, which adds value beyond the annotations. However, it does not disclose behavior related to the idempotentHint annotation, such as whether creating an existing channel overwrites or fails.

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 description is well-organized with line breaks per parameter and no redundant prose. Every sentence adds information, though the incorrect enum lists waste some space and reduce reliability.

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?

Given the tool's complexity (9 parameters, 2 enums, no output schema), the description covers many important aspects: channel types, phone format, routing logic, and a post-create step. However, it omits the 'None' routingType option and fails to clarify idempotent behavior or expected outcome, leaving gaps for an agent selecting and invoking the tool.

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

Parameters2/5

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

The description adds useful parameter context: E.164 format for phoneNumber, pageId purpose, and conditional requirements for queueName/botName. Yet it directly conflicts with the schema enum: it lists 'AppleBusinessChat', 'EinsteinBotChannel', and 'WebChat' (not in schema), omits 'Voice' and 'EmbeddedMessaging', and says routingType is 'Queue or Bot' while the schema includes 'None'. This is misleading and likely to cause invocation errors.

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 clearly states 'Creates a Messaging Channel for Salesforce digital engagement' and enumerates the channel types it covers, which distinguishes it from sibling tools like sf_create_service_channel. However, the channelType list in the description diverges from the schema enum, creating slight ambiguity about the exact scope.

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?

The description gives a contextual use case ('for Salesforce digital engagement') and a follow-up step ('After creating, configure the channel with sf_create_embedded_service'), implying when to use it. It does not explicitly state alternatives or exclusions, leaving the when-not-to-use guidance absent.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/semwalajay83-sem/salesforce-metadata-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server