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

google-ad-manager-mcp

by Jakob-Peters

gam_ad_rules

Read-onlyIdempotent

Inspect video ad rules and ad spots to audit break configuration, pod impression caps, break positions, and allowed ad durations.

Instructions

MODE: read-only. UI: Video → Ad rules. How video ad breaks are configured. kind=rules lists ad rules (status, priority, flight, frequency-cap behavior, per-stream and per-pod impression caps, and which break positions are configured — preroll / midrolls / postroll); kind=spots lists AD SPOTS (break templates: max ads, min/max ad duration, total duration, flexible/custom flags, allowed line item types, backfill and inventory-sharing blocks). OUTPUT: rule or spot rows. WHEN TO USE: video demand setup questions — 'how many ads are allowed in a break', 'which rule applies here', pod/break configuration audits.

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_ad_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoDefault rules.
limitNoDefault 50.
searchNoSubstring match on the display name.
statusNokind=rules: exact status filter, e.g. ACTIVE.
page_tokenNoContinue a previous listing.
network_codeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent and non-destructive; the description's 'MODE: read-only' merely restates that. It does add real substance by describing the row contents for each kind and identifying which break positions are reported, but it says nothing about pagination behavior or row volume limits beyond the schema defaults.

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?

Front-loads mode and purpose, then mode semantics, then output, then use cases — a sensible order. Slightly dense with bold markup and the UI breadcrumb, which is a small but justified navigational aid rather than filler.

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?

There is no output schema, so the description carries the burden of describing returns and does so reasonably well via 'OUTPUT: rule or spot rows' plus per-kind field inventories. It leaves minor gaps, such as whether the status filter is meaningful for kind=spots and how paging behaves in practice.

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 83%, so the baseline is 3; the description earns above that by explaining what the enum values actually return (rules = priority/flight/frequency caps; spots = break templates with duration and backfill blocks), which the terse 'Default rules.' enum label does not.

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 the resource precisely (video ad-break configuration: ad rules and ad spots) and enumerates the two modes with the concrete fields each returns. An agent can tell this apart from ad-unit or line-item tools without opening the 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?

The WHEN TO USE block gives concrete question shapes ('how many ads are allowed in a break', pod/break configuration audits), which is strong positive guidance. It does not name a sibling alternative or state when-not-to-use, so it stops short of a 5.

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