Skip to main content
Glama
google-ad-manager-mcp

google-ad-manager-mcp

by Jakob-Peters

gam_audience_segments

Read-onlyIdempotent

List and search Google Ad Manager audience segments to resolve segment names to IDs for audience-targeted forecasts, and audit active, inactive, or unused segments.

Instructions

MODE: read-only. UI: Signals → Audience. List/search audience segments: id, name, status, segmentType (FIRST_PARTY/THIRD_PARTY), data provider, and sizes (total/mobileWeb/idfa/adId/ppid). OUTPUT: segment rows; ids (8+ digits) feed forecast audience_segment_ids. WHEN TO USE: resolving segment names→ids before audience-targeted forecasts — never guess segment ids.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "gam_audience_segments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoDefault 50.
searchNoSubstring match on segment display name.
statusNoUNUSED = defined but not referenced by any line item — the value to ask for when auditing dead segments.
page_tokenNoContinue a previous listing.
network_codeNo
segment_typeNoSHARED = shared into this network by another network.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so 'MODE: read-only' adds nothing. What does add value beyond the structured fields is the disclosure of the output shape (segment rows with the listed fields), the id format constraint (8+ digits), and the UI breadcrumb (Signals → Audience) that helps an agent locate the resource. Pagination or rate-limit behavior is not covered, keeping it below a 5.

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?

The description is front-loaded with mode and UI location, then fields, output, and usage, which is a sensible order for scanning. It is dense but nearly every clause carries information; the markdown scaffolding and the repetition of the read-only mode already in annotations are the small bits of waste.

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?

With no output schema, the description correctly supplies the return shape and the id constraint an agent needs to chain into forecasting, and it covers the status/segment_type enums indirectly through the schema. The one gap is network_code, which is undocumented in both the schema and the description, leaving an agent guessing whether it is required for multi-network access.

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

Parameters3/5

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

Schema description coverage is 83%, with the schema itself explaining the non-obvious enum meanings (UNUSED for auditing dead segments, SHARED for cross-network sharing), so the baseline of 3 applies. The description adds only the id-format note and the returned-field list; it says nothing about limit defaults, substring search behavior, or page_token continuation beyond what the schema already states.

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 and resource ('List/search audience segments') and enumerates the fields returned (id, name, status, segmentType, data provider, sizes). It also positions the tool against the forecast siblings by explaining that the ids it returns feed forecast audience_segment_ids, so an agent can tell what it does and where it sits in a workflow.

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?

'WHEN TO USE: resolving segment names→ids before audience-targeted forecasts' gives an explicit trigger condition, and 'never guess segment ids' is a clear prohibition that steers the agent to call this tool rather than inventing identifiers. The alternative path (forecast tools taking audience_segment_ids) is named, leaving little to inference.

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