Skip to main content
Glama

Render a template with your photos

fill_template

Render a finished image: give it a template id from search_templates and the photo URLs to place, and it returns the rendered design. Photos are placed into the template's image slots in the order given, so pass them in the order you want them to appear. Photos attached in the conversation go in photos; photos already on the web go in images. Each render spends one agentic token.

Input Schema

NameRequiredDescriptionDefault
imagesNoPublicly reachable image URLs, in placement order.
photosNoPhotos the person attached in this conversation, in placement order. Use this OR images, not both.
coverIdYesTemplate id, from a search_templates result.

Output Schema

NameRequiredDescriptionDefault
noteNo
upsellNo
optionsYes
matchedByNo
remainingNo
requestedNo
entitlementNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations (readOnly=false, openWorld=true, destructive=false), the description discloses two things the agent could not infer: placement is positional and order-sensitive, and each render consumes one agentic token — an important cost signal before calling. It stops short of saying whether renders are persisted, retrievable later, or reversible.

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?

Four compact sentences, front-loaded with the action and result, then the ordering rule, then the param split, then the cost. Every clause carries information an agent needs; nothing is padding.

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?

An output schema exists, so the description needn't detail return values, and it covers the workflow prerequisite, ordering semantics, and cost. The only gap is failure behavior — what happens if a URL is unreachable or a slot count doesn't match the photos supplied.

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?

Schema description coverage is 100%, so all three parameters are already documented, including the photos-vs-images exclusivity and ordering. The description restates that guidance in prose with slightly more vivid framing ('pass them in the order you want them to appear') but adds no new constraint, so the baseline 3 applies.

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 opens with a specific verb and artifact ('Render a finished image') and explains the two inputs that produce it, so the operation is unambiguous. It references search_templates as the source of the id but does not explicitly distinguish this tool from create_designs or upload_images, which keeps it short of a 5.

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 concrete routing guidance: get the template id from search_templates, and choose `photos` for conversation attachments vs `images` for web URLs. What is missing is an explicit statement of when to use this instead of create_designs, or when a render is inappropriate.

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.