Skip to main content
Glama

Preview final metadata

preview_metadata
Read-only

Preview the final YouTube metadata, including title, description, tags and playlists, before publishing. Check limits, chapter rules and SEO scoring without spending API quota.

Instructions

Show exactly what would be sent to YouTube (title, description, tags, playlists) after applying a template, check it against YouTube’s limits and chapter rules, and score its SEO/packaging (0-100 with fixes). No API call, no quota.

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": {
      "title": "<title>"
    },
    "name": "preview_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoTags (total under 500 characters).
titleYesVideo title (max 100 characters; about 70 show on mobile).
keywordNoMain search phrase, for the SEO score.
licenseNo
templateNoTemplate name from list_templates (adds title format, footer, tags, hashtags, playlists).
embeddableNo
category_idNoYouTube category id, e.g. 22 People & Blogs, 27 Education, 28 Science & Technology. See list_categories.
descriptionNoDescription. Template header/footer/hashtags are added automatically.
made_for_kidsNoCOPPA: is this video made for kids? Defaults to false (or the template value).
default_languageNoLanguage of title/description, e.g. "en".
duration_secondsNoVideo length, so the SEO score can check chapters.
default_audio_languageNoSpoken language, e.g. "en", "hi".
contains_synthetic_mediaNoAltered or synthetic content disclosure: true if realistic content was made or altered with AI.
has_paid_product_placementNoPaid promotion disclosure: true if the video contains paid product placement, sponsorship or endorsement.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.1.0
    • addedInput schema / properties / duration_seconds
      Added value: +{
      +  "description": "Video length, so the SEO score can check chapters.",
      +  "type": "number"
      +}
    • addedInput schema / properties / has_paid_product_placement
      Added value: +{
      +  "description": "Paid promotion disclosure: true if the video contains paid product placement, sponsorship or endorsement.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / keyword
      Added value: +{
      +  "description": "Main search phrase, for the SEO score.",
      +  "type": "string"
      +}
  2. First observedv1.0.1

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false; the description reinforces this with "No API call, no quota," which is meaningful assurance for an agent about to simulate a mutation. It also discloses what the response contains (checks and an SEO score with suggested fixes), going beyond the annotation surface, though it does not describe how the fixes are structured.

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?

A single front-loaded sentence that leads with the payoff (exact payload preview) and ends with the cost-saving guarantee. Slightly dense with three clauses, but every clause carries information and there is no filler.

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 14-parameter read-only preview with no output schema, the description covers what is computed (rendered metadata, limit/chapter validation, SEO score with fixes) and what is not incurred (quota). The main residual gap is the shape of the returned preview, but the conceptual contract is sufficient to call it correctly.

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 coverage is 86%, so nearly every parameter is already documented in the schema. The description restates the high-level inputs (title, description, tags, playlists) and notes that templates supply title format, footer, tags, hashtags and playlists, but adds no syntax or precedence rules beyond that.

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-plus-resource: shows the exact metadata payload that would be sent to YouTube after a template is applied, then validates it against limits/chapter rules and scores SEO. That composite output (rendered metadata + validation + 0-100 score with fixes) clearly separates it from generate_metadata and update_video.

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?

"No API call, no quota" gives the decisive when-to-use signal: dry-run here instead of pushing changes. Sibling names are not used explicitly, so an agent must infer that upload_video/update_video are the alternatives, but the usage context is unambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.