Skip to main content
Glama

Price a music video

music_video_estimate
Read-only

Free. The server quote for a plan and the plan as the server made it. Pass quote.render_cents to studio_render as confirm_cents. To use only part of the song or change how many pictures are made, edit the plan yourself: set music_plan.track.start_s / end_s (seconds; 10 s to 8 min) and music_plan.picture_count, then call music_video_estimate — it answers the re-cut plan and its price. Ignore any mention of on-screen buttons in reply. Captions on a song are always whole lines (never word sync).

Args: song_id: a read song. music_plan: the music_plan from music_video_director.

Returns: {ok, quote:{render_cents, outstanding_cents, fits, blockers, warnings, items}, music_plan}

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": {
      "song_id": "<song_id>",
      "music_plan": "<music_plan>"
    },
    "name": "music_video_estimate"
  }
}

Input Schema

NameRequiredDescriptionDefault
song_idYesA song id from song_from_library.
music_planYesThe `music_plan` from music_video_director.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, and the description adds real content beyond that: the call is free, it returns blockers/warnings/fits so it can be used as a preflight, and captions are always whole-line rather than word sync. The odd instruction about `reply` mentions buttons without explaining why, which is a small clarity cost.

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?

Dense but front-loaded with the key fact (free) and the pricing-to-render hand-off, then the modification workflow. A few phrasings are awkward ('the plan as the server made it'), but every sentence carries operational content.

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

Completeness5/5

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

With no output schema, the description still enumerates the return shape (quote with render_cents, outstanding_cents, fits, blockers, warnings, items, plus music_plan). Combined with the free/read-only semantics, an agent has everything needed to call and interpret it.

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

Parameters5/5

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

Although schema coverage is 100%, the music_plan schema is an untyped open object, so the description carries the real semantics: start_s/end_s ranges (10 s to 8 min), picture_count, and the requirement that music_plan come from music_video_director. That is meaning an agent could not get from the schema.

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?

The description states this is a free server-side quote for a plan plus the server-normalized plan, and contrasts it implicitly with studio_render (which takes confirm_cents) and music_video_director (which produces the plan). The precise verb 'price/quote' lives mostly in the title and the returning shape, so the body is clear but not verb-first.

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 gives an explicit next step ('Pass quote.render_cents to studio_render as confirm_cents') and an explicit edit-then-recall workflow for changing track start/end or picture_count. It also states what not to trust ('Ignore any mention of on-screen buttons in `reply`'), leaving nothing for the agent to infer.

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