Skip to main content
Glama

Create template

create_template
Destructive

Create a transactional template. category is one of authentication, account, orders, notifications. Use {{name}} placeholders in the subject and body for values supplied when it is sent; a placeholder nobody supplies is replaced with nothing. It creates the template only — sending needs a person.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYes
nameYes
projectNoA project id from list_projects. Runs this call in that project instead of the connection default.
subjectYes
categoryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the mutation profile is covered. The description adds genuinely new behavioral context beyond the annotations: placeholder substitution rules ('a placeholder nobody supplies is replaced with nothing') and the fact that creation does not send. It does not cover what is returned (template id?) or duplicate-name behavior.

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?

Three tight sentences, front-loaded with the purpose and the required category values before the placeholder rules. The enumeration of category values is slightly redundant against the schema enum but reads as a quick reference rather than padding.

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?

For a 5-parameter mutation tool with no output schema and 20% schema coverage, the definition leaves gaps: no mention of the return value (presumably a template id needed for later update/send), no uniqueness or duplicate-handling guidance for 'name', and no note on required vs optional fields.

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 only 20%, so the description must carry more weight. It explains the placeholder convention for subject/body, which is real added meaning, but the category list merely restates the enum already in the schema, and the 'name' parameter is never explained (uniqueness, identifier usage).

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?

Opens with a specific verb+resource: 'Create a transactional template.' The verb distinguishes it naturally from update_template and list_templates in the sibling set, though it never names those siblings explicitly. Purpose is unambiguous.

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?

Adds a useful scope boundary — 'It creates the template only — sending needs a person' — which tells the agent creation does not trigger delivery. However, it never states when to create vs. reuse/update an existing template, nor does it name list_templates as a prerequisite check.

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.