Skip to main content
Glama

Performance trend: what changed and why

performance_trend
Read-only

Compare recent and prior equal periods to find campaigns with shifted spend, conversions, or cost per conversion, pinpoint the change day, and match it to account changes logged around then.

Instructions

Plus and above (works on the demo account for anyone). What changed lately: the last days against the same length before, for the account or one campaign. Lists the campaigns that moved (spend, conversions, cost per conversion), the day each one shifted, budget- and rank-lost impression share before and after, and what was changed in the account around that day, from Google's change log (made anywhere: Google Ads, Camberstack, other tools, rules, auto-applied recommendations), and the day-by-day line. Use it for "why did conversions drop", "what changed this month", "is this campaign getting worse".

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": {
      "customer_id": "<customer_id>"
    },
    "name": "performance_trend"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoDays in each period, ending yesterday; compared with the same number of days before
campaign_idNoOnly this campaign (campaign_id from account_overview)
customer_idYesGoogle Ads customer ID, with or without dashes (from list_accounts)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.48.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered elsewhere. The description does add genuinely useful non-schema behavior — a Plus-tier entitlement (with a demo-account exception) and the fact that change-log data spans changes made anywhere, including other tools and auto-applied recommendations. It says nothing about latency, result volume, or what happens when no change matches a shift, which are the remaining behavioral unknowns.

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 the access requirement, then the comparison logic, then the returned fields, then the usage examples — a sensible order with no filler sentences. The middle sentence runs long by stacking four output types into one clause, which costs a little scannability, but every element listed is substantive.

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 only three simple parameters, a 100%-covered schema, and annotations covering safety, the description carries the remaining load well by describing the analysis outputs rather than return values. The gap is minor: with no output schema, it could say how many campaigns are listed or whether the day-by-day line is bounded, so an agent knows the result shape before calling.

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 100%, so every parameter is already documented, and the description's contribution is mostly restatement: "for the account or one campaign" simply mirrors campaign_id's optionality and "the last `days` against the same length before" repeats the days description nearly verbatim. Baseline 3 is the right ceiling here since no new syntax, defaults, or edge cases are added.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific capability with the comparison method named (last `days` vs. the same-length period before) and enumerates exactly what comes back: moved campaigns, the day of the shift, budget- and rank-lost impression share before/after, matching change-log entries, and a day-by-day line. It's clearly distinguishable from generic reporting siblings by its change-attribution angle, though it never explicitly names a sibling it should be preferred over.

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 three concrete triggering questions ("why did conversions drop", "what changed this month", "is this campaign getting worse") that map directly onto the tool's scope, so an agent can pattern-match an intent. It stops short of explicit exclusions — nothing says when to use change_history or account_overview instead, even though those cover overlapping ground.

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