Skip to main content
Glama
Mizar-Contasti

Treeflow MCP Server

treeflow_create_message_template

Create reusable message templates for chatbot responses using plain text, buttons, cards, carousels, audio, and other rich blocks compatible with WhatsApp, Webchat, and Telegram.

Instructions

Crea una nueva plantilla de mensaje (MessageTemplate) para respuestas estructuradas o enriquecidas (texto plano, botones, tarjetas, carruseles, audios).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesNombre representativo de la plantilla (ej. respuesta_bienvenida, menu_principal)
textNoTexto plano de respaldo (fallback text)
tree_idYesID del bot/árbol
responsesNoArreglo de bloques enriquecidos (RichBlocks) compatibles con WhatsApp, Webchat y Telegram. Tipos soportados: text ({type: "text", text: "..."}), card ({type: "card", title, subtitle, imageUrl, buttons: [{label, url, payload}]}), quick_replies ({type: "quick_replies", options: ["Opción 1", "Opción 2"]}), carousel ({type: "carousel", cards: [...]}), image ({type: "image", url}), audio ({type: "audio", url}), file ({type: "file", url, filename}), location ({type: "location", latitude, longitude, address}).
descriptionNoDescripción corta opcional
Install Server

TDQS

B3.2/5.0
Behavior2/5

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

Without annotations, the description carries the full burden of behavioral disclosure, but it only states that the tool creates a template. It does not mention side effects, required ownership of tree_id, validation behavior, idempotency, or what happens after creation (e.g., whether the template is immediately available). This is minimal for a mutation tool.

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?

The description is a single, concise sentence with no filler or repetition. It front-loads the primary action and resource, then adds relevant detail about the kinds of messages supported. It earns its place and remains easy to scan.

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?

Given that there is no output schema and no annotations, the description is thin for a tool with five parameters and a complex nested responses structure. It lacks guidance on expected return values, required parameter relationships (e.g., whether tree_id is validated), or common pitfalls. The schema covers parameter names, but the overall context for using the tool correctly is incomplete.

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 parameters, including detailed examples for the responses array. The description adds little beyond a high-level mention of rich formats, which is redundant with the schema. The baseline of 3 applies because the structured schema handles parameter semantics well.

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?

The description clearly states the verb 'Crea' (creates) and the resource 'plantilla de mensaje (MessageTemplate)', making the tool's purpose obvious. It also hints at the tool's scope by listing supported rich response types (texto plano, botones, tarjetas, carruseles, audios), which helps distinguish it from other creation tools like create_tree or create_leaf.

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?

The description implies use when creating a new message template, but it does not provide explicit guidance on when to use this tool versus update_message_template, list_message_templates, or delete_message_template. There is no exclusionary language or mention of alternatives, leaving the agent to infer when this tool is appropriate.

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

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/Mizar-Contasti/tree-flow-mcp'

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