Skip to main content
Glama

IndiaDigital

Validate and repair a recipe or plan

validate_edit_plan
Read-onlyIdempotent

Check a recipe (or a bare edit plan) before building a link. Repairs what it can (template names, aspect words, Dropbox links, option values, dates) and lists errors and warnings.

Input Schema

NameRequiredDescriptionDefault
langNo
logoNohttps link to a logo image.
planNoA full edit plan (get_edit_plan_schema).
briefNoWhat to make, in words, e.g. "30-second Diwali reel for Sharma Sweets, 20% off". Picks a template and fills fields when they are missing.
mediaNohttps links to photos/clips/songs (hosts must allow CORS, e.g. raw.githubusercontent.com, res.cloudinary.com).
musicNohouse | cinematic | lofi | tabla | corporate | none | https link to a song.
stepsNoMedia to fetch or make in the viewer’s browser before editing (max 10 steps, 12 items). Stock: {"type":"stock","query":"indian sweets","kind":"photo|illustration|video","count":3,"orientation":"vertical"} uses Pixabay with the viewer’s free key. Generate: {"type":"generate","mode":"t2i|t2v|i2v","prompt":"…","seconds":5,"aspect":"9:16"} uses the viewer’s own AI keys or ComfyUI; they confirm the ₹ cost first. Nothing runs on this server.
styleNoEdit style for your own clips (needs media).
aspectNo
fieldsNoTemplate field values by field id.
recipeNoA video recipe (see get_edit_plan_schema {which:"recipe"}). You can also pass its keys directly.
templateNoTemplate id from list_video_templates.

Output Schema

NameRequiredDescriptionDefault
okYes
errorsYes
recipeNo
repairedYes
warningsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the lower bar applies. The description still adds real value by naming the repair categories (template names, aspect words, Dropbox links, option values, dates) and disclosing that it returns both errors and warnings, which tells the agent the call is self-healing rather than a pure pass/fail gate.

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

Conciseness5/5

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

Two sentences, no filler, with the precondition ("before building a link") front-loaded and the repair/error behavior following immediately. Every clause carries information.

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 12-parameter, nested-object tool with an output schema and strong annotation coverage, the description covers the essential framing: it validates and repairs rather than builds. The only gap is that it never notes the tool can assemble a plan from loose inputs (brief, style, media, steps), which an agent only learns from the schema.

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 83% and the description mentions no individual parameters, so per the baseline this lands at 3. The schema already carries the heavy lifting (enum meanings, step shapes, CORS notes), and the description adds nothing beyond acknowledging the recipe/plan inputs.

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?

"Check a recipe (or a bare edit plan) before building a link" gives a specific verb (check/repair), a specific resource (recipe or edit plan), and explicitly positions it as the pre-flight step ahead of build_video_link, so an agent can separate it from the sibling that actually produces a link.

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?

The description supplies a clear when-to-use rule: run it before building a link, accepting either a full recipe or a bare plan. It does not state when-not to use it or what to do if validation returns errors, but the sequencing guidance is unambiguous.

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