Skip to main content
Glama

Opus Growth, Ad Platforms MCP Connector

Campaign Targeting

get_campaign_targeting
Read-onlyIdempotent

Reads a campaign's CURRENT targeting: location (geo), radius/proximity targeting (radius + units + lat/lng), language, device, and audience (user_list) criteria + negative (excluded) ones — plus the campaign's geo_target_type (PRESENCE = people physically in the area, vs PRESENCE_OR_INTEREST). If campaign_id is empty, all campaigns.

ad_group_id reads the AD GROUP's own criteria instead — location, language, audience and user list. This is the only way to see targeting on Demand Gen, where Google keeps geo, language and audience at ad group level, not on the campaign: for those campaigns the campaign-level read returns device criteria and nothing else, which made it impossible to verify what a Demand Gen campaign actually targets (measured on a live campaign that had 27 ad-group locations the campaign read could not see). Location values come back as geo IDs; pass one to geo_target_search to get its name. READ-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ad_group_idNo
campaign_idNo
customer_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added
  4. Removed
  5. Added
  6. Removed
  7. Added
  8. Removed
  9. Added
  10. Removed
  11. Added
  12. Removed
  13. Added
  14. Removed
  15. Added
  16. Removed
  17. Added
  18. Removed
  19. Added
  20. Removed
  21. Added
  22. Removed
  23. Added
  24. Removed
  25. Added
  26. Removed
  27. Added
  28. Removed
  29. Added
  30. Removed
  31. Added
  32. Removed
  33. Added
  34. Removed
  35. Added
  36. Removed
  37. Added
  38. Removed
  39. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotent/non-destructive, so the description's 'READ-only' is partly redundant, but it adds real behavioral context: the Demand Gen limitation where campaign-level reads return only device criteria, and that location values come back as geo IDs needing lookup. It stops short of describing pagination or throttling.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded and mostly efficient, but the parenthetical about 'measured on a live campaign that had 27 ad-group locations the campaign read could not see' is anecdotal padding that does not help the agent call the tool. The core operational facts would survive trimming.

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?

For a read tool with an output schema (so return shape needn't be documented) the description covers what is read, both scoping modes, and the Demand Gen edge case. Only customer_id semantics and any pagination/limits are unaddressed.

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?

With 0% schema description coverage the description must compensate, and it does for the two optional IDs: campaign_id empty means all campaigns and ad_group_id switches the read to ad group level. customer_id is not clarified, and the geo-ID output format is covered but not parameter typing, leaving a small gap.

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?

States a specific verb+resource: reads a campaign's current targeting, and enumerates the exact criteria returned (geo/radius/language/device/audience plus negatives) and the geo_target_type semantics. It also distinguishes the ad_group_id mode from the campaign-level mode, so an agent can separate it from siblings like set_campaign_targeting or manage_audience_targeting.

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?

Explicitly says when campaign_id is empty (all campaigns), when to use ad_group_id (ad group criteria; the only way on Demand Gen), and routes geo-ID resolution to geo_target_search. The when/when-not conditions are spelled out rather than implied.

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.