Skip to main content
Glama

template_create

Create content templates for your brand with placeholders for hooks and CTAs. Supports bulk creation via the templates array for multiple templates in one call.

Instructions

Create one or more content templates for the brand. Pass a single template object, or pass the 'templates' array param for bulk creation. If both are supplied, 'templates' (bulk) takes precedence. Returns the created template record(s).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoTemplate body with placeholders, e.g. '[HOOK] … [CTA]' (required for single creation).
titleNoTemplate title (required for single creation).
brandIdNoBrand ID (defaults to active brand)
exampleNoAn example post filled in using this template.
patternNoThe rhetorical or structural pattern described in plain language.
categoryNoCategory label (e.g. 'hook', 'thread', 'cta').
platformsNoPlatforms this template is best suited for (e.g. ['x', 'linkedin']).
templatesNoBulk-create multiple templates in one call. Overrides the single-template fields when present.
isFavoriteNoMark as favorite to surface it first in template lists.
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses key behaviors: the precedence of 'templates' over single fields, support for one or many records, and the return value. It does not mention authentication, idempotency, or side effects beyond creation, but the most important operational details are present.

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 sentences that are front-loaded with the tool's purpose, followed by concise instructions on single/bulk usage, precedence, and return value. Every sentence earns its place with no wasted words.

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?

Given the tool's 9 parameters and rich schema, the description is adequately complete. It covers both creation modes, precedence, and return value. The schema handles field-level details, and while an output schema is absent, the mention of returning created record(s) helps.

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?

The input schema already provides 100% coverage with detailed parameter descriptions, so the description adds limited value here. It clarifies the relationship between top-level fields and the 'templates' array, but the schema itself documents required fields and defaults. Baseline 3 is appropriate.

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?

Clearly states 'Create one or more content templates for the brand' with a specific verb and resource. It distinguishes from sibling tools like template_list, template_update, and template_delete by emphasizing the create action and the added bulk-creation capability.

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?

Provides clear context for when to use the tool, including the choice between single and bulk creation and an explicit precedence rule. It does not explicitly name alternative tools for update/delete or state when not to use this tool, so it falls just 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.

Install Server

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/bitsandtea/postking-mcp'

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