Skip to main content
Glama

Make a designed post

templates_render

Fill a template with words. The service draws each page in the saved brand’s colours and fonts, saves it as a picture and answers the media ids, in page order, ready to attach to a draft. Look at each one with media_view before the user sees it. A photo on a page is one the user already uploaded (its media id from media_list) or an https address.

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": {
      "id": "<id>",
      "pages": "<pages>"
    },
    "name": "templates_render"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesA template id from templates_list.
cutNoThe shape of the pictures, one per network: portrait (1080 by 1350) for Instagram, Facebook, LinkedIn and Threads; landscape (1600 by 900) for X and Bluesky; pin (1080 by 1620) for Pinterest. templates_list says which cuts each template has. The template’s own shape when left out.
pagesYesThe pages in order, as many as the template takes. A carousel ends on an action page.
seriesNoA short series name shown on the pages, where the template has one.
brandIdNoThe brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out.
languageNoThe language of the words the service prints itself, such as the days of the week and "Closed": English (en), Spanish (es), Portuguese (pt), French (fr) or Haitian Creole (ht). English when left out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / brandId
      Added value: +{
      +  "description": "The brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out.",
      +  "maxLength": 80,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already signal a non-destructive write (readOnlyHint=false, destructiveHint=false, openWorldHint=false). Beyond that, the description discloses real behaviour: output is media ids returned in page order, images are drawn in brand colours/fonts, and results are 'ready to attach to a draft'. It does not mention idempotency or rate limits, but adds meaningful context over the annotations.

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, front-loaded with the action and outcome, followed by the review step and photo sourcing. No filler and nothing repeated from the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter rendering tool with no output schema, the description covers what matters: the return value (media ids, in order), the rendering source (brand colours/fonts), the review workflow, and photo sourcing. An agent has enough to invoke it correctly without further inference.

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 a baseline of 3 applies. The description earns an extra point by clarifying page photo semantics ('a photo on a page is one the user already uploaded (its media id from media_list) or an https address'), which adds meaning for the loosely-typed pages array beyond what the schema states.

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 opens with a concrete verb and resource ('Fill a template with words') and then states exactly what the tool produces: pages rendered in brand colours/fonts, saved as pictures, returned as media ids in page order. This distinctively separates it from templates_get (template metadata) and media_view (viewing), which are referenced as separate steps.

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?

It gives clear workflow guidance: review each image with media_view before the user sees it, and source photos either from media_list ids or https addresses. It does not explicitly state exclusions or name an alternative rendering path, but the context for when to use it is unambiguous.

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.