Skip to main content
Glama

peach_create_template

Create WhatsApp message templates for marketing, utility, or authentication purposes with required body components and structured formatting.

Instructions

Create a new WhatsApp template in the Peach account. Must include at least a body component in components_attributes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
template_nameYesUnique name for the template (lowercase, underscores only, e.g. order_confirmation)
languageYesLanguage code for the template (e.g. en, en_US)
categoryYesTemplate category as required by WhatsApp
components_attributesYesTemplate components. Must include a body component. Each component has component_type, value, and optional sub_type/data_type/name/index.
purposeNoPurpose of the template (e.g. general)
whats_app_business_account_idNoExternal ID of the WhatsApp Business Account to use (defaults to the account's only WABA if there is one)
folderNoFolder to organise the template into
Behavior2/5

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

No annotations are provided, so the description carries full burden. It states this is a creation operation but doesn't disclose behavioral traits like permissions needed, whether it's idempotent, rate limits, or what happens on success/failure. The body component requirement is useful but insufficient for a mutation tool with no annotation coverage.

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?

Two concise sentences with zero waste. The first states the core purpose, the second adds a critical constraint. Well-structured and front-loaded, though slightly terse for a creation tool with no annotations.

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

Completeness2/5

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

For a mutation tool with no annotations and no output schema, the description is incomplete. It doesn't explain what happens after creation (e.g., returns a template ID, status), error conditions, or integration with other tools like peach_submit_template. The body component note helps but doesn't compensate for missing behavioral context.

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 schema already documents all 7 parameters thoroughly. The description adds minimal value by emphasizing the body component requirement in components_attributes, which is already implied in the schema. Baseline 3 is appropriate when schema does the heavy lifting.

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 clearly states the action ('Create a new WhatsApp template') and resource ('in the Peach account'), with a specific requirement about including a body component. It distinguishes from siblings like peach_list_templates (list) and peach_update_template (update), though not explicitly named.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives like peach_submit_template or peach_update_template. The description mentions a requirement (must include body component) but doesn't provide context about prerequisites, timing, or comparisons with sibling tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/trypeach-io/mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server