Skip to main content
Glama

list_templates

Read-only

Retrieve WhatsApp message templates with status, category, language, components, and optional usage stats to inform send recommendations or cleanup.

Instructions

List WhatsApp templates with status, category, language, components, and optional usage stats. Use this before recommending sends or cleanup.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
statsNo
statusNo
categoryNo
channel_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

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 and destructiveHint=false, so the safety profile is covered. The description adds only that usage stats are optional, which is really parameter behavior rather than new behavioral context — no pagination or result-volume guidance.

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 tight sentences with zero waste; the purpose is front-loaded and the usage hint follows. Nothing extraneous.

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?

With no output schema, listing the returned fields (status, category, language, components) is a genuine contribution. However, the filtering semantics of channel_id and how status/category combine are left unaddressed for a four-parameter list tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry the burden. It hints at the 'stats' flag and the status/category filters, but says nothing about channel_id (a uuid scoping the channel), leaving one of four parameters entirely unexplained in both schema and description.

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?

Specific verb+resource: 'List WhatsApp templates' plus the attributes returned (status, category, language, components, usage stats). The plural 'List' implicitly separates it from the sibling get_template, but no sibling is named explicitly.

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?

'Use this before recommending sends or cleanup' gives a concrete, actionable when-to-use trigger. No when-not-to-use or named alternative (e.g., get_template for a single template) is provided, so it falls short of a 5.

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