Skip to main content
Glama

create_search_campaign

Destructive

Create a Google Ads Search campaign, ad group, responsive search ad, and keywords in one atomic request. Requires at least 3 headlines and 2 descriptions.

Instructions

Create a Google Ads Search campaign with an ad group, responsive search ad, and keywords — all in one atomic request. IMPORTANT: You must supply at least 3 headlines (max 30 chars each) and at least 2 descriptions (max 90 chars each). Fewer than 3 headlines or fewer than 2 descriptions will cause the campaign to be rejected before any API call is made.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keywordsYesKeywords to target (phrase match). Provide at least 1.
final_urlYesLanding page URL
headlinesYesHeadlines for the responsive search ad. MINIMUM 3, maximum 15. Each must be 30 characters or fewer.
geo_targetsNoGeo target codes (e.g., '2840' for US, '2826' for UK)
daily_budgetYesDaily budget in USD
descriptionsYesDescriptions for the responsive search ad. MINIMUM 2, maximum 4. Each must be 90 characters or fewer.
campaign_nameYesName for the campaign
Behavior5/5

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

The description adds significant behavioral context beyond annotations, noting it's an atomic request and that validation happens client-side before API invocation. No contradiction with destructiveHint annotation.

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?

Two sentences: first clearly states purpose, second provides critical constraints. No unnecessary words or repetition.

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?

Lacks description of return value (e.g., campaign ID), but given the complexity (7 params, no output schema) and good annotations, it covers essential usage context. Missing return info is a minor gap.

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 100%, so baseline is 3. The description adds value by emphasizing headline/description constraints and atomicity, but doesn't describe every parameter's meaning beyond 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?

The description clearly states the verb 'Create' and the specific resource 'Google Ads Search campaign' with ad group, ad, and keywords, distinguishing it from sibling tools like create_display_campaign or create_meta_campaign.

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?

The description provides explicit constraints (at least 3 headlines, 2 descriptions) and implies usage for Search campaigns. However, it does not explicitly state when not to use this tool versus alternatives, though sibling names help differentiate.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jshorwitz/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server