Skip to main content
Glama

Quote video generation

quote_video_generation
Read-only

Quote source-video generation only; no export or production starts.

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": {
      "request": "<request>"
    },
    "name": "quote_video_generation"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYes

Output Schema

NameRequiredDescriptionDefault
creditsYesQuoted credits; show the amount to the user before generation.
quote_idYesShort-lived quote owned by this user and OAuth client; can bind to one logical generation key.
breakdownYesPublic cost components.
expires_atYesQuote expiry; re-quote and confirm if it expires or price changes.
resolved_exportNoResolved sampling summary for an independent FPS export.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / $defs / ReferenceVideoSelection
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "duration_seconds": {
      +      "description": "Selected duration, 2–5 seconds; the live model may allow less. Rounded half up to 1/24 second; quotes and generation use the same normalized range.",
      +      "maximum": 5,
      +      "minimum": 2,
      +      "title": "Duration Seconds",
      +      "type": "number",
      +      "x-description-zh": "选区时长 2–5 秒,实时模型可能上限更低。四舍五入到 1/24 秒,报价和生成共用规范化选区。"
      +    },
      +    "processing": {
      +      "default": "original",
      +      "description": "original is the default and uses the original clip; opt in to depth for motion/depth conversion, which adds processing time. Processing starts only after generation is submitted.",
      +      "enum": [
      +        "depth",
      +        "original"
      +      ],
      +      "title": "Processing",
      +      "type": "string",
      +      "x-description-zh": "默认 original,使用原画面片段;可主动选择 depth 进行深度转换,这会增加处理时间。仅提交生成后才处理。"
      +    },
      +    "start_seconds": {
      +      "default": 0,
      +      "description": "Source start in seconds, rounded half up to the nearest 1/24 second. Independent of the source FPS.",
      +      "maximum": 30,
      +      "minimum": 0,
      +      "title": "Start Seconds",
      +      "type": "number",
      +      "x-description-zh": "来源开始秒数,四舍五入到最近的 1/24 秒;与原视频帧率无关。"
      +    }
      +  },
      +  "required": [
      +    "duration_seconds"
      +  ],
      +  "title": "ReferenceVideoSelection",
      +  "type": "object"
      +}
    • addedInput schema / $defs / VideoGenerationQuoteRequest / properties / reference_video
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/ReferenceVideoSelection"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Planned reference selection, without source IDs. Uses the same normalization and pricing as generation; quoting never processes video.",
      +  "x-description-zh": "计划参考选区,不含来源 ID;与生成共用规范化和计价,报价不处理视频。"
      +}
  2. Added

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description is consistent with them by confirming nothing is produced or exported. Beyond that consistency check it adds no behavioral detail such as whether the quote expires, whether it reserves capacity, or that quoting never processes video footage (that fact lives only in the schema).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short sentence with zero filler and the key scoping clause front-loaded after the semicolon. It is arguably over-compressed for a tool whose parameter tree involves transparency modes, reference-video selection, and input canvas framing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists so return values need no explanation, and annotations carry the safety profile. But for a nested, fairly complex quote request the description gives only a one-line scope statement, omitting when to quote versus generate and the coupling between quote options and the eventual create.

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

Parameters2/5

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

Top-level schema description coverage is reported at 0% and the single 'request' parameter is not explained at all in the description. The nested schema is unusually rich on its own, but the description makes no attempt to surface the important constraint that the quoted options must match the later create call.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('quote source-video generation') and immediately scopes it away from export or production, which separates it from generate_video and export_animation. It stops short of saying the output is a price estimate, so 'quote' requires inference.

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

Usage Guidelines3/5

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

The phrase 'no export or production starts' implies this is a pre-flight cost check rather than the generating call, which is useful routing context. However it never explicitly says to call this before generate_video or what to do with the result, leaving the when-to-use decision implied.

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