Skip to main content
Glama

Generate CTAs (Hook Studio step 4)

ctas_generate

[writes flayr data · write scope] Writes a batch of draft calls to action for the confirmed offers, claims-checked against where they point. Charges Embers once per call (refunded when nothing usable comes back). Needs the Pro plan or higher. (Wraps POST /api/v2/hook-studio/ctas/generate.)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ctas_generate"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNo
brandIdNoA brand id from GET /api/v2/brands. Required for an account-wide key; a brand-bound key may omit it.
offerIdsNo
platformsNo
destinationNoAn https link every CTA may point at, or `bio` for link in bio.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only flag this as a non-destructive, non-idempotent write; the description adds genuinely new behavior: it writes 'flayr data', requires the `write` scope, charges Embers once per call with a refund when nothing usable is returned, and requires the Pro plan. That is strong disclosure of cost and failure semantics, though it does not say what state the drafts land in or how to retrieve them afterward.

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?

Two dense sentences, front-loaded with the scope/plan tag so an agent sees the write and billing implications immediately. The trailing '(Wraps POST /api/v2/hook-studio/ctas/generate.)' adds modest value; nothing is bloated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a paid, mutating generation tool with no output schema, the description covers cost, plan, and prerequisite state well but leaves the result opaque — an agent cannot tell whether it gets draft CTA ids, whether generation is synchronous, or that ctas_list is the way to read them back. Adequate but with a clear gap on the return side.

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 only 40% (brandId and destination), so the description has to compensate and it does so only partially: 'confirmed offers' maps loosely to offerIds and 'where they point' to destination, but count and platforms get no explanation in either place. The added meaning is real but incomplete against the coverage gap.

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 ('Writes a batch of draft calls to action') and scopes it to 'confirmed offers, claims-checked against where they point,' plus the workflow position ('Hook Studio step 4'). It does not, however, distinguish itself from close siblings like ctas_create (manual creation) or hooks_generate, so an agent must still infer which generation path to take.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Prerequisites are given ('for the confirmed offers', 'Needs the Pro plan or higher'), which implies usage order, but there is no explicit when-to-use-this-vs-alternatives guidance despite several neighbouring CTA tools (ctas_create, ctas_list, cta_check, hooks_generate). Usage is implied rather than instructed.

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