Skip to main content
Glama

Create an image from a template

apitemplate_create_image

WRITE: renders one image (JPEG and PNG) from a saved image template, changing the named layers with overrides (e.g. [{"name":"text_1","text":"Hello"},{"name":"image_1","src":"https://..."}]), and returns the hosted download URLs (never the file bytes). COST: uses 1 generation of your APITemplate.io plan quota per call (see apitemplate_get_account). Do not retry or repeat it unless needed; every call is counted. POST /v2/create-image.

Input Schema

NameRequiredDescriptionDefault
metaNoYour own reference id for this file; it shows up in apitemplate_list_objects.
overridesYesLayer changes: each item has the layer 'name' and the properties to set (text, src, color, textBackgroundColor ...).
expirationNoMinutes until the hosted file expires: 0 = keep permanently (default), or 1-10080.
template_idYesThe template id (apitemplate_list_templates, or the web console, Manage Templates).
generation_delayNoMilliseconds to wait before rendering (0-30000), for pages that load content late.
output_image_typeNoWhich formats to render (default all).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: the per-call cost (1 generation of plan quota), the anti-retry policy, the fact that responses contain hosted URLs rather than file bytes, and the underlying POST /v2/create-image endpoint. None of that is derivable from the readOnly/openWorld/idempotent hints.

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?

Front-loads the action, then cost, then caution, then endpoint in labeled segments. Four dense sentences, no filler, and the most decision-relevant facts (what it renders, what it costs) come first.

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?

With six parameters, no output schema, and a clear mutation profile, the description covers the missing pieces: return shape (URLs, not bytes), quota impact, and retry guidance. An agent has everything needed to invoke it correctly and safely.

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 the baseline is 3, but the description supplies a concrete overrides payload example ([{"name":"text_1","text":"Hello"},{"name":"image_1","src":"https://..."}]) that documents the free-form layer properties the schema leaves as additionalProperties with no enumeration.

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?

States a specific verb and resource ('renders one image') with the required template source ('from a saved image template'), and names the output formats (JPEG and PNG). The word 'image' cleanly separates it from the apitemplate_create_pdf family of siblings without needing to name them.

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?

Gives a clear when-not rule ('Do not retry or repeat it unless needed; every call is counted') and points to apitemplate_get_account for quota context. It does not explicitly contrast itself against the PDF-rendering siblings, so the choice between this and create_pdf_from_html is left to inference.

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.