Skip to main content
Glama

Draw a template

render_template
Read-only

Draw one of the brand's post templates with your words, as PNG or JPEG, and get a link to it that works for an hour. Templates: promotion, hours, menu, pix (send the Pix key), new-product, status-offer and carousel (5 pages). Sizes: ig-post, ig-square, ig-story, wa-status and share-card. Words that don't fit are refused, with which slot to shorten. Uses the draft unless you name a version. Costs no credits, within the hourly render allowance.

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

Input Schema

NameRequiredDescriptionDefault
pixNo
pageNo
sizeNo
slugYes
textNo
formatNopng
localeNo
versionNo
templateYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the readOnly/destructive/non-open-world annotations, it discloses the artifact lifetime ('a link to it that works for an hour'), a failure mode with actionable feedback ('Words that don't fit are refused, with which slot to shorten'), the draft-vs-version default, and a quota constraint ('Costs no credits, within the hourly render allowance'). That is exactly the kind of operational context annotations cannot carry.

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?

Dense and front-loaded: purpose and output first, then enumerations, then behavioral caveats. Nearly every clause carries information (enums, defaults, failure modes, cost), though the phrasing is compressed enough to read as shorthand in places.

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 a 9-parameter, nested-schema tool with no output schema, the description supplies output nature, lifetime, defaults, failure behavior, and cost/quota. The remaining gaps are the meaning of `slug` (which brand/asset it identifies) and `locale`, neither of which can be recovered from the schema's pattern/enum alone.

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?

With 0% schema description coverage across 9 parameters, the description carries the burden and does substantial work: it enumerates template and size enums, explains that `text` holds 'your words' keyed to slots that can overflow, clarifies `pix` requires the key, and defines `version` as an override of the default draft, plus the carousel page behavior. `slug` and `locale` remain unexplained, so coverage is strong but not complete.

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?

The description gives a concrete verb and resource ('Draw one of the brand's post templates'), names the output artifact and its format (PNG/JPEG with a link), and enumerates the exact template and size values. It stops short of naming the closest sibling (render_design) to say how rendering a template differs from rendering a design, so the agent must infer that boundary.

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?

Clear operational guidance: 'Uses the draft unless you name a version', 'pix (send the Pix key)', and 'carousel (5 pages)' tell the agent conditionally what to supply. There are no explicit exclusions or named alternatives telling the agent when render_design or generate_art would be the better choice.

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.

Resources