Skip to main content
Glama

AiSensy MCP by usefulapi

List WhatsApp templates

aisensy_list_templates
Read-only

List the WhatsApp template messages of the project with name, language, status (PENDING, APPROVED, REJECTED), category, text and parameter count. Only APPROVED templates can be sent. Pages by record id: pass next_after from the previous reply as after. GET /project/{project_id}/wa_template/.

Input Schema

NameRequiredDescriptionDefault
afterNoReturn records after this template id (exclusive); use the previous reply's next_after.
limitNoTemplates per page, 1-100 (default 10).
beforeNoReturn records before this template id (exclusive).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=true, so the safety profile is covered; the description adds genuine context on top: the status vocabulary (PENDING/APPROVED/REJECTED), the business rule that only APPROVED templates are sendable, and the cursor pagination model. It stops short of auth/permission or rate-limit details, and there is no output schema to describe.

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?

Three tight sentences: what is returned, the status rule, then the pagination mechanic. Returned fields and the cursor rule are front-loaded with no repetition of the name/title.

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 carries the return shape and does so well by listing the per-template fields, plus it covers pagination continuation. It omits how paging terminates (absence of next_after) and any scope/permission notes, leaving minor gaps for an agent handling multi-page results.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3; the description earns an extra point by explaining the cursor interplay that the schema only partially states — 'pass next_after from the previous reply as `after`' — which is the key operational detail for paging. It says nothing extra about `limit` or `before`, both of which the schema already handles.

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?

States a specific verb (List) and resource (WhatsApp template messages of the project) and enumerates the fields returned (name, language, status, category, text, parameter count). It does not name a sibling such as aisensy_get_template to explicitly draw the list-vs-get boundary, so it falls short of the top band.

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?

The line 'Only APPROVED templates can be sent' hints at why an agent would list templates, and the pagination instruction gives procedural guidance. But there is no explicit when-to-use-this vs aisensy_get_template / aisensy_send_message and no exclusion or prerequisite statement.

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.