Skip to main content
Glama

Get a template

flow_get_template
Read-only

One template by id (ids from flow_list_templates): content, variables, status and, if declined, why; its link in the portal, and preview: the message as a recipient sees it, each variable filled with its fallback.

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": {
      "channel": "<channel>",
      "id": "<id>"
    },
    "name": "flow_get_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
channelYes

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 and openWorldHint=false, so the safety profile is covered; the description adds real value by disclosing the exact contents of the response, including conditional data (the decline reason only when declined) and a preview that fills each variable with its fallback. It does not discuss error behavior for an invalid id or whether a template can exist across multiple channels, which is beyond what the annotations say but would be useful.

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?

A single front-loaded sentence that leads with the lookup and then enumerates the payload; the 'preview: the message as a recipient sees it' gloss is well placed. It is dense but every clause carries information, with only mild list-stacking that slightly slows scanning.

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, the description does a good job of describing return fields, and for a read-only two-param getter most behavioral risk is low. The omission of the required channel parameter and any note on invalid-id or cross-channel failure leaves a gap that matters before invocation.

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 parameter burden: it explains 'id' well by pointing to flow_list_templates as the source. However, the required 'channel' enum (SMS/VIBER/WHATSAPP) is never mentioned, leaving the agent to guess why a channel is needed when fetching by id — likely an id/channel pairing — and whether the id must match the given channel.

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?

Names a specific verb and resource ('One template by id') and enumerates exactly what comes back — content, variables, status, decline reason, portal link, and a recipient-eye preview. It also explicitly distinguishes itself from flow_list_templates by naming it as the id source, so an agent can pick between them without opening a schema.

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?

The parenthetical '(ids from flow_list_templates)' gives clear workflow guidance on how to obtain the required id, and the described payload (status, decline reason, preview) tells an agent why to fetch a single template. There is no explicit when-not-use statement or note about what to do if the id is unknown, keeping it 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources