Skip to main content
Glama

Render generated media

render_job_media
Read-only

display generated images, video and 3D (glb meshes and gaussian splat worlds) inline using the OTOY media viewer. accepts request_ids from run_endpoint calls, output_ids from list_generations/check_job, or file_ids from uploaded/stored files. supports stacked media and configurable layouts. can be called IMMEDIATELY after starting a generation: jobs still in progress show a live progress view that updates to the finished media automatically (in hosts that support widget tool calls) - you still need check_job if you want the result urls yourself.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "render_job_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
layoutNohow to display multiple resultscarousel
file_idNostored file id (from file_metadata.id or uploads)
file_idsNomultiple file ids
output_idNopersistent output id from list_generations or check_job output_ids
output_idsNomultiple output ids
request_idNothe job ID returned from a run_endpoint call
request_idsNomultiple job IDs for stacked/carousel display

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only, non-destructive, closed-world behavior, so the description is free to add the genuinely non-obvious trait: it can be called immediately on an in-progress job and shows a live progress view that resolves to finished media in widget-capable hosts. It does not say what happens with invalid or mixed ID types, which is the remaining gap.

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?

Information is front-loaded: what it displays, then accepted ID sources, then the live-progress behavior, then the check_job caveat. It is dense and mostly earns its space, though the long run-on sentences with lowercase starts reduce scannability slightly.

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 seven-parameter, zero-required rendering tool with no output schema, the definition covers input sources, layout behavior, and the unusual in-progress rendering path. Only edge cases such as invalid IDs or mixed ID types are left 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 coverage is 100% and the schema descriptions already state the provenance of request_id, output_id and file_id, so the description largely restates that mapping. It adds only mild value by implying stacked media and configurable layouts, without clarifying whether different ID types may be mixed in one call.

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?

The description opens with a specific verb+resource ('display generated images, video and 3D') and enumerates the accepted ID types, which immediately separates it from siblings like check_job and list_generations that produce IDs rather than render them.

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?

It explicitly names the upstream sources that supply each ID type (run_endpoint, list_generations/check_job, uploaded files) and draws a clear boundary against an alternative: 'you still need check_job if you want the result urls yourself.' That is a concrete when-to-use and when-to-use-something-else statement.

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