Skip to main content
Glama

Perpetuus CRM

Preview WhatsApp Light Model

crm_preview_whatsapp_light_template
Read-onlyIdempotent

Renders an existing ACTIVE local model with supplied variables using the same tenant backend renderer as delivery. Returns content/template/hasAttachment; does not send messages, return media bytes/URLs or expose WAHA. Requires chat-channel.read. Draft/archived models, missing variables and wrong channel assets are rejected.

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": {
      "channelId": "<channelId>",
      "name": "<name>"
    },
    "name": "crm_preview_whatsapp_light_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
versionNo
languageNopt_BR
channelIdYes
processed_paramsNoPositional values, flat for body or grouped as body/header. No media URL; the model owns its uploaded asset.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations (readOnly, idempotent, non-destructive, closed-world), it discloses the return shape (content/template/hasAttachment), the guarantee that no messages are sent, that no media bytes or URLs are returned, and that WAHA is not exposed. It also adds an authorization requirement (chat-channel.read) and failure modes (draft/archived models, missing variables, wrong channel assets). With annotations already covering safety, this is well above bar.

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 dense sentences, front-loaded with the action and followed by return shape, side-effect exclusions, and rejection rules. No filler, though the compression ("expose WAHA") and the tightly packed rejection list make it slightly harder to parse than it needs to be.

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?

With no output schema, the description does the job of describing the return payload and the side-effect guarantees, plus permission and rejection conditions. The remaining gap is per-parameter guidance for version and language, which matters for choosing what to render, but overall an agent can call this correctly from the definition.

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 only 20% across 5 parameters, so the description must compensate, and it does so only partially: "supplied variables" maps to processed_params, "wrong channel assets" hints at channelId, and "Draft/archived models" implies name/version selection. It says nothing about the version or language parameters (format, defaults, whether language overrides the model's) which an agent needs to choose values.

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?

States a specific verb and resource ("Renders an existing ACTIVE local model with supplied variables") and immediately bounds it against the delivery path ("same tenant backend renderer as delivery", "does not send messages"). The name/title alone would be ambiguous between previewing and sending, and the description resolves that in the first sentence.

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 clear use conditions: only ACTIVE local models, requires chat-channel.read, and drafts/archived models or missing variables are rejected. It does not explicitly name a sibling preview tool (e.g. crm_preview_email_template) as the alternative for other channels, but the channel scoping ("wrong channel assets are rejected") makes the boundary inferable.

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.