Skip to main content
Glama

Makemancer

Render Template

render_template

Render a saved template. Costs 4 credits per render for html templates (each variant × size is one render); a generative template costs its model's price per variant.

Pass template_id or template_name, and renders with up to 4 variants, each { modifications: { param: value } }. Text is HTML-escaped; image_url values are fetched and inlined. Missing parameters use their default; a required one without a default is an error. size_names picks named sizes; ["all"] renders every size; omitted renders the default size. html templates return the PNGs in this call. If any render fails, the whole job fails and is refunded.

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": {
      "renders": "<renders>"
    },
    "name": "render_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoOptional asset name for the saved file.
tagsNoOptional tags for the saved file.
rendersYesVariants to render, 1 to 4.
force_newNoAn identical request submitted in the last 10 minutes returns that job without charging again; true generates it again.
size_namesNoNamed sizes to render, or ["all"].
skills_usedNoOptional workflow analytics: names of the skills (or skill/reference paths) followed for this call. Stored with generation jobs only. Never include private data, local paths or media URLs.
template_idNoTemplate ID. Pass this or template_name.
template_nameNoTemplate name, ignoring case. Pass this or template_id.
budget_projectNoOptional budget project this generation's cost counts toward, for tracking spend per client or job. Pass its slug; an id or the exact display name also works. Create one with create_budget_project and find slugs with list_budget_projects. An unknown project never stops the generation: it runs without one, and the result warns how to add it with assign_to_budget_project.
width_overrideNoOverride the width of a single-size render.
height_overrideNoOverride the height of a single-size render.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations (which only declare it a non-read-only, non-idempotent, open-world operation), the description discloses the credit cost model (4 credits per html render, per variant × size), all-or-nothing failure with refund, HTML-escaping of text, image_url fetching/inlining, and that html templates return PNGs synchronously. That is substantial context an agent could not derive from the annotations or schema.

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?

Purpose is front-loaded in the first sentence, followed by cost and then mechanics; nearly every sentence carries distinct information. A few clauses (cost arithmetic for variants × sizes) are dense, but nothing is redundant.

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?

For an 11-parameter, side-effecting, credit-consuming call with no output schema, the description covers cost, failure/refund semantics, escaping, defaults, and return type. It omits the 10-minute deduplication behavior (only present in the force_new schema field) and the width/height overrides, which an agent would want surfaced at top level.

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 adds real meaning: the either/or relationship between template_id and template_name, the {modifications: {param: value}} variant shape with a 4-variant cap, and the required-parameter-without-default error case. It does not cover width_override/height_override or budget_project, but those are well documented in the schema.

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?

States a specific verb+resource combination ("Render a saved template") and immediately signals the identifying inputs (template_id or template_name), which separates it from generic render_html_image/render_html_video siblings. It stops short of naming an alternative, so the differentiation is inferred rather than explicit.

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?

The guidance is operational rather than selective: it explains variant shape, size selection, and default fallback, but never says when to pick this tool over the sibling render tools. An agent must infer from "saved template" that a pre-existing template is required.

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.