Skip to main content
Glama

preview_generation

Read-onlyIdempotent

Price a clone WITHOUT creating it. Costs nothing, spends no credits, calls no provider. Use this before clone_template so the user knows the price and the resulting aspect/duration first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
avatarNoPresenter. Omit to keep the template's own.
intentNoShort description of what the user wants, max 200 chars. NOT a prompt — the server assembles the final prompt.
run_idNoOptional. Your id for this agent run (1–64 of A-Z a-z 0-9 . _ : -). Stored on every job of the run so they can be found and filed together later. Use the same value for every call of one run.
productNoProduct to advertise. Omit to keep the template's own product.
projectNoOptional. A Drama Studio film id in the workspace being charged: the finished generation is added to that film's media pool (videos on its timeline, images/audio as references). Workspace generations only; checked before any credit is spent.
qualityNoQuality tier. Model ids are server-owned and never accepted here.
overridesNoOnly set these to DELIBERATELY deviate from the template. Leaving them out is what makes it a faithful clone — the template decides aspect and duration.
workspaceNoOptional. The workspace to generate in. Only a workspace API key (Settings → Developer) can spend a workspace — this may only repeat that key's workspace id; omit it and the key's own scope is used. A personal key or a sign-in token stays personal (passing a workspace is refused).
templateIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint/idempotentHint/destructiveHint=false, but the description adds concrete, decision-relevant context beyond them: 'Costs nothing, spends no credits, calls no provider.' That tells the agent this is a zero-side-effect dry run, which the annotations alone only imply.

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?

Three tight sentences, front-loaded with the core definition, then the cost guarantee, then the usage rule. No filler; every clause carries weight.

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 9-parameter preview tool with no output schema, the description usefully names what comes back (price plus resulting aspect/duration), which is the key return information an agent needs. It does not enumerate the full response shape, but that is minor given the rich schema coverage.

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 89%, so the schema already documents nearly all nine parameters with real guidance (e.g. workspace key scoping, project charging, overrides semantics). The description adds nothing parameter-specific beyond echoing 'aspect/duration', so the baseline 3 applies.

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 (price) and resource (a clone) and immediately scopes it as non-creating: 'Price a clone WITHOUT creating it.' This cleanly distinguishes it from clone_template, which is the actual creation sibling.

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?

Explicitly names the alternative and the ordering: 'Use this before clone_template so the user knows the price...' The agent knows both when to call it and which sibling it precedes, with the reason spelled out.

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