Skip to main content
Glama

get_publisher_report_by_campaign

[Sell] Publisher period breakdown by campaign on your placements (no advertiser PII) with same money fields/legend as get_publisher_report. Optional campaign_id. period=daily|weekly|monthly|range.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNoYYYY-MM-DD inclusive -- range mode
dateNoYYYY-MM-DD -- daily mode
monthNoYYYY-MM -- monthly mode
startNoYYYY-MM-DD inclusive -- range mode
periodYesReporting window mode
week_startNoYYYY-MM-DD Monday -- weekly mode
campaign_idNoOptional campaign filter (must be on your placements).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / date / description
      Previous value: -"YYYY-MM-DD — daily mode"New value: +"YYYY-MM-DD -- daily mode"
    • changedInput schema / properties / end / description
      Previous value: -"YYYY-MM-DD inclusive — range mode"New value: +"YYYY-MM-DD inclusive -- range mode"
    • changedInput schema / properties / month / description
      Previous value: -"YYYY-MM — monthly mode"New value: +"YYYY-MM -- monthly mode"
    • changedInput schema / properties / start / description
      Previous value: -"YYYY-MM-DD inclusive — range mode"New value: +"YYYY-MM-DD inclusive -- range mode"
    • changedInput schema / properties / week_start / description
      Previous value: -"YYYY-MM-DD Monday — weekly mode"New value: +"YYYY-MM-DD Monday -- weekly mode"
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses that the report excludes advertiser PII and matches the money fields/legend of get_publisher_report, which adds valuable behavioral context. However, it does not explicitly state read-only semantics, authentication, or rate limits, but 'report' implies a safe read operation.

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?

A single sentence that packs in the tool's purpose, scope, and relation to another tool, without fluff. The [Sell] tag provides additional context and the sentence is front-loaded with the core functionality.

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?

The description references get_publisher_report for field details, which is helpful but requires the agent to know that tool. The schema fully documents parameters, and the description gives enough context for a report tool. However, the lack of an output schema means the agent must rely on the referenced tool for response structure.

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% for all 7 parameters, so the baseline is 3. The description adds minimal extra meaning beyond the schema, such as the optional nature of campaign_id and the period enum, which are already present. The note that campaign_id 'must be on your placements' is a minor enhancement.

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?

The description clearly states it provides a 'Publisher period breakdown by campaign on your placements' and distinguishes itself from sibling tools like get_publisher_report_by_placement via the 'by campaign' qualifier and reference to 'same money fields/legend as get_publisher_report'.

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?

The description implies usage for campaign-level publisher reporting with an optional campaign_id filter and notes the absence of advertiser PII. It gives clear context but does not explicitly mention alternatives or when-not-to-use, though the name and reference to get_publisher_report provide a clear use case.

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.