Skip to main content
Glama

Quote a lyric video

quote_lyric_video
Read-onlyIdempotent

The exact credits for a lyric video, before anything is charged. Returns quote_id, credits (total), credits_per_video and a breakdown. Always quote first and tell the user the credits before creating; credits are reserved at creation and charged only when the video is delivered. A quote is valid for 30 minutes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lookYes{"mode":"existing","id":"look_…"} to reuse a saved Look, or {"mode":"new","category":"…","background":{"source":"ai-image","quality":"high"},"visibility":"private","direction":"…","feature_artist":"auto"} to have one designed
trimNoRender only this section of the song (at least 8 seconds)
displayNoWhich elements show (title, artist, cover, lyrics, badges, headline) and their sizes
song_idYesThe song id
metadataNoYour own JSON (an order id, for example): kept with the video and returned in its request. Quote and create with the same value
variationsNo1–4 different New Looks, one video each (an Existing Look renders one)
callback_urlNoAn https URL to POST the finished video to (signed; see Callbacks). Quote and create with the same value
aspect_ratiosNoFormats to render, each its own file: "9:16" (vertical), "16:9" (wide), "1:1" (square)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly and idempotent, so the bar is lower, and the description still adds real behavior: credits are reserved at creation, charged only on delivery, and the quote expires in 30 minutes. It also lists the return fields, which matters because there is no output schema. It stops short of covering idempotency semantics or what happens on quote reuse.

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 tight sentences, front-loaded with purpose and return contents, then the quote-before-create rule and validity window. No filler, though the return-field list is the only mildly expendable clause.

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 an 8-parameter tool with nested objects and no output schema, the description usefully compensates by naming the return values and explaining the reserve/charge lifecycle. The only remaining gap is how quote_id ties back into the create call, which the schema fields partially cover.

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% with detailed nested definitions (look modes, trim, aspect_ratios, metadata note "Quote and create with the same value"), so the schema carries parameter meaning. The description adds no parameter-level detail, making the baseline 3 appropriate.

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?

Specific verb (quote) plus resource (lyric video) and it explicitly frames itself as the pre-charge step before creation, which separates it from create_lyric_video. It does not name the near-sibling quote_canvas, so sibling differentiation relies on the resource name rather than an explicit callout.

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

Usage Guidelines4/5

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

"Always quote first and tell the user the credits before creating" gives an explicit ordering condition for when to call this instead of creating directly. There is no when-not guidance or comparison to quote_canvas, but the workflow context is clear and actionable.

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