Skip to main content
Glama

get_campaign_performance

Retrieve campaign performance metrics for a chosen date range and customer account, returning a summary with top rows while saving the full report to CSV.

Instructions

Get campaign performance metrics. Saves full report to CSV, returns summary + top rows.

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

Input Schema

NameRequiredDescriptionDefault
date_rangeNoDate range: LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH, etc.LAST_30_DAYS
campaign_idNoFilter to a specific campaign ID
customer_idNoGoogle Ads customer ID (no dashes). Uses active account if not provided.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.1

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose a genuinely useful behavioral trait beyond structured data: the full report is written to CSV while only a summary and top rows are returned, warning the agent about truncated output. It omits other relevant traits such as where the CSV is written, permissions/auth requirements, and any row limits or rate constraints.

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?

Two short sentences with no filler, and the core purpose is front-loaded before the side-effect note. It could be slightly tighter by quantifying 'top rows' rather than leaving the count vague.

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

Completeness3/5

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

An output schema exists, so return-value explanation is not required, and the CSV side effect is flagged. However, for a tool with zero annotations, the description leaves open how many rows are returned, where the CSV lands, and whether the CSV write happens on every call — gaps an agent would want covered before invoking.

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 each of the three parameters (date_range, campaign_id, customer_id) is already documented with defaults and formats. The description adds no further parameter meaning, which is acceptable given the baseline for fully covered schemas.

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?

Uses a specific verb and resource ('Get campaign performance metrics'), which cleanly separates it from sibling tools at other levels of granularity such as get_ad_group_performance and get_keyword_performance. It does not explicitly name those siblings, so the differentiation is inferred from the resource name rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus alternatives (e.g., account-level insights or ad-group-keyword breakdowns), nor any stated prerequisites. The only implied usage cue is the word 'campaign' in the tool name and description.

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

Deploy Server

Other Tools