Skip to main content
Glama

Generate ad copy

generate_ad_copy
DestructiveIdempotent

Generate Google/Meta ad copy for your project. Costs 2 shared credits and requires the existing paid plan. Does not launch campaigns. Returns awaiting_confirmation and an approval_url: the owner must approve these exact parameters in Cormak, then retry with the SAME request_id. No work starts before approval. Reuse request_id on retries.

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": {
      "request_id": "<request_id>",
      "project_id": "<project_id>"
    },
    "name": "generate_ad_copy"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes
request_idYesStable UUID for this exact operation. Reuse on retries. Never change it to retry an unknown result.

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?

Adds substantial behavior beyond the annotations: credit cost, plan requirement, the approval gate ('No work starts before approval'), the fail-closed return values (awaiting_confirmation, approval_url), and idempotent retry semantics. What is missing is any statement about failure modes or how credits are charged when approval is declined.

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?

Front-loads what the tool does and the cost, then layers the approval flow and retry rule in short declarative sentences. No filler, and the most consequential constraint (approval before work) is stated plainly.

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?

No output schema exists, yet the description names the two return fields an agent must act on and explains the human approval step in Cormak. The only remaining gap is the semantics of project_id, which is minor for an otherwise fully specified flow.

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 coverage is 50%, so the description must carry weight and largely does: request_id is explained as a stable UUID that must be reused on retries and never changed. project_id is only implied ('your project') and its UUID format is left to the schema.

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?

Names a specific verb and resource ('Generate Google/Meta ad copy for your project') and immediately bounds scope with 'Does not launch campaigns,' so an agent can distinguish it from campaign-management tools 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 Guidelines4/5

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

Gives explicit preconditions (paid plan, 2 shared credits), an explicit exclusion (no campaign launch), and a precise retry procedure with the same request_id. It does not name sibling generation tools or say when to prefer them, so the when-to-use guidance is strong but not complete on alternatives.

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.