Skip to main content
Glama

Titles, description, hashtags and chapters

generate_metadata

Write publishing metadata from what is said: title options (titleCount, default 5), description, hashtags and YouTube chapters with timestamps, per platform (youtube default, shorts, tiktok, instagram). Pass transcriptionJobId or subtitles (1 credit per platform), or only media (adds 1 credit per minute to transcribe). Written in the video's language unless language is set; context adds creator notes. Waits ~40 s, else poll get_job. Result: platforms..{titles, description, hashtags, chapters}.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "generate_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileIdNoId of a file already uploaded with upload {action:'start'}, upload {action:'start_multipart'}, upload {action:'inline'} or import_url. Pass this or the media URL.
api_keyNoOnly for a connection without an Authorization header: the token create_key returned (av_live_...). Pass it on every call to use that key in this same session, no reconnect or config change. Ignored when the connection already sends a key. It works like a password: create a new key if this conversation is shared.
contextNoOptional notes for the writer (audience, tone, channel, keywords), max 500 characters.
languageNoOutput language. Default: the video's language.
mediaUrlNoPublic https link to the video or audio (direct file, chat attachment URL, Google Drive or Dropbox share link; YouTube is refused). Pass this or fileId.
platformsNoPlatforms to write for (youtube, shorts, tiktok, instagram), 1-4. Default youtube.
quoteOnlyNoFree: return the price without starting a job or charging. With media only (no transcript) pass durationSeconds.
subtitlesNoSRT, VTT, or transcript JSON.
maxCreditsNoSpending cap for this call in credits (1 credit = 1 cent). If the price is higher the call fails with 422 before charging.
titleCountNoHow many title options to return, 1-10. Default 5.
durationSecondsNoMedia length in seconds. Lets the price be computed without fetching media (quoteOnly, quote, plan).
transcriptionJobIdNoFinished job with captions (transcribe, caption_video, remove_silences, translate).

Output Schema

NameRequiredDescriptionDefault
idNoJob id: pass it to get_job, resume_job, edit_transcript or as transcriptionJobId.
kindNoJob kind (transcribe, burn, caption, clips, shorts, trim, dub, translate, preview, metadata...).
stepNoCurrent pipeline step while running.
errorNoFailure reason when status is failed.
resultNoResult when succeeded: url, files[{name, url}], clips, text...
statusNoqueued, running, succeeded or failed.
progressNoProgress (0-1) and ETA while running.
warningsNoNon-blocking notes.
costCentsNoCredits charged (1 credit = 1 cent).
expiresAtNoWhen the result files are deleted.
refundedCentsNoCredits refunded after a failure.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / api_key
      Added value: +{
      +  "description": "Only for a connection without an Authorization header: the token create_key returned (av_live_...). Pass it on every call to use that key in this same session, no reconnect or config change. Ignored when the connection already sends a key. It works like a password: create a new key if this conversation is shared.",
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / fileId / description
      Previous value: -"Id of a file already uploaded with create_upload, create_multipart_upload, upload_base64 or import_url. Pass this or the media URL."New value: +"Id of a file already uploaded with upload {action:'start'}, upload {action:'start_multipart'}, upload {action:'inline'} or import_url. Pass this or the media URL."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": {},
      +  "description": "A job: poll get_job with id until status is succeeded or failed.",
      +  "properties": {
      +    "costCents": {
      +      "description": "Credits charged (1 credit = 1 cent).",
      +      "type": "number"
      +    },
      +    "error": {
      +      "description": "Failure reason when status is failed."
      +    },
      +    "expiresAt": {
      +      "description": "When the result files are deleted."
      +    },
      +    "id": {
      +      "description": "Job id: pass it to get_job, resume_job, edit_transcript or as transcriptionJobId.",
      +      "type": "string"
      +    },
      +    "kind": {
      +      "description": "Job kind (transcribe, burn, caption, clips, shorts, trim, dub, translate, preview, metadata...).",
      +      "type": "string"
      +    },
      +    "progress": {
      +      "description": "Progress (0-1) and ETA while running."
      +    },
      +    "refundedCents": {
      +      "description": "Credits refunded after a failure.",
      +      "type": "number"
      +    },
      +    "result": {
      +      "description": "Result when succeeded: url, files[{name, url}], clips, text..."
      +    },
      +    "status": {
      +      "description": "queued, running, succeeded or failed.",
      +      "type": "string"
      +    },
      +    "step": {
      +      "description": "Current pipeline step while running.",
      +      "type": "string"
      +    },
      +    "warnings": {
      +      "description": "Non-blocking notes.",
      +      "items": {},
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Changed7 schema fields changed
    • addedInput schema / properties / context / description
      Added value: +"Optional notes for the writer (audience, tone, channel, keywords), max 500 characters."
    • addedInput schema / properties / durationSeconds / description
      Added value: +"Media length in seconds. Lets the price be computed without fetching media (quoteOnly, quote, plan)."
    • addedInput schema / properties / fileId / description
      Added value: +"Id of a file already uploaded with create_upload, create_multipart_upload, upload_base64 or import_url. Pass this or the media URL."
    • addedInput schema / properties / maxCredits / description
      Added value: +"Spending cap for this call in credits (1 credit = 1 cent). If the price is higher the call fails with 422 before charging."
    • addedInput schema / properties / mediaUrl / description
      Added value: +"Public https link to the video or audio (direct file, chat attachment URL, Google Drive or Dropbox share link; YouTube is refused). Pass this or fileId."
    • addedInput schema / properties / platforms / description
      Added value: +"Platforms to write for (youtube, shorts, tiktok, instagram), 1-4. Default youtube."
    • addedInput schema / properties / titleCount / description
      Added value: +"How many title options to return, 1-10. Default 5."
  4. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations (which only say readOnly=false, openWorld=true, idempotent=false): it discloses the credit price model (1 credit per platform, +1 credit/min when transcribing media), the ~40 s synchronous wait with get_job as fallback, and the language/context behaviors. That is exactly the cost, latency and async context an agent needs before invoking a non-idempotent, chargeable call.

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?

Front-loaded with the core action and outputs, then defaults, then input modes, then cost, then latency and result shape — a sensible priority order. It is telegraphic but packed with parentheticals, which makes it dense to parse even though almost no wording is wasted.

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?

For a 12-parameter, chargeable, optionally async tool with an output schema, the description covers input paths, pricing, waiting behavior, language resolution and return shape. Nothing an agent needs in order to call it correctly and interpret the response is missing.

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%, so every parameter is already documented structurally; the description mainly restates defaults (titleCount 5, platforms youtube, language). It adds a little meaning by framing context as 'creator notes' and clarifying that media-only input incurs a per-minute transcription charge. Baseline 3 is appropriate since the schema carries the load.

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 and resource — 'Write publishing metadata' — and immediately enumerates the artifacts produced (titles, description, hashtags, chapters) plus the per-platform dimension. The result shape 'platforms.<platform>.{titles, description, hashtags, chapters}' makes the output unambiguous and separates it from transcript-oriented siblings like transcribe or translate.

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?

Gives concrete input routing: pass transcriptionJobId or subtitles, or only media at extra cost, and tells the agent to poll get_job when the ~40 s wait elapses. It does not explicitly say when to prefer this over running transcribe first with a separate job, but the cost trade-off is stated clearly enough to decide.

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