Skip to main content
Glama

Google Ads & Meta Ads

Meta: Get Activity Log

meta_get_activity_log
Read-onlyIdempotent

Read the change history of the user's connected Meta ad account: which campaign, ad set, ad, budget, bid, status, targeting or audience changed, when, what the old and new values were, and who or which app made the change. Use it to explain a sudden change in delivery or spend. Filter by date range, category or one object id. Newest first, one page per call; pass after to continue.

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": "meta_get_activity_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNoCursor from a previous result's `after`.
limitNoRows per page, 1–500 (default 100).
sinceNoEarliest day to include, YYYY-MM-DD.
untilNoLatest day to include, YYYY-MM-DD.
categoryNoOnly changes of this kind.
object_idNoOnly changes to this campaign, ad set or ad id.
ad_account_idNoMeta ad account to read: act_ id or account name (from meta_list_ad_accounts). Pass it whenever the conversation is about a particular account; omitted, the only account or the stored default is used.

Output Schema

NameRequiredDescriptionDefault
afterNoCursor to pass as `after` for the next page, or null.
eventsYesChange events, newest first, as Meta returns them: event_time, event_type, translated_event_type, object_id, object_name, object_type, actor_name, application_name and extra_data (old and new values, as a JSON string).
hasMoreYesTrue when Meta has a further page for this request.
adAccountIdYesAd account the history belongs to.
pageSizeReducedNoPresent when Meta refused the page size asked for as too much data and this page was read at this smaller size instead; keep paging with `after`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, open-world behavior, so the bar is lower. The description still adds real operational context beyond them: newest-first ordering, one page per call, and the `after` cursor for continuation. It does not state rate limits or how far back history is retained, which keeps it off 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.

Conciseness5/5

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

Front-loaded with the resource and payload, then the use case, then filtering and paging in short clauses. Every sentence carries information; nothing is padded or restated from the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter, all-optional read-only tool with a full output schema, this covers what the agent needs: what changes are recorded, who made them, ordering, and pagination. Return-value formatting is properly left to the output schema, and account resolution is delegated to the ad_account_id schema text.

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 coverage is 100%, so every parameter's meaning is already documented, including the enum categories and the `after` cursor; baseline is therefore 3. The description restates the filtering axes (date range, category, object id) and the paging behavior but adds no syntax, defaults, or edge-case semantics beyond the 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?

Uses a specific verb and resource ("Read the change history of the user's connected Meta ad account") and enumerates exactly what is captured: campaign, ad set, ad, budget, bid, status, targeting, audience, old/new values, actor. It is clearly distinguishable from insight or delivery-issue siblings, which report current state rather than a change ledger.

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 a concrete use case ("Use it to explain a sudden change in delivery or spend") and tells the agent how to narrow scope via date range, category, or object id. It does not name an alternative tool for the case where the user wants current performance instead of history, so the exclusion side is left implicit.

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.

Resources