Skip to main content
Glama

Get rendered images

get_batch_outputs
Read-onlyIdempotent

Returns the download URLs of a batch's rendered images, one page of jobs at a time (page from 1, up to 20 jobs a page; a page past the end is empty), with each job's status and format; downloadUrl is null until that job has rendered. URLs are temporary, so a later call returns fresh ones. Row values and render errors are not included (get_batch_jobs has them), and get_batch is lighter for checking progress. inspect_image can view a downloadUrl. Needs batches:read, renders:read, and creatives:read.

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": {
      "batchId": "<batchId>"
    },
    "name": "get_batch_outputs"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, starting at 1
limitNoResults per page (default 10); values above 20 are capped at 20
batchIdYesBatch ID returned by create_batch or list_batches

Output Schema

NameRequiredDescriptionDefault
pageYes
itemsYes
limitYesPage size actually applied

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedOutput schema / properties / items / items / properties / outputFormat / description
      Previous value: -"File format the job renders to"New value: +"File format the job renders to: png, jpeg, webp, mp4 or gif"
    • removedOutput schema / properties / items / items / properties / outputFormat / enum
      Removed value: -[
      -  "png",
      -  "jpeg",
      -  "webp",
      -  "pdf",
      -  "mp4",
      -  "gif",
      -  "webm",
      -  "mov"
      -]
    • changedOutput schema / properties / items / items / properties / outputKind / description
      Previous value: -"image for still renders (png, jpeg, webp, pdf); video for mp4, gif, webm or mov"New value: +"image for still renders (png, jpeg, webp); video for mp4 or gif"
  2. Changed1 schema field changed
    • changedOutput schema / properties / items / items / properties / flowId / anyOf
      Previous value: -[
      -  {
      -    "format": "uuid",
      -    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  3. Changed2 schema fields changed
    • addedOutput schema / properties / items / items / properties / flowId
      Added value: +{
      +  "anyOf": [
      +    {
      +      "format": "uuid",
      +      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The flow this job renders as a video, if any"
      +}
    • changedOutput schema / properties / items / items / properties / rowIndex / description
      Previous value: -"The job's row in the batch, from 0, in the order rows were given"New value: +"The job's row in the batch, from 0, in the order rows were given. One row's jobs across pages or flows share it"
  4. Changed8 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / batchId / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
    • addedInput schema / properties / limit / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / page / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / items / items / properties / id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
    • addedOutput schema / properties / items / items / properties / rowIndex / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / limit / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / page / maximum
      Added value: +9007199254740991
  5. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations: pagination is 'one page of jobs at a time', a page past the end returns empty, downloadUrl is null until rendering finishes, and URLs are temporary so later calls return fresh ones. Required permissions are disclosed, which annotations do not cover. The 'fresh URLs' note sits in mild tension with idempotentHint, but that hint concerns server state, not response contents, so it is not a contradiction.

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?

Front-loaded with the core action and outcome, with pagination details parenthesized rather than interrupting the main clause. The first sentence is dense, packing cap, empty-page behavior, per-job status/format, and null semantics into one long clause, but every phrase carries information and nothing is filler.

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?

An output schema exists, and the description still covers the details an agent most needs when consuming it: downloadUrl null until rendered, temporary URLs, and what fields are excluded. Permissions, pagination edges, and sibling alternatives are all present, leaving no predictable failure mode unaddressed.

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 page, limit, and batchId are already documented in the schema, including the 20-per-page cap. The description restates the page-from-1 and 20-jobs-a-page behavior without adding syntax or meaning beyond that. Baseline 3 is appropriate since the schema does the heavy lifting.

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: 'Returns the download URLs of a batch's rendered images', scoped to paginated jobs. It also explicitly separates this tool's output from get_batch_jobs (row values, render errors) and get_batch (progress), so an agent can distinguish it from siblings without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete routing rules: use get_batch_jobs when row values or render errors are needed, use get_batch for lighter progress checks, and use inspect_image to view a downloadUrl. It also states the prerequisite scopes (batches:read, renders:read, creatives:read), which is the when-you-may-call condition.

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