Skip to main content
Glama

Vertex gemini generate ad copy

vertex.gemini.generate_ad_copy
Read-onlyIdempotent

Generate multiple ad-copy variants from a product and audience brief using Gemini. Provide product and audience inputs to produce n alternatives for campaign testing.

Instructions

Build a structured brief and ask Gemini for n ad-copy variants. Incurs Vertex cost.

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>",
      "audience": "<audience>"
    },
    "name": "vertex.gemini.generate_ad_copy"
  }
}

Input Schema

NameRequiredDescriptionDefault
nNo
productYes
audienceYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.9/5.0
Behavior3/5

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

The annotations already cover safety (readOnlyHint=true, destructiveHint=false, idempotentHint=true, openWorldHint=true), so the description's main added value is the disclosure that calls incur Vertex cost, which is genuinely useful. It says nothing about latency, expected cost magnitude, whether variants are randomized, or that outputs vary between calls, which matters given the idempotentHint annotation on a generative tool.

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 short sentences, front-loaded with the action and followed by the cost caveat, with no filler. The brevity edges into under-specification rather than padding, which is the better failure mode but still leaves gaps.

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

Completeness2/5

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

An output schema exists so return values need no explanation, but with three parameters at 0% schema coverage and zero usage routing, an agent cannot confidently construct the brief or choose this tool over its Gemini siblings. For a cost-incurring generative call, the definition should say more.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry the load and it does not. It clarifies only 'n' as the number of variants; 'product' and 'audience' are never explained, and 'build a structured brief' hints at how they are used without specifying format, length, or constraints.

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?

The description names a specific verb and resource: it builds a brief from inputs and asks Gemini to produce n ad-copy variants. That is concrete enough to distinguish it from vertex.imagen.generate or vertex.veo.generate, though it never explicitly contrasts itself with the generic sibling vertex.gemini.generate.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all: nothing tells the agent when to pick this over vertex.gemini.generate or the creative.search_ads tool, and no prerequisites are stated. The only usage-adjacent statement is the cost warning, which is a constraint rather than 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