Skip to main content
Glama

get_campaign_performance

Read-only

Read performance for an account-timezone date range and its comparison period. cost is in currency_code; cost_micros is the raw value. A day with reported=false had no activity reported by Google. Custom ranges need both dates, 1-90 days, ending no later than today.

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": {
      "account": "<account>",
      "campaign_id": "<campaign_id>"
    },
    "name": "get_campaign_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNolast_7_days
accountYes
end_dateNo
start_dateNo
campaign_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds useful behavioral context beyond that: currency vs. micros cost semantics, the meaning of reported=false, and the constraints on custom ranges.

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?

The description is compact and front-loads the core operation before moving to field semantics and range constraints. Every sentence adds information, though the cost/currency clarification could be organized more tightly.

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?

With no output schema, the description is responsible for explaining return values. It partially does so by defining cost, cost_micros, and reported, but it does not describe the overall response shape or what performance metrics are returned, leaving the agent with an incomplete picture.

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 0%, so the description must carry parameter meaning. It clarifies start_date/end_date via the custom-range rules and the period preset behavior indirectly, but it does not explain the account object, campaign_id, or the individual preset values, leaving several of the five parameters under-specified.

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?

The description states a specific verb and resource — reading performance for a campaign over a date range and comparison period. It does not explicitly differentiate itself from siblings such as get_campaign, but the scope is clear enough for an agent to identify the operation.

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

Usage Guidelines3/5

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

Usage is implied by the date-range and comparison-period framing, and the custom-range constraints (both dates, 1–90 days, ending no later than today) give practical guidance. However, there is no explicit when-to-use guidance or naming of alternatives for retrieving campaign-level versus other performance data.

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