Skip to main content
Glama

Build a controlled multi-hook Performance Ad Pack

mirak_create_pack
Destructive

Build and save a controlled single-variable multi-hook Performance Ad Pack (2 to 5 opening hooks sharing byte-identical locked body scenes, each with a unique mirak_cid tracking ID and render quote) in the owner's Metravane AI workspace (free, 0 credits). Workspace write effect: inserts or upserts (when idempotency_key is reused) a quoted pack row only — deletes nothing, renders no video, and publishes nothing externally (marked write/non-idempotent because idempotency_key is optional). Use this to persist a testable multi-hook pack; use mirak_plan_ad instead for read-only single-ad strategy and storyboard planning without saving a pack. Returns ok, pack (variants, lockedBodyDigest, quote), saved_pack (id, title, locked_body_digest, variant_count, status), 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_create_pack"
  }
}

Input Schema

NameRequiredDescriptionDefault
briefYesOffer or ad brief to turn into a controlled multi-hook pack (required, minimum 5 characters).
titleNoOptional pack title (up to 160 characters).
languageNoOutput language for hooks, storyboard, and Studio link: en (default), ht (Haitian Creole), fr (French), or es (Spanish).
offer_urlNoOptional HTTPS destination URL embedded in each variant's tracked mirak_cid link.
hook_countNoNumber of opening hook variants to test against the locked body scenes (2 to 5, default 3).
idempotency_keyNoOptional caller-supplied key for replay-safe pack upserts instead of creating duplicate rows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Strong disclosure beyond the annotations: it quantifies cost (free, 0 credits) and scopes the write effect (inserts or upserts a pack row, renders no video, publishes nothing externally), and explains why the tool carries the non-idempotent flag (idempotency_key is optional). The one soft spot is that 'deletes nothing' sits in mild tension with destructiveHint=true without explaining that an upsert with a reused idempotency_key overwrites the prior row.

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?

It is front-loaded with the definition, then effect, then alternative, then return shape, so scanning order matches agent need. It is dense and runs long as a single block, with the return-field list making it heavier than necessary, but no sentence is purely filler.

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?

There is no output schema, yet the description enumerates the return payload (ok, pack with variants/lockedBodyDigest/quote, saved_pack fields, studio_url, credits), so an agent knows what it will get back. Combined with cost, write scope, and the explicit alternative, nothing needed to call this correctly 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 coverage is 100%, so the schema already documents all six parameters, and the description only restates a few (2-5 hooks, unique mirak_cid per variant). It does add behavioral meaning to idempotency_key by tying its reuse to an upsert rather than a duplicate row, which is genuine value beyond the schema, but the remaining parameters (language, offer_url, title) get no extra semantic depth in the description.

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?

The description opens with a specific verb+resource: build and save a controlled single-variable multi-hook Performance Ad Pack with 2-5 hooks over byte-identical locked body scenes, each carrying a mirak_cid and render quote. It also names the sibling it is not (mirak_plan_ad), so an agent can distinguish the two without opening either 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?

It states the selection condition explicitly: 'Use this to persist a testable multi-hook pack; use mirak_plan_ad instead for read-only single-ad strategy and storyboard planning without saving a pack.' Both the when and the when-not/alternative are spelled out, so routing 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