Skip to main content
Glama

Submit a template

flow_submit_template

Sends a draft template on its way to live (ids from flow_list_templates). An SMS template goes to Bind's review (a declined one can be sent again), or straight live where the brand needs no review; a Viber template goes live; a WhatsApp template goes to Meta's review, whose decision comes later (read it with flow_get_template). A WhatsApp template is submitted once: change a declined one in the portal. The answer gives the status and the template's link.

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": {
      "channel": "<channel>",
      "id": "<id>"
    },
    "name": "flow_submit_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
brandIdNoThe id of the brand this change is for: the active brand (flow_whoami). Required when the connection covers several brands; the change is refused when another brand is active.
channelYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false, idempotentHint=false and openWorldHint=true; the description goes further by explaining the asynchronous review path per channel (Bind for SMS, Meta for WhatsApp, immediate live for Viber), the single-submission rule, and that the response carries status plus a link. It stops short of describing failure/refusal behaviour or what a partial submission looks like, so it is rich but not exhaustive.

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?

Front-loaded with the action and the id source, then channel behaviour, then the response — a logical order. It is dense with semicolons and parentheticals, and a couple of clauses could be tightened, but nearly every sentence carries information an agent needs.

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?

No output schema exists, and the description closes that gap by stating the answer returns the status and the template's link. Combined with the async review explanation, an agent knows both what will happen after the call and where to read the delayed outcome.

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

Parameters4/5

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

Schema coverage is only 33%, but the description compensates by giving the provenance of the id (draft templates from flow_list_templates) and by attaching concrete meaning to each channel enum value (SMS review vs live, Viber immediate, WhatsApp Meta review). brandId semantics live only in the schema, so one of three parameters is unexplained in prose.

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?

States a concrete verb and resource ("Sends a draft template on its way to live") and immediately differentiates itself from neighbours by naming flow_list_templates as the id source and flow_get_template as the review-result reader. The per-channel breakdown makes the action unmistakable and distinct from update/withdraw siblings.

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?

Gives explicit routing: fetch ids from flow_list_templates, read a WhatsApp review outcome with flow_get_template, and use the portal (not this tool) to change a declined WhatsApp template. It also states the when-not case for SMS re-submission after a decline, so alternatives and exclusions are both covered.

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.

Resources