Skip to main content
Glama
Hermoso

Hermoso

Official

Plan ad variations

plan_variations

Plan multiple distinct ad angles from one brief, each with its own headline and visual brief, so you can render and score them later.

Instructions

Fan a brief into N DISTINCT ad angles (different hooks/mechanics/audiences), each with its own headline + visual brief — then render each with generate_image and rank with score_ad. LLM planning only; renders nothing itself. To plan AND render a batch of finished static ads for one or several products in one call (up to 20 per product), use make_static_ads.

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": {
      "product": "<product>"
    },
    "name": "plan_variations"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandNobrand name or profile object; OMIT to use the workspace’s saved brand
countNohow many distinct variants (default 6)
productYeswhat to advertise
get_costNotrue: return the price only; nothing runs or bills
languageNooutput language for the variant copy (e.g. Spanish) — default English
idempotency_keyNochosen once, resent unchanged on retries: the same key never buys twice
expected_creditsNothe get_cost price; refused unbilled if the live price differs

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.532
    • addedInput schema / properties / expected_credits
      Added value: +{
      +  "description": "the get_cost price; refused unbilled if the live price differs",
      +  "type": "number"
      +}
    • addedInput schema / properties / get_cost
      Added value: +{
      +  "description": "true: return the price only; nothing runs or bills",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "description": "chosen once, resent unchanged on retries: the same key never buys twice",
      +  "type": "string"
      +}
  2. Changed1 schema field changedv0.1.161
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": false,
      -  "properties": {
      -    "angles": {
      -      "description": "alternate key the planner may return the variants under",
      -      "items": {},
      -      "type": "array"
      -    },
      -    "variants": {
      -      "description": "the distinct ad angles ({name, hook, headline, visual brief})",
      -      "items": {},
      -      "type": "array"
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false, so the main extra value the description adds is scoping side effects: it plans but renders nothing, leaving image generation and scoring to other tools. That is a meaningful disclosure beyond the annotations. It does not mention that the call consumes credits or how get_cost/expected_credits gate billing, though the schema covers those, so it falls short of fully rich behavioral context.

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?

Three sentences, front-loaded with the core action and closed with the alternative tool. The first sentence is dense because it embeds the downstream render/rank pipeline in an em-dash clause, which momentarily reads as if this tool performs those steps before the next sentence corrects it.

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 seven-parameter planning tool with full schema coverage and no output schema, the description covers purpose, output shape per variant (headline + visual brief), execution boundary, and the sibling alternative. Nothing an agent needs to invoke it correctly is missing.

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 100%, so the baseline is 3; the description earns an increment by stressing that the count parameter must yield DISTINCT angles differing in hooks, mechanics and audience rather than cosmetic rewording. It adds no guidance on language, brand omission, or idempotency_key, which the schema already handles.

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 and output shape: fan a brief into N distinct ad angles with differing hooks/mechanics/audiences, each carrying a headline and visual brief. It explicitly bounds itself ('LLM planning only; renders nothing itself') and names the sibling that does the rendered batch job (make_static_ads), so an agent can pick between them 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?

It states both the when ('plan variations from a brief') and the alternative plus its selecting condition ('plan AND render a batch of finished static ads for one or several products in one call, up to 20 per product, use make_static_ads'). It also positions the downstream steps (generate_image for rendering, score_ad for ranking), which is actionable routing guidance.

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

Deploy Server

Other Tools