Skip to main content
Glama

Organic Script From Ad

sonar_ad_spy_script

WRITE tool — adapt a proven competitor ad's FORMAT (not its claims or brand) into an organic TikTok or Reels script the user can film: hook, beats (shot + on-screen text), soft CTA, audio and caption ideas. Every call is a new AI generation and spends one of the account's daily Ad Spy lookups (plus one for the ad's first analysis when it has none yet). Requires an Indie or Agency plan (a trial counts) and an authorized Sonar account or an API key with the write scope.

Input Schema

NameRequiredDescriptionDefault
app_idNoOne of the user's own apps (an `id` from sonar_list_apps) to ground the script; omit for [YOUR APP] placeholders.
platformNotiktok (default) or reels (Instagram Reels).
creative_idYesSonar id of an ad (the `id` of an item in `ads` from sonar_ad_spy_ads) — not the Meta `ad_id`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations (which only flag non-read-only, non-idempotent, closed-world) by disclosing that every call is a fresh AI generation, consumes one daily Ad Spy lookup plus an extra lookup for a first-time ad analysis, and requires specific plan and auth scopes. This is exactly the cost/entitlement context an agent needs before invoking.

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?

Front-loaded with the operation and output shape, then prerequisites and cost. Dense but nearly every clause carries information; the second sentence is long but justified by the billing and entitlement caveats.

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?

With no output schema, the description still enumerates the returned script structure (hook, shot/text beats, soft CTA, audio, caption) plus platform targets, cost model, and plan/auth requirements. An agent has everything needed to decide and call 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 description coverage is 100%, so all three parameters are already documented in-schema, including the creative_id vs Meta ad_id distinction and the app_id placeholder behavior. The description adds the framing that only format is borrowed, but no additional per-parameter syntax or format detail, so baseline 3 applies.

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 and artifact: adapting a competitor ad's FORMAT into an organic TikTok/Reels script with named components (hook, beats, soft CTA, audio, caption). The parenthetical '(not its claims or brand)' sharply distinguishes it from ad-copying or analysis siblings like sonar_ad_spy_ad_analysis.

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?

Clearly frames the use case (turn a proven ad format into a filmable organic script) and adds preconditions: Indie/Agency plan or trial, and an authorized Sonar account or write-scope API key. It does not name a specific alternative tool or say when NOT to use it versus sonar_ad_spy_analyze_ad.

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.