Skip to main content
Glama

Social media studio

Get WhatsApp Template

get_whatsapp_template
Read-only

Get a single WhatsApp message template by name

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": {
      "accountId": "<accountId>",
      "templateName": "<templateName>"
    },
    "name": "get_whatsapp_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountIdYesWhatsApp account UUID or provider id
templateNameYesTemplate name

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 fully covered structurally. The description adds only the single-record-by-name scope; it says nothing about what happens when the template does not exist or what the returned template contains.

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?

A single front-loaded sentence with no filler or redundancy; the key differentiator ('single', 'by name') appears immediately.

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?

The tool is trivial (two required string parameters, no output schema, non-destructive read), so the description is close to sufficient. However, with no output schema it should at least hint at what a returned template includes or how a missing name is handled.

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 both parameters (accountId, templateName) are already documented in the schema. The phrase 'by name' merely reinforces templateName and adds no format, scoping, or provider-specific meaning beyond it — the baseline 3 applies.

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 gives a specific verb and resource ('Get a single WhatsApp message template') and adds the 'by name' lookup key, which distinguishes it from list_whatsapp_templates and get_template without needing to open a schema. It stops short of explicitly naming the sibling it differs from.

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 only implied: 'a single' template 'by name' signals retrieval of an already-known template rather than enumeration, which points away from list_whatsapp_templates. There is no explicit when-to-use statement, no prerequisite note, and no named alternative.

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