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

google-ad-manager-mcp

by Jakob-Peters

gam_change_history

Read-onlyIdempotent

Retrieve Google Ad Manager change-history rows for a required date range to audit who created, updated, or deleted entities and when; filter by user, entity type, or entity ID.

Instructions

MODE: read-only. UI: Admin → Change history. Who changed what, when: GAM's change log (PQL Change_History) — entity type/id, CREATE/UPDATE/DELETE, timestamp, user. Both date bounds are REQUIRED (the table refuses open-ended scans). Newest first; page with before_id (no offset support in this table). User names resolved when available; entity names resolved for LINE_ITEM/AD_UNIT/PLACEMENT (other types return ids — look them up with their find/get tools). OUTPUT: change rows. WHEN TO USE: 'who paused this line item', 'what changed on order X this week', audit questions. NOTE: the log records THAT an entity changed, not field-level diffs.

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": {
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "gam_change_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoDefault 50, max 500.
user_idNoOnly changes made by this user (gam_users for ids).
end_dateYesInclusive, network TZ (required).
before_idNoPagination: the `nextBeforeId` from the previous page (returns strictly older changes).
entity_idNoOnly changes to this entity (pair with entity_type).
start_dateYesInclusive, network TZ (required).
entity_typeNoOnly changes to this entity type.
network_codeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower, yet the description still adds real behavior: both date bounds are mandatory because the table refuses open-ended scans, ordering is newest-first, and pagination is cursor-based via before_id with no offset support. It also discloses per-entity name resolution (LINE_ITEM/AD_UNIT/PLACEMENT resolved, others return raw ids) and the semantic limit that no field-level diffs exist.

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?

Dense but deliberately structured with labeled segments (MODE, UI, OUTPUT, WHEN TO USE, NOTE) and the scoping constraint is front-loaded. Telegraphic phrasing is used without wasting a sentence, and every line carries operational information.

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 an 8-parameter read tool with no output schema, the description covers required bounds, ordering, pagination, name-resolution caveats, and a rough row shape (entity, action, timestamp, user). Slightly more on the exact returned row fields would fully close the gap left by the absent output schema.

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 88%, so the baseline is 3; the description adds meaning beyond it by explaining why start_date/end_date are required (table rejects open-ended scans) and by tying before_id to cursor paging with no offset alternative. It does not add interpretation for entity_id/entity_type pairing or user_id beyond what the schema already says.

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 ("GAM's change log (PQL Change_History)") and enumerates the returned fields (entity type/id, CREATE/UPDATE/DELETE, timestamp, user). No sibling tool covers audit/change history, so the agent can distinguish it from find/get/diagnose tools on name and description alone.

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?

Gives concrete trigger questions ("who paused this line item", "what changed on order X this week") and audit use cases, plus a boundary note that the log records THAT an entity changed rather than field-level diffs. It also routes id resolution to find/get tools, though it does not name a specific alternative for adjacent questions like diagnosing delivery.

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