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

@omnidim-ai/mcp-server

by Omnidim

syncWhatsappTemplates

Pull a WhatsApp number's templates and review statuses into your list, especially after creating or editing a template in Meta. Call once per minute per number to avoid 429 errors.

Instructions

Pull the number's templates and review statuses from WhatsApp into your list.

Run it after you create or edit a template in Meta. It runs at most once a minute per number. A second call inside that minute answers 429.

(Tags: WhatsApp)

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": {
      "number_id": "<number_id>"
    },
    "name": "syncWhatsappTemplates"
  }
}

Input Schema

NameRequiredDescriptionDefault
number_idYesId of a WhatsApp number in your workspace, from [listWhatsappNumbers](/docs/api-reference/whatsapp/listWhatsappNumbers). A number in another workspace answers `404`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.19.0

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false with destructiveHint=false, so the safety profile is covered. The description adds genuinely useful behavior not in the annotations: a rate limit of once per minute per number and a `429` response for a second call inside that window. It omits whether the sync overwrites or merges existing local entries, which matters for a non-destructive-but-mutating tool.

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, then the trigger, then the constraint — an efficient ordering. The trailing '(Tags: WhatsApp)' line carries no decision value and is mild noise, preventing a 5.

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

Completeness4/5

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

For a single-parameter tool with no output schema, the definition covers action, trigger, and failure mode. What is left unspecified is the effect on locally stored templates (create/update/remove) and what the caller sees on success, which is a modest gap given there is no output schema to lean on.

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 coverage is 100%, and the schema already documents number_id, its source (listWhatsappNumbers), and the cross-workspace `404`. The description reinforces the per-number scoping ('the number's templates', rate limit 'per number') but adds no syntax or format detail beyond the schema. Baseline 3 is appropriate.

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 ('Pull') and resource ('the number's templates and review statuses') plus the destination ('into your list'), which distinguishes it from the similarly named listWhatsappTemplates without needing the schema. The scope is per-number, which is clear. It stops short of an explicit contrast with the list sibling, keeping it at a 4.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit trigger: 'Run it after you create or edit a template in Meta.' That is actionable timing guidance an agent can apply. It does not state when to avoid the call or name an alternative, but the trigger condition is concrete enough for a 4.

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