Skip to main content
Glama

Start an ad record

create_ad

Starts an ad record from a written brief and one slot per shot in cut order, linking takes and edits to the correct shot.

Instructions

Free. Starts the ad's record once the script and shot list are written: brief (product, audience, message, notes with the product page's facts) and slots, one per shot in cut order ({ id: "hook", shot: "what it shows and the line it carries" }). Pass its ad_id and a slot to check_take when you check a take, and ad_id to render_edit with each clip's slot. people_only: true marks a shot with no product, label or detail in any frame. Mistakes to avoid: one slot for two shots; a new record per take; slot ids you will not reuse.

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>",
      "slots": "<slots>"
    },
    "name": "create_ad"
  }
}

Input Schema

NameRequiredDescriptionDefault
briefYes
slotsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.78.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the safety profile is known; the description adds the non-obvious cost trait ('Free') and the lifecycle contract that the returned ad_id must be threaded into check_take and render_edit. It does not state whether the record can be edited afterward or what happens if creation is repeated, beyond the implicit reuse hint.

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?

Highly compressed with no wasted sentences: cost first, then creation contract, then downstream wiring, then pitfalls. The telegraphic register and nested parentheses make it dense rather than padded, which suits an agent parsing it for rules.

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?

With no output schema, the description correctly implies the return value by telling the agent to 'Pass its ad_id' downstream. Given a nested object schema at 0% coverage, it covers the structural essentials and failure modes; only field-level constraints and post-creation mutability remain unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the payload is deeply nested, so the description carries the burden and largely does: it enumerates the brief subfields (product, audience, message, notes holding the product page's facts), defines the slot shape and cut-order cardinality, and explains people_only. The id format constraint (lowercase, 24-char limit) and length limits are left entirely to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Starts the ad's record') and immediately scopes it with the precondition 'once the script and shot list are written', plus what gets stored (brief and slots). It is distinguishable from downstream consumers because it names check_take and render_edit as the tools that receive the ad_id, though it does not explicitly contrast with update_ad or create_film_draft.

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?

"once the script and shot list are written" gives a clear prerequisite, and "Free" signals no cost barrier to creating. The 'Mistakes to avoid' clause supplies real when-not guidance ('a new record per take' implies reuse the ad_id rather than re-creating), but no alternative tool is offered for the cases where creating is wrong.

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