Skip to main content
Glama

Refresh WhatsApp template statuses

refresh_whatsapp_template_statuses

Ask the connected Meta WhatsApp provider for the latest approval status of the site's non-disabled templates and update local rows. This does not submit or send any message. It is limited to 50 templates and is available for Meta direct connections.

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": {
      "site_id": "<site_id>"
    },
    "name": "refresh_whatsapp_template_statuses"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idYesThe site, from list_sites
user_goalNoOptional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag a non-read-only, open-world, non-idempotent write, and the description adds real behavior beyond them: it writes to local rows, contacts the Meta provider out-of-band, and is bounded to 50 templates on Meta direct connections. It stops short of describing what happens past the 50-template cap or what the provider does on failure, keeping it off 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action, then the negative capability disclaimer, then the limits and availability constraint. Every sentence adds new decision-relevant information with no filler.

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 two-parameter refresh with no output schema, the definition covers side effects, external dependency, scope limit and availability. The remaining gap is what the caller gets back (e.g. how many statuses changed), which it does not touch.

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% for both parameters (site_id from list_sites, optional user_goal), so the schema already carries the parameter meaning. The description only implies site scoping through 'the site's ... templates' and adds no format or constraint detail beyond the schema, which is the expected baseline of 3.

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?

The description names a specific verb (refresh) and resource (WhatsApp template approval statuses), plus the scope ('non-disabled templates' for 'the site'). It also negatively distinguishes itself from send/submit operations, so an agent can separate it from submit_whatsapp_template and list_whatsapp_templates without opening either schema.

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?

It gives concrete eligibility context: available only for Meta direct connections, capped at 50 templates, and explicitly not for sending or submitting messages. What is missing is an explicit statement of when to prefer this over list_whatsapp_templates for reading statuses, but the usage envelope is clear enough to act on.

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