Skip to main content
Glama

Submit a WhatsApp template

submit_whatsapp_template
DestructiveIdempotent

Submits a stored draft for a number this account owns. Omitted confirm returns a preview on every client and does not submit. confirm true submits it. This does not charge the wallet.

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": {
      "did_id": "<did_id>",
      "draft_id": "<draft_id>"
    },
    "name": "submit_whatsapp_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNo
nameNo
did_idYes
footerNo
buttonsNo
confirmNoOmitted returns a preview on every client. True submits the draft. Nothing is charged.
draft_idYes
examplesNo
header_textNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, so the description's most valuable addition is clarifying that the default path (omitted confirm) is a harmless preview and that submission does not charge the wallet. That resolves the likely worry an agent has about a destructive, externally visible operation. It still doesn't say whether a submitted template can be withdrawn or how submission is reviewed/approved afterward.

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?

Four short sentences, front-loaded with purpose and then the confirm behavior. Little waste; 'on every client' is slightly odd phrasing but not harmful. It could be tightened by merging the two confirm sentences.

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

Completeness2/5

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

This is a destructive, open-world, nine-parameter submission tool with no output schema, and the description covers only the confirm flag. It omits where draft_id/did_id come from, what a successful submission produces, whether overrides like body/buttons replace the stored draft content, and how to check resulting status via get_whatsapp_template_status. Given the complexity and low schema coverage, this is materially incomplete.

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?

Schema description coverage is only 11%: of nine parameters, only confirm is documented, and the description merely restates that schema text. Eight parameters (did_id, draft_id, name, body, header_text, footer, buttons, examples) get no explanation of source, format, or constraints anywhere. The description does not compensate for the coverage gap.

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?

States a specific verb and resource: 'Submits a stored draft for a number this account owns.' That clearly distinguishes the action from drafting or revising a template. It does not name the sibling tools (draft_whatsapp_template, revise_whatsapp_template, get_whatsapp_template_status), so sibling differentiation is implied rather than explicit.

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?

Gives a concrete rule for the confirm parameter: omitted returns a preview, true submits. That tells an agent how to preview vs. commit. However, it never says when to use this instead of revise_whatsapp_template, nor what prerequisites must hold (e.g., that did_id must be an owned number, draft_id must come from a draft).

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.