Skip to main content
Glama

desk_get_whatsapp_window

Read-only

Whether a contact's 24-hour WhatsApp customer-service window is open. Outside it only an approved template can be sent.

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": {
      "contact_id": "<contact_id>"
    },
    "name": "desk_get_whatsapp_window"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromNooptional: which of the workspace's WhatsApp numbers
numberNooptional: which of the contact's WhatsApp numbers
purposeNoRequired on tools that read data or reports; recommended on every tool. One sentence: what you are doing and why (for example "finding this caller's open ticket to answer them"). Building a report, dashboard, analytics or an export is a SautiDesk Pro feature done by the report tools, not by pulling records.
contact_idYescontact UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description contributes genuine domain behavior — the 24-hour window rule and the template-only constraint outside it — but says nothing about the shape of the answer (boolean vs. expiry timestamp) or what happens for contacts with no WhatsApp number.

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 short sentences with zero padding, and the operative concept (whether the window is open) is front-loaded ahead of the consequence.

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

Completeness3/5

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

For a simple read with full schema coverage and safety annotations, the definition is largely sufficient. However, with no output schema, the agent is left guessing whether the result is a boolean, a timestamp of expiry, or a richer object, which matters for deciding whether it can still send a free-form message.

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%, so the baseline is 3. The description adds no guidance on choosing between the 'from' and 'number' parameters when a workspace or contact has multiple WhatsApp numbers, which is the only non-obvious selection decision here.

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?

The description names the specific resource — a contact's 24-hour WhatsApp customer-service window — and states exactly what it reports ('whether ... is open'). Unlike the many send/list/get siblings, it clearly reads as a status check, though it never contrasts itself with alternatives such as desk_lookup_contact or the WhatsApp send tools.

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?

Usage is implied rather than stated: the note that 'outside it only an approved template can be sent' hints this should be checked before sending free-form WhatsApp messages, but no sibling tool (e.g. desk_send_message, send_whatsapp_message, desk_list_templates) is named and no explicit 'call this before X' instruction is given.

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