Skip to main content
Glama

render

Generate a single image from a prompt using the active model and return it with its seed and file path; reuse a prior seed to reproduce or adjust the composition.

Instructions

Render one image with the active model and return it. Read get_guide first.

Args: prompt: The full positive prompt, exactly as the model should receive it. negative_prompt: Negative prompt. Only for models that take one (see get_guide). seed: Omit for a fresh random seed. Pass the seed of an earlier generation to reproduce it or to change one thing while keeping the composition. size: One of the size names from get_guide. Omit for the default. params: Overrides for the tunable params from get_guide. scene: The scene sheet this prompt was written from, in plain language. Stored with the generation so the scene can be revised later. Not sent to the model.

Returns a JSON summary (generation_id, seed, image_path) and a preview image. If the render outlasts this call the status is "running": call get_generation to collect it.

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": {
      "prompt": "<prompt>"
    },
    "name": "render"
  }
}

Input Schema

NameRequiredDescriptionDefault
seedNo
sizeNo
sceneNo
paramsNo
promptYes
negative_promptNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it discloses the async 'running' status and the follow-up call, the return shape (generation_id, seed, image_path plus preview image), and that `scene` is stored but not sent to the model. It omits failure modes, cost/latency expectations, and required environment setup, so not a 5.

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, prerequisites, per-arg semantics, and return behavior are front-loaded in that order with no filler sentence. The Args block is slightly verbose in its bullet formatting but each line adds distinct information.

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?

No output schema exists, so the description's explicit return summary and async handling are necessary and present. For a mutation-with-side-effects render tool it leaves error handling and environment prerequisites implied, but an agent has enough to invoke correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, yet every one of the six parameters is given meaning the schema cannot provide: seed omission means random and reuse means reproduction, size names come from get_guide, params are overrides of guide-listed tunables, and scene is metadata not sent to the model. This fully compensates for the empty schema.

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 concrete verb and resource ('Render one image with the active model and return it') and implicitly distinguishes itself from get_generation, which is named as the collector for outlasting renders. An agent can tell what this does and how it relates to its siblings without opening the schema.

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 prerequisite ('Read `get_guide` first') and an explicit routing rule for the async case ('status is "running": call get_generation to collect it'). It does not state when-not to use this tool or any invalid-input conditions, so it stops short of the top band.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.