Skip to main content
Glama
kiriminow
by kiriminow

waba_reply

Send text, media, or interactive replies to a customer's WhatsApp message within the 24-hour service window; check conversation status first, otherwise send a template.

Instructions

Reply with free-form text or media through the official API. Only allowed within 24 hours of the customer's last message — use waba_list_conversations to check first. Outside that window the API rejects it and you must send a template instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesThe customer who messaged you first
messageYesMessage object: {"type":"text","text":"..."} or {"type":"image","media_url":"https://...","caption":"..."} or {"type":"interactive","interactive":{...}}
waba_idYesWhatsApp Business Account ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries full burden. It discloses the 24-hour validity constraint and the API rejection behavior, which is critical. It doesn't mention return format or error details, but the core behavioral trait (time window) is clearly stated.

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?

Two sentences with zero waste. The purpose is front-loaded, then the critical constraint is stated immediately, followed by the alternative. Every word earns its place.

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 simple reply tool with full schema coverage, the description covers the essential usage context (24-hour rule, alternative). It doesn't explain return values, but given no output schema and the tool's simplicity, this is a minor gap. Overall it's sufficient for correct invocation.

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%, so the description doesn't need to add parameter detail. It doesn't add new semantics beyond the schema; the message object structure is already fully described in the schema. Baseline 3 is appropriate.

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 clearly states the tool's function: replying with free-form text or media via the official API. It also distinguishes it from template-based sending by explicitly stating the 24-hour restriction, which differentiates it from siblings like send_waba_template.

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?

The description gives explicit when-to-use guidance: only within 24 hours of the customer's last message, and advises checking waba_list_conversations first. It also states the alternative (send a template) for outside that window, making routing unambiguous.

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