Skip to main content
Glama

Show media preview

show_media_preview
Read-onlyIdempotent

Display actual VideoGen images, video, or audio in the conversation. After generation or export succeeds, call this with the returned file ids to show the finished results. Also use it for existing files found with list_files. Fetches fresh authorized file URLs; it does not generate, modify, or publish anything. Use file ids from VideoGen results, not invented URLs or substitute illustrations.

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": {
      "fileIds": "<fileIds>"
    },
    "name": "show_media_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileIdsYesCompleted VideoGen file ids (vg_file_...) to display.

Output Schema

NameRequiredDescriptionDefault
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description still adds real context beyond them by stating it fetches fresh authorized file URLs and explicitly does not generate, modify, or publish anything. It stops short of describing failure modes for invalid or expired file ids.

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?

Four short sentences, front-loaded with the action and immediately followed by the trigger condition, so the most decision-relevant information arrives first. The final clause slightly restates the preceding one ("file ids from VideoGen results" vs. "not invented URLs"), a minor redundancy in an otherwise waste-free description.

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 single-parameter, read-only display tool with an output schema and full annotation coverage, this is nearly complete: trigger, source of ids, and security posture are all stated, and return values needn't be described. Only error handling for bad ids is absent, which is a small gap at this complexity level.

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?

Schema coverage is 100% and the schema already specifies the vg_file_ prefix and the 1-12 array bounds. The description adds provenance meaning the schema cannot: ids must come from VideoGen results, not invented URLs, which tells the agent where to source values rather than just their format.

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 plus resource: "Display actual VideoGen images, video, or audio in the conversation." It also implicitly separates itself from list_files by casting that sibling as the discovery step and this one as the rendering step, so an agent can pick between them 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?

Usage conditions are explicit and sequenced: call it after generation or export succeeds with the returned file ids, and also for existing files found with list_files. It adds a genuine exclusion — do not pass invented URLs or substitute illustrations — which is exactly the kind of negative guidance that prevents misfires.

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.