Skip to main content
Glama

Build a Mirak 2.0 ad strategy, hooks and storyboard

mirak_plan_ad
Read-onlyIdempotent

Build a Miracle Ads (Mirak 2.0) advertising blueprint with persuasion framework, hook variants, 4-scene storyboard, compliance preflight scorecard, and tracked attribution URL (read-only; does not save to the workspace — call mirak_save_project to persist). Pass use_ai: false for an instant deterministic blueprint at 0 credits, or omit/set use_ai: true for Frontier AI enhancement (6 credits). Use this for single-ad strategy and storyboards; use mirak_create_pack to build and save a locked-body multi-hook A/B pack, mirak_winning_ads to browse curated reference blueprints, plan_cinema for standalone films or documentaries, and plan_batch to schedule finished social posts. Returns ok, ai_engine, blueprint, studio_url, and credits.

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": {
      "brief": "<brief>"
    },
    "name": "mirak_plan_ad"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoAd creation mode (default quick_ad): quick_ad (fast single-brief ad), live_director (voice-first directing), product_demo (real website/app screen walkthrough), premium_director (cinematic multi-scene commercial), performance_pack (multi-hook A/B blueprint), ad_remake (original remake from reference DNA), campaign_builder (multi-channel ad plan), or smart_repurpose (adapt existing content or landing page).
briefYesProduct, business, offer, or ad objective description (required, minimum 5 characters).
titleNoOptional campaign or ad blueprint title.
use_aiNoSet false for a deterministic 0-credit blueprint; true (default) runs Frontier AI enhancement (6 credits).
industryNoBusiness category (e.g. saas, medical_clinic, restaurant, ecommerce, small_business).
languageNoOutput language for hooks, storyboard, and Studio link: en (default), ht (Haitian Creole), fr (French), or es (Spanish).
platformNoTarget ad placement (default instagram_reels; e.g. instagram_reels, facebook_feed, tiktok, youtube_shorts, linkedin).
offer_urlNoOptional destination HTTPS URL to embed in tracked attribution links.
hook_countNoNumber of hook variants to generate (3 to 12).
target_duration_secNoTarget duration in seconds (10 to 60).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds what annotations cannot: this call does not persist anything and requires mirak_save_project to save, plus the credit cost of each engine path (0 vs 6). It also enumerates the response keys (ok, ai_engine, blueprint, studio_url, credits), removing ambiguity about what comes back even though no output schema exists.

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: the deliverable set comes first, then persistence caveat, then cost options, then sibling routing. The four-way sibling enumeration makes the paragraph long, but each clause carries routing information an agent would otherwise have to guess.

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 10-parameter generation tool with no output schema, the definition covers the critical unknowns: no persistence, save path, credit pricing, and the shape of the return. Combined with 100% parameter description coverage there is nothing essential left for the agent to infer.

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 100%, so the schema already documents all ten parameters, and the description's use_ai sentence largely restates the schema text verbatim. Beyond that it adds only a light hint ('single-ad strategy and storyboards') that maps to the mode enum; baseline 3 applies because the schema carries the semantic 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 concrete verb (build) and a concrete deliverable set (persuasion framework, hook variants, 4-scene storyboard, compliance scorecard, tracked attribution URL), then names the siblings it is not (mirak_create_pack, mirak_winning_ads, plan_cinema, plan_batch). An agent can distinguish this from every plausible alternative without opening a schema.

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?

Gives explicit routing rules with the condition for each alternative: mirak_create_pack for locked-body multi-hook A/B packs, mirak_winning_ads for browsing reference blueprints, plan_cinema for standalone films, plan_batch for scheduling finished posts. It also supplies a decision knob (use_ai false vs true with credit costs), which is exactly the trade-off an agent must resolve before calling.

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