Skip to main content
Glama

Hand over to WhatsApp

get_whatsapp_handoff
Read-only

Generate a pre-filled WhatsApp deep link to hand the customer off to the right contact. Garden Route locations (Knysna, Plett, George, Sedgefield, etc.) route to Duncan Kane on WhatsApp (+27795235407) for a free in-home consultation. Awnings, shutters, shadeports and Ziptrak, named in product_context, route to Duncan Kane from anywhere in South Africa. Everything else routes to the shop WhatsApp (+27760228410), WhatsApp only, no voice calls. Use when the customer prefers human assistance or when self-serve checkout isn't appropriate.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_whatsapp_handoff"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageNoOptional additional message to prefill
locationNoCity/suburb. Garden Route locations route to Duncan.
customer_nameNoOptional customer name, used in the prefilled WhatsApp greeting
product_contextNoe.g. 'roller blockout for bedroom'. Awnings, shutters, shadeports or Ziptrak here route to Duncan.

Output Schema

NameRequiredDescriptionDefault
reasonYes
recipientYes
whatsapp_urlYes
recipient_phoneYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / customer_name / description
      Added value: +"Optional customer name, used in the prefilled WhatsApp greeting"
  2. Changed2 schema fields changed
    • changedInput schema / properties / location / description
      Previous value: -"City/suburb. Drives Duncan vs shop routing."New value: +"City/suburb. Garden Route locations route to Duncan."
    • changedInput schema / properties / product_context / description
      Previous value: -"e.g. 'roller blockout for bedroom'"New value: +"e.g. 'roller blockout for bedroom'. Awnings, shutters, shadeports or Ziptrak here route to Duncan."
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld=false/destructive=false, so the bar is low, yet the description adds substantial behavior: the routing table (Garden Route cities vs. product-category routing vs. default shop number), explicit phone numbers, and the constraint 'WhatsApp only, no voice calls.' That is exactly the kind of business logic an agent cannot infer from structured fields.

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 purpose, then routing, then usage — a logical order with no filler. The middle routing sentence is long and comma-heavy, but every clause carries decision-relevant information (which number, for which inputs).

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?

For a zero-required-parameter, read-only link generator with an output schema and fully annotated safety profile, the description supplies the only thing an agent actually needs: the routing decision rules and when to invoke it. Nothing material is left to inference.

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 100%, so the baseline is 3, but the description adds meaning beyond the schema: it names the full Garden Route location set, states that product routing applies 'from anywhere in South Africa', and gives the concrete destination numbers. The product_context rules largely restate the schema description, which caps it below 5.

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?

Opens with a specific verb and artifact ('Generate a pre-filled WhatsApp deep link') plus the goal ('hand the customer off to the right contact'), which no sibling tool does — the others handle cart, checkout, catalog, and visualiser flows. The routing rules immediately clarify what 'right contact' means for this business.

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?

Explicitly states when to use it: 'when the customer prefers human assistance or when self-serve checkout isn't appropriate.' That is a clear trigger condition. It does not name the specific sibling to fall back on (e.g., get_checkout/complete_checkout) by name, so the guidance is strong but not fully disambiguating.

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